This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Communication in CAN in 1 MHz in 250Khz

Hi all,

I try to communicate with the can periphral,
in 8 MHz MCK with CAN baudrate 250kbit/s, I have no problem but when I go to 1 MHz have problem.

In the data sheets wrote th calculation and it's explain why it's doesn't works, but my question is, there is any solution for this problem?

continue with CAN Baud rate 250 Kbit/s, bt go down to 1 MHZ Master Clock.

Thanks all.

Parents
  • Is there a reason why you didn't find it important to tell what processor you are using?

    But CAN is not much different from a normal UART. The CAN controller samples each bit multiple times, which means that the CAN controller needs a clock frequency significantly higher than the configured baudrate. It isn't enough to only have a factor 4 - the CAN controller wants to know the number of clock cycles before and after the sampling and if the bit should be sampled multiple times.

Reply
  • Is there a reason why you didn't find it important to tell what processor you are using?

    But CAN is not much different from a normal UART. The CAN controller samples each bit multiple times, which means that the CAN controller needs a clock frequency significantly higher than the configured baudrate. It isn't enough to only have a factor 4 - the CAN controller wants to know the number of clock cycles before and after the sampling and if the bit should be sampled multiple times.

Children