lpcware

CAN baudrate settings

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Linas on Thu Oct 04 06:08:31 MST 2012
Hello,

I am trying to configure CAN on the LPC1769. I am using LPCxpresso board and attached SN65HVD23 (CAN transceiver).

External oscillator for CPU clock is 12 MHz.

For CAN configuration and messages handling I am using CMSIS driver for CAN interface. My system is running at 48 MHz and

clock for CAN peripheral is 48 MHz/2 = 24 MHz. So, the issue is that CAN is working at 125 Kbps. But once I set it at 250

Kbps, 500 Kbps CAN do not work. I can't receive any messages. In my project I will need a wide range of CAN baud rates (1

Mbits/s, 500 Kbits/s, and etc.).

Maybe there are some considerations regarding CAN clock settings?


Best regards,

Linas

Outcomes