CAN register settings

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by v8dave on Mon Jan 28 01:51:43 MST 2013
Hi all,

I have an Atmel AT90CAN128 sending data at 125Kbps with settings for sampling point at 75%.

I can get this to talk to an SJA1000 so I know it works.

With the LPC11C14 I can't get any receive. I get a FORM error each time. I have searched the forum and found a few things on settings but nothing I do works.

This is the settings. It should be correct for 12Mhz clock??

uint32_t ClkInitTable[2] = {

TSEG1 = 8
TSEG2 = 3

TQ = 12

Appreciate any pointers to where I have gone wrong?