Hi,
We are trying to bring up CAN interface in our custom board with TCAN4550 chip.
So far, we are able to succesfully read the device ID register over SPI from the processor.
We are facing issues in sending and receiving CAN messages.
- We have connected CAN interfaces of two of our custom boards together to test CAN send and receive.
- We are using DemoCode Init_CAN and tx_write CAN message code on our linux driver.
- From one device config TCAN4x5x_MCAN_WriteTXBuffer 0 & 1 .. send
TCAN4x5x_MCAN_TransmitBufferContents(1); // Request that TX Buffer 1 be transmitteD
TCAN4x5x_MCAN_TransmitBufferContents(0); // Now we can send the TX FIFO element 0 data that we had queued up earlier but didn't send.
- CAN message is been transmitted continuously
- On the other device, we read using below code in linux (e2e.ti.com/.../882873)
- We are not receiving data on the other board.
Please let us know if we are missing anything here and let us know if you need more details.
Thanks,
Naveen