Skip to content

Commit 05eb1d8

Browse files
projectgusdpgeorge
authored andcommitted
stm32/boards/ARDUINO_NICLA_VISION: Fix CAN pin assignment.
The only STM32H747 pins with CAN function that are also broken out on the board are PB8 and PB9. Signed-off-by: Angus Gratton <[email protected]>
1 parent 21b7bd9 commit 05eb1d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ports/stm32/boards/ARDUINO_NICLA_VISION/mpconfigboard.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ extern struct _spi_bdev_t spi_bdev;
186186

187187
// FDCAN bus
188188
#define MICROPY_HW_CAN1_NAME "FDCAN1"
189-
#define MICROPY_HW_CAN1_TX (pin_A10)
190-
#define MICROPY_HW_CAN1_RX (pin_A9)
189+
#define MICROPY_HW_CAN1_TX (pin_B9)
190+
#define MICROPY_HW_CAN1_RX (pin_B8)
191191
#define MICROPY_HW_CAN_IS_RESERVED(id) (id != PYB_CAN_1)
192192

193193
// LEDs

0 commit comments

Comments
 (0)