Thangapandeeswari Pandian
2003-08-07 08:51:15 UTC
Hi,
I am working on CAN driver . i am getting Error Frames continously in CAN analyer while i am trying to transmit some message. i would like to know about my nit timimg calculation is correct.
Baud rate - 83.33 kbits/ sec.
System clock - 18.43MHz.
Nomianl Bit time is 16 tq (12 micro second)
location of sample point - 14 tq
Sync seg - 1tq
prop seg - 7 tq
phase seg - 4 tq
phase seg - 4tq
TSEG1 - 11 tq
TSEG2 - 4tq
SJW - 4 tq
I have calculated the BRP value using this formula
Baud rate = system clock / 2(BRP+1)(3+TSEG1 +TSEG2)
BRP = 6;
In can analzer, i have set the BAUD rate is 83.33 Kbits / sec and loaded the bit timing register value with C5 and 3A. I have chosen the sampling point at 75 %. Could ue help me why i am getting Error Frames.
Regards,
Eswari.
**************************Disclaimer************************************
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged' and 'confidential' and intended for use only by the individual
or entity to which it is addressed. You are notified that any use, copying
or dissemination of the information contained in the E-MAIL in any manner
whatsoever is strictly prohibited.
***************************************************************************
I am working on CAN driver . i am getting Error Frames continously in CAN analyer while i am trying to transmit some message. i would like to know about my nit timimg calculation is correct.
Baud rate - 83.33 kbits/ sec.
System clock - 18.43MHz.
Nomianl Bit time is 16 tq (12 micro second)
location of sample point - 14 tq
Sync seg - 1tq
prop seg - 7 tq
phase seg - 4 tq
phase seg - 4tq
TSEG1 - 11 tq
TSEG2 - 4tq
SJW - 4 tq
I have calculated the BRP value using this formula
Baud rate = system clock / 2(BRP+1)(3+TSEG1 +TSEG2)
BRP = 6;
In can analzer, i have set the BAUD rate is 83.33 Kbits / sec and loaded the bit timing register value with C5 and 3A. I have chosen the sampling point at 75 %. Could ue help me why i am getting Error Frames.
Regards,
Eswari.
**************************Disclaimer************************************
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged' and 'confidential' and intended for use only by the individual
or entity to which it is addressed. You are notified that any use, copying
or dissemination of the information contained in the E-MAIL in any manner
whatsoever is strictly prohibited.
***************************************************************************