Commit 7391cfa0 authored by Thomas Decker's avatar Thomas Decker Committed by Chris Friedt
Browse files

boards: arm: st: nucleo_h7s3l8: Add fdcan1



Enable support for FDCAN1 on nucleo_h7s3l8 board. PD0 (RX) and PD1 (TX)
are used for interfacing an external CAN transceiver according to the
breakout connector description in the board's schematic.

Signed-off-by: default avatarThomas Decker <decker@jb-lighting.de>
parent ab94dbc8
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -161,6 +161,7 @@ and a ST morpho connector. Board is configured as follows:
- LD3 : PB7
- I2C : PB8, PB9
- SPI1 NSS/SCK/MISO/MOSI : PD14PA5/PA6/PB5 (Arduino SPI)
- FDCAN1 RX/TX : PD0, PD1

System Clock
------------
@@ -181,6 +182,13 @@ Backup SRAM
In order to test backup SRAM you may want to disconnect VBAT from VDD. You can
do it by removing ``SB13`` jumper on the back side of the board.

FDCAN
=====

The Nucleo H7S3L8 board does not have any onboard CAN transceiver. In order to
use the FDCAN bus on this board, an external CAN bus transceiver must be
connected to pins PD0 (RX) and PD1 (TX).

Programming and Debugging
*************************

+9 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
		zephyr,dtcm = &dtcm;
		zephyr,sram = &sram0;
		zephyr,flash = &flash0;
		zephyr,canbus = &fdcan1;
	};

	leds: leds {
@@ -166,6 +167,14 @@
	clock-frequency = <I2C_BITRATE_FAST>;
};

&fdcan1 {
	pinctrl-0 = <&fdcan1_rx_pd0 &fdcan1_tx_pd1>;
	pinctrl-names = "default";
	clocks = <&rcc STM32_CLOCK(APB1_2, 8)>,
		 <&rcc STM32_SRC_HSE FDCAN_SEL(0)>;
	status = "okay";
};

&flash0 {
	partitions {
		compatible = "fixed-partitions";
+2 −0
Original line number Diff line number Diff line
@@ -13,4 +13,6 @@ supported:
  - entropy
  - adc
  - octospi
  - can
  - canfd
vendor: st