2018-03-07 12:14 AM
I'm using SPC574K72E5 for CAN application, so I create a demo project SPC574Kxx_RLA CAN Test Application for Discovery and get nothing on CAN output. I have already choose the NO_LOOPBACK mode and select RX/TX pin in the pin map but the programe have problem at
returnvalue = can_lld_transmit(&CAND2, CAN_ANY_TXBUFFER, &txf);
returnvalue is always CAN_MSG_WAIT.
2018-03-07 05:47 AM
Hello Huang ,
This message means that there is no txbuffer available.
/*if txbuffer value is not assigned No tx buffer available */
if (txbuffer == 0xFFU) {
return CAN_MSG_WAIT;
}�?�?�?�?
Have you configured correctly the CAN drivers ?
Check the TX Buffer
Best regards
Erwan
2018-03-09 12:33 AM
I use the Demo Project, the configuration should be right. And
can_lld_transmit function can be excuted once, the next time it returns
CAN_MSG_WAIT.
2018-03-20 08:24 PM
did u add delay between CAN transmit? is there any receiver CAN node on bus.
2018-04-03 11:18 PM
I found the same issue, I guess it is a bug.
I add received node on bus ,not data show on CAN buss.
another question is:
SPC5Studio 5.7.2 dont support k2 CAN FD ,(8 bytes or 64 bytes)