Hi,
I am looking for AM335x Starterware DCAN example to receive the DCAN packets. I looked into dcanLpBK example but could not figure out where the DCAN packet is received?. The can_frame structure holds the int pointer to data but it doesn't point anywhere!
I understand the sequence of DCAN receive is as follows.
DCAN clock configuration
Pin mux configuration
Msg RAM initialization
Interrupt initialization and registration
ConfigureDCAN
Invalidate All msg objects
canMsgObjectConfig for Receive
Start DCAN comminucation
Enable Interrupts (Int 0 and parity interrupt)
At this point i believe the buffer pointed to by dcan_frame structure data pointer should be filled with the Rx data.
I initialized the dcan_frame pointer to int buffer and tried this sequence, but i am not able to see any data received! (I'm sending CAN packets from RS232 to CAN converter connected to AM335x EVM)
Please suggest.