hi
Is there any library available for CAN j1939 for MC9S12XHZ512 controller.Th library should contain all the CAN J1939 protcol stack including DM1,DM2 and BAM message handling.
Actually ,I am working on MC9S12XHZ512 controller and implementing CAN on it. But I am facing some problem in DM1 and BAM(Broadcast Announce message) implemntation.
Can anyone tell me if there is some CAN library available or not?
Also,transmission of data on CAN should be on interrupt basis or not?
Thnaks in advance
SARY
Yes, I am a user, on a DZ60, which also contains MSCAN hardware. He has ports to many platforms. The J1939 stack is very sufficient. After you call j1939_init( void ) the stack will call j1939app_process( j1939_t *msg ) with every non-network-management packet received. Network management (-81 stuff) is handled by the stack by your periodic calls to j1939_update( void ). Overhead is very low.