cancel
Showing results for 
Search instead for 
Did you mean: 

SPC5 CAN interface

Rmilko
Associate

Hello I'm trying to run SPC582B60 can interface. I tried if CAN_TX pin is properly set, switching it by TEST register and it works. But to get rid of all hardware problems I set can port into the loop mode. Filters are set to accept everything. I send some data and I should receive them (no matter if baud rate is set to 500 or 134,56kbytes/s). Data are put to the can ram selected in appropriate registers but there is happening nothing - nothing changes but the timer register value: neither the fifo nor the interrupts. I think the problem may be in bit CCCR.ASM which is permanent set. I can't reset it with any method. Can register values, filter definitions in memory and message I'm trying to send visible on pictures. What I'm doing wrong? What to do to exit Restricted Operation Mode?
_legacyfs_online_stmicro_images_0693W00000bhrNRQAY.png
_legacyfs_online_stmicro_images_0693W00000bhrPXQAY.png
_legacyfs_online_stmicro_images_0693W00000bhrQQQAY.png

0 REPLIES 0