cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103VCT6 CAN Bit timing settings

chandrashekharchinta
Associate II
Posted on November 18, 2014 at 15:22

I am using STM32F103VCT6 controller in one of our product and we need to configure CAN bit timings to work at 125KBPS, 250KBPS and 500KBPS at clock frequency of 36MHz (max system clock on bus). I need to know two things:

1. I am setting CAN BTR register to value 0x034B000F to work at 125KBPS. As per settings I should get Bit Sampling point at 77% but I am getting Bit Sampling point at 72%. I don't understand why.

2. What CAN BTR register value I have to set to get Bit Sampling point at more than 85% for all three baud rates (125KBPS, 250KBPS and 500KBPS)

Please help me out.

1 REPLY 1
Posted on November 18, 2014 at 19:01

[DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/STM32F103VCT6%20CAN%20Bit%20timing%20settings&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/AllItems.aspx&currentviews=11]Duplicate Thread - Cross Posted

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..