Skip to main content
Visitor II
November 19, 2020
Question

PEAK CAN to USB use in STM32 bootloader

  • November 19, 2020
  • 0 replies
  • 993 views

Dear All,

I had some items with the CAN bootloader in the STM32 (F446, in particular). Basically, the communication was not stable with a lot of BUSHEAVY, BUSLIGHT, OVERRUN and BUS-OFF issues, while using a PEAK CAN to USB converter with the drivers and library from PEAK Systems for C-Builder.

In another thread, Jeroen3 suggested to use a Kvaser due to USB issues, which triggered me to play with the bittiming. With the available BitRateTool from PEAK, I have chosen a Btr0Btr1 value with a higher Synch. Jump Width (SJW) of 0xC33A instead of the standard 0x031C, which made my issues go away. I only tryed this other value, maybe others may work for you too.

Since I got the trigger from this community, I thought: Let's post my solution.

Regards, Folkert

    This topic has been closed for replies.