Firmware to test the CAN-BUS operation with CANALL_V2 STM32F103C8 based boards
- Free Tool chain
- Use no HAL libraries
- Initialise everything directly to register level
- Traffic to CAN-BUS only when event happens
- No HOST, only nodes
- canALL_V2 boards connected on CAN-BUS network
- Atollic TrueSTUDIO®/STM32 Lite, Built on Eclipse, Version: 2.0.1 Lite, Build id: 20110128-1032
- Send to CAN only when an input is changed
- All Receiving boards transmit to UART, so CAN-BUS can be monitored on PC Terminal Emulator
Atollic IDE was free when this project was created
Baud 115200, 8bit, No Parity, 1 Stop bit
Adjust line width to 165 chars, to contail a single transaction message
One terminal line displays a CAN transaction
At any input change:
- change is transmitted to CAN
- Overall STATUS of the board is transmitted to UART Osilloscope:
- Blue Channel is CAN-BUS
- Purple Channel is UART-TX
connects:
- ST-LINK to board
- UART to RS232 level translator board and then to PC serial port
Custom ST-Link and UART adapter connected to ST-LINK
Custom ST-Link and UART adapter detail