[quote userid="2273" url="~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1424602/tms320f28p650dk-how-the-mcan-recovers-from-a-can-bus-off-status/5464219#5464219"]where do I find the function CanCancelPendingMsg()? It does not seem to be included in C2000Ware 5.x.[/quote] Just noticed that the MCAN driver in C2xWare doesn't have this function. You can write "1" to corresponding bit of TXBCR register to cancel the pending TX buffer.
↧