cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
introlab
Visitor
Visitor
1,380 Views
Registered: ‎05-01-2012

SDK CAN IP Core - Controller Area Network

Hi, I'm using a microblaze on a sp605 board and I'm trying to use a Controller Area Network IP Core in SDK. I've started my project with xcan_polled_example.c and when I'm trying to set the driver in NORMAL mode, it always stays in configuration mode. I'm using the same function used to enter the loopback mode and the code correctly writes the good values to the SRR and the MSR registers to enter the NORMAL mode. However, when I read the the SR (Status Register), the value doesn't update and always indicate that I'm in configuration mode. Anyone has any idea why my driver doesn't want to change his mode? Should any other function be called if I want to change mode?

 

Thank you!

0 Kudos
0 Replies