cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jalalba
Visitor
Visitor
401 Views
Registered: ‎10-21-2020

problem with BRPR and BTR registers in CAN V3.2 core

Hi
I'm use a CAN V3.2 core.
when I'm in config mode,write in the BPRP (0x008) and BTR (0x00c) registers then read these.
I'm see value of these registers equal to 0. where is the problem؟

my state is:

1-config mode: write X"00000000" to SSR register  (0x00 )

2-set prescaler value: write x"00000001" to BPRP register (0x008)

3-set bit timing register : write x"00000027" to BTR register (0x00c)

4-read BPRP register (0x008)   brp=x"00000000" !!!!???

5- read BTR register(0x00c)  btr = X"00000000" !!!???

Tags (4)
0 Kudos
1 Reply
venui
Moderator
Moderator
243 Views
Registered: ‎04-09-2019

Hi,

Can you please let me know which device are you using and possible please share your source code?

Regards,

Venu

0 Kudos