![]() |
STM32Cube
Version 2.0
Create Projects for STM32F7 Series with STM32Cube HAL and STM32CubeMX
|
The CMSIS-Driver CAN requires:
Valid settings for various evaluation boards are listed in the table below:
| Peripheral Resource | STM32756G-EVAL | STM32F779I-EVAL |
|---|---|---|
| CAN1 Mode | CAN1: Master | CAN1: Master |
| CAN1_RX pin | PA11 | PA11 |
| CAN1_TX pin | PA12 | PA12 |
| CAN2 Mode | CAN2: Slave | CAN2: Slave |
| CAN2_RX pin | n/a | n/a |
| CAN2_TX pin | n/a | n/a |
| CAN3 Mode | CAN3: Master | CAN3: Master |
| CAN3_RX pin | n/a | n/a |
| CAN3_TX pin | n/a | n/a |
For different boards, refer to the hardware schematics to reflect correct setup values.
The STM32CubeMX configuration for STMicroelectronics STM32756G-EVAL or STM32F779I-EVAL Board with steps for Pinout, Clock, and System Configuration are listed below. Enter the values that are marked bold.
| Interrupt Table | Enable | Preemption Priority | Sub Priority |
|---|---|---|---|
| CAN1 TX interrupts | OFF | 0 | 0 |
| CAN1 RX0 interrupts | OFF | 0 | 0 |
| CAN1 RX1 interrupts | OFF | 0 | 0 |
| CAN1 SCE interrupts | OFF | 0 | 0 |
| Pin Name | Signal on Pin | GPIO mode | GPIO Pull-up/Pull.. | Maximum out | User Label |
|---|---|---|---|---|---|
| PA11 | CAN1_RX | Alternate .. | No pull-up and no.. | High | . |
| PA12 | CAN1_TX | Alternate .. | No pull-up and no.. | High | . |