6 Commits

Author SHA1 Message Date
Uwe Hermann
571c4d37d0 CAN: Reduce nesting level via code transformations. 2010-12-26 00:36:32 +01:00
Uwe Hermann
06d1a5ca80 CAN: Cosmetics and coding-style fixes. 2010-12-26 00:30:05 +01:00
Piotr Esden-Tempski
e7d765ea90 Factored out CAN helper functions out of the example. Test code now also uses the received data. 2010-12-25 20:39:46 +01:00
Piotr Esden-Tempski
c6e86901e8 Fixed timing settings. Now CAN test code works!!! 2010-12-23 21:53:02 +01:00
Piotr Esden-Tempski
1471b6d297 Various fixes to the can test program.
- External Clock is 8Mhz not 16Mhz
- CAN peripherial should be deinitialized at the beginning
- Added can receive interrupt handler
- Added some more led indicators of internal state (error reporting)
  - Orange: send indicator
  - Blue: message queue full indicator
  - Red: INACK failure indicator
2010-12-23 02:04:07 +01:00
Piotr Esden-Tempski
3c12fc6cd3 Initial implementation of CAN test program. 2010-12-22 22:57:25 +01:00