This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IWR6843: Receiving CAN data not working

Part Number: IWR6843

Hi,

I'm using the can-fd driver to send and receive CAN classic frames in the mmwave demo. Tx is working fine, but if there are any incoming CAN frames the program stops working and I have to power cycle the chip. I'm trying to eventually send the configuration commands via CAN. But for now I'm just trying to see if I can even print can frames with CLI_write. The driver is configured using the parameters from the document www.ti.com/.../spracf7.pdf, do I need to change some parameters? I've tried just calling CLI_write in the MCANAppCallback to print rxData to cli, which obviously didn't work. I also tried setting a flag in the callback and then calling CLI_write in another task without success.  Do I need to create a task that monitors gRxPkts and processes them as they arrive? I can't seem to find a can rx example.


Thanks,

Lachie