Other Parts Discussed in Thread: HALCOGEN,
After fix the Transiver problem, I meet new strange problem with TMS570LS1224 Launchpad. with Halcogen, only config one transmit message box.
then at the main function, I alway send the message with canTransmit. but after successful transmit several times(sometimes 6 successful send out, sometimes 15 and so on), it can not send out.
canInit();
/* transmit on can1 */
while(1)
{
int n = 0;
{
int n = 0;
for(n=0;n<10000;n++)
{
{
}
canTransmit(canREG1, canMESSAGE_BOX1, tx_data);
}
I step in canTransmit function, find program will return 0 at the follow. I want to know how to analyze the issue and find the root cause.
/** - Check for pending message:
* - pending message, return 0
* - no pending message, start new transmission
*/
if ((node->TXRQx[regIndex] & bitIndex) != 0U)
{
success = 0U;
}
* - pending message, return 0
* - no pending message, start new transmission
*/
if ((node->TXRQx[regIndex] & bitIndex) != 0U)
{
success = 0U;
}
best regards
Fred