Lin auto baud rate not working for all baud rate in example projects.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I am using CY8CKIT-044 for development purpose .

When i  tested the lin slave example by putting a break point at frame id read state , it was hitting every time when i send the frame at 19200 , 14400,10400 baud rates .

However when i reduced to 9600 baud rate it stopped hitting break point .According auto baud generation it should work for all baud rates but this is not happening .

The only change i have done in example project is setting baud rate to 19200 before it was 9600 when opened first time .

pastedImage_3.png  

0 Likes
3 Replies
harshadap_76
Employee
Employee
First like received

Hi Alok,

We would need following information:

1. Are you using CY8CKIT-26 with above kit?

2. What are the clock settings you have in your cydwr?

3. Can you fix the baud rate at 9600 and probe the Tx Rx lines?

Could you please update us on above ?

Please feel free to update for any clarification.

Regards

Harshada

0 Likes
Anonymous
Not applicable

I am not using CY8CKIT-26 , i am using TJA1020 as transciever .

My clock setting are default as come with example project .

In 9600 baud rate it works only when i send data at 9600 baud rate .

Below is snapshot of clock setting .

pastedImage_0.png

pastedImage_1.png

pastedImage_2.png

0 Likes
Anonymous
Not applicable

I am using this example project .

P4_SCB_LIN_Slave_Example.

pastedImage_0.png

0 Likes