cancel
Showing results for 
Search instead for 
Did you mean: 

CAN id incorrect

PRODNAV
Associate

I have a STM32G474 mcu that i am learning to program. I have the CANBUS tx on PA12 working by loopback mode. I have connected my logic analyzer and i receive the data correctly.

There is only one thing wrong: The ID has bit1 that keeps being set to 1. So if i would give the adress

0x200 (0b0010 0000 0000) it outputs 0b0110 0000 0000)

0x100 (0b0001 0000 0000) it outputs 0b0101 0000 0000)

 

Anyone with idea's how this is possible?

Thanks!

10 REPLIES 10

I have done both a loopback program and a normal mode program. Both show the same ID fault. I have created a totally new project. That one does work now without the issue.

 

Thanks all.