Other Parts Discussed in Thread: HALCOGEN
Hi,
I have a RM57L843, I need to communicate to a CANOpen device at 20Kbit/s.
I have a very strange problem with the baud rate prescaler.
- Crystal Oscillator is 16MHz, verified by a scope.
- VLCKA1 src is set to OSC and therefore VCLKA1 is 16MHz
- BRP+1 is 50 calculated as 16Mhz / 50
- Tq therefore = 3.125uS
- I have a simple setup of 10Tq with SWJ = 1, PROP = 1, T1 =4, T2 = 4
- I have compared all these values with the register settings.
I transmit a message from the RM57 and I'm measuring the SOF (Start of Frame) bit with a scope. The SOF bit is low for 93.75uS (It should be 31.25uS!!).
Can anyone advise how or where a factor of 3x comes from in the clocking scheme?. I'm totally lost as to explain this behaviour.
Thanks
Stomp!