If anyone has worked with the CAN MCP25625 chip in the past I would like to know if in the loop back mode if we load and send data on the TXB0 buffer are we supposed to receive a RXB0 buffer ready and filled with data in the TXB0 buffer?
If yes, following are the steps that I am doing, 1) Send MCP25625 to LOOPBACK MODE by setting the bits 7:5 for sequence 010, given in the datasheet. I reverify by checking up the CAN Status bits and the bits 7:5 show me a 010. 2) After I successfully load and send the data onto TXB0, I don't receive a message ready signal which is why I am unable to check the RXB0 buffer. On force checking it I find that the data is junk i.e. the LoopBack functionality did not perform.
Does anyone have an insight on what else I should check to debug this? Has anyone run into trouble with this earlier.
Additional information: The way I am checking this is with the USB MCP2210 SPI behaving as master and using that to drive the MCP 25625 slave device.