Skip to content

Latest commit

 

History

History

stm32f303

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

stm32f303

F303

Any 72MHz STM32F3 series will work.

  • STM32F302
  • STM32F303
  • STM32F328
  • STM32F334
  • STM32F358
  • STM32F373
  • STM32F378
  • STM32F398

I used this as a reference.

Changes from the original

  • frame format
    This example support Extended frame format: with 29 identifier bits.

  • CAN port
    In this example, you can select the CAN port.

Remap CAN port

CAN_RX mapped to PA11, CAN_TX mapped to PA12

CANInit(CAN_1000KBPS, 0);  // CAN_RX mapped to PA11, CAN_TX mapped to PA12

CAN_RX mapped to PB8, CAN_TX mapped to PB9 (not available on 36-pin package)

CANInit(CAN_1000KBPS, 2);  // CAN_RX mapped to PB8, CAN_TX mapped to PB9

CAN_RX mapped to PD0, CAN_TX mapped to PD1 (available on 100-pin and 144-pin package)

CANInit(CAN_1000KBPS, 3);  // CAN_RX mapped to PD0, CAN_TX mapped to PD1