Skip to main content
Bs.1
Associate III
Jan 16, 2021 6:19 AM UTC
Solved

CAN interface parameter settings

Hi,

I am trying to implement CAN interface in STM32F072RBT6

System clock speed - 8MHz

Baud rate for CAN - 500Kbps

Prescalar - 1

CAN peripheral clock speed - 8 MHz

so TQ - 16

I have set the Time quanta seg1 - 9

Time quanta seg2 - 6

Time quanta sync width - 1

But I am not sure about how to set the seg1 & seg 2 values.

Can any one help me to clear this fundamentals, how to select these parameters?

This topic has been closed for replies.
KnarfB
KnarfBBest answer
Super User
Jan 16, 2021 8:07 AM UTC

2 replies

KnarfB
KnarfBBest answer
Super User
Jan 16, 2021 8:07 AM UTC
Bs.1
Bs.1Author
Associate III
Jan 18, 2021 4:04 AM UTC

Hi...

Thanks for the reply