Search found 1 match
- Wed Sep 23, 2015 7:26 am
- Forum: DIY GPIO Code
- Topic: how to use CAN message type MSG_CMD?
- Replies: 2
- Views: 71760
Re: how to use CAN message type MSG_CMD?
I believe your problem is that you are not setting the 8 bytes into can[1].cx_datbuf[can[1].cxno_in][ix] where ix = 0 to 7. After send_can you end up in the CanTxIsr interrupt routine and it is correctly sending the header values to the CAN bus, but it is filling the CAN bus data registers ...