Part Number: RM48L952
Other Parts Discussed in Thread: HALCOGEN
Tool/software: Code Composer Studio
the used IDE is CCS 6.2 for Hercules,the CAN communication Driver is generated by HALcogen。
i send 128 package of 10byte once,and call the canTransmit() one in the main program ,and other 127 packages tramnit in the can interrupt notification。i use the messagebox1 for trasmit 。
somtimes in canTransmit() function the return values is 0, see the picture below :
but the TxOK bit in the ErrStat is 1 , and no other can bus errs. the cantramsit ()is in the main program . when this appears , i try to call the canTransmit() in a while loop,but nothing works.
my question is why there is pending message ? what flags should i check to ensure the err free can transmition?
