Associate III
October 23, 2021
Solved
STM32F730 CAN LOOPBACK - not receiving
- October 23, 2021
- 2 replies
- 1352 views
i'm using STM32F730 and trying to use CAN in LOOPBACK mode.
i'm using HAL_CAN for programming and STM32MXcube for configuration purpose.
The transmission is successful (TXOK0=1 and RQCP0=1) but i'm unable to observe any activity in receiver FIFO.
i have attached my code.
i have not configured any filters till now, as i'dont want to use them. is it necessary to configure them for receiver purpose.
plz guide me where i'm wrong. is there any problem with my bit timing. i have used 120ohm resistor at transreciever end.
if i switch to normal mode it results in TXOK0=0 and TERR0=1 and acknowledgement error code (03).
plz guide me, i'm stuck here with no breakthrough.
