manumohan
2008-04-22 07:10:07 UTC
Hi,
im facing a protocol implementation problem for J1939 which is specified in
SAE I N T E R N A T I O N A L SURFACE VEHICLE RECOMMENDED PRACTICE ( J1939-21 ) REV APR 2001 for SAE J1939 Data Link Layer Implementation section 5.10.3.5 and
5.10.4 in which i have to implement a CAN Message with 2 Periodicities.i.e I have to send a Broadcast Announce Message(BAM) with 5 sec periodicity which will be an announcement for the Nodes that a Multiframe message(Message with 24 bytes) which consisit of 3 frames
coming at 100 ms periodicity.i.e
1.bam messagecoming at 5000ms
2.Tpdt frame follwed by bam at 5100 ms
3.Same tpdt with different data at 5200ms
4.One more tpdt at 5300ms
5.tpdt's transmition is interrupted till next bam coming at 10300ms then the tpdt cycle proceeds.
The above mentioned cycle is required to initialise some of the Nodes in a network of ECU's.
so i cannot initialise tpdt with fixed periodicity and data content.
Currently Channel api is used for the application to implment CAN.
My question is:
1.is it possible to implement the same with frame API's?
2.How can i modify the channel api to implement the same ?
Thax and Regards
Manu Mohan
im facing a protocol implementation problem for J1939 which is specified in
SAE I N T E R N A T I O N A L SURFACE VEHICLE RECOMMENDED PRACTICE ( J1939-21 ) REV APR 2001 for SAE J1939 Data Link Layer Implementation section 5.10.3.5 and
5.10.4 in which i have to implement a CAN Message with 2 Periodicities.i.e I have to send a Broadcast Announce Message(BAM) with 5 sec periodicity which will be an announcement for the Nodes that a Multiframe message(Message with 24 bytes) which consisit of 3 frames
coming at 100 ms periodicity.i.e
1.bam messagecoming at 5000ms
2.Tpdt frame follwed by bam at 5100 ms
3.Same tpdt with different data at 5200ms
4.One more tpdt at 5300ms
5.tpdt's transmition is interrupted till next bam coming at 10300ms then the tpdt cycle proceeds.
The above mentioned cycle is required to initialise some of the Nodes in a network of ECU's.
so i cannot initialise tpdt with fixed periodicity and data content.
Currently Channel api is used for the application to implment CAN.
My question is:
1.is it possible to implement the same with frame API's?
2.How can i modify the channel api to implement the same ?
Thax and Regards
Manu Mohan