boards: arm: add can1 to nucleo_h743/753.

* Enable and configure can1 for nucleo_h743/753.
* Update documentation.

Signed-off-by: Jeremy Wood <jeremy@bcdevices.com>
This commit is contained in:
Jeremy Wood 2021-12-28 17:48:13 -08:00 committed by Anas Nashif
parent c13ff7505c
commit 9d346cc2b2
6 changed files with 38 additions and 0 deletions

View file

@ -125,6 +125,8 @@ features:
+-------------+------------+-------------------------------------+
| USB | on-chip | usb_device |
+-------------+------------+-------------------------------------+
| CAN/CANFD | on-chip | canbus |
+-------------+------------+-------------------------------------+
Other hardware features are not yet supported on this Zephyr port.
@ -148,6 +150,7 @@ and a ST morpho connector. Board is configured as follows:
- ADC1_INP15 : PA3
- ETH : PA1, PA2, PA7, PB13, PC1, PC4, PC5, PG11, PG13
- SPI1 NSS/SCK/MISO/MOSI : PD14/PA5/PA6/PB5 (Arduino SPI)
- CAN/CANFD : PD0, PD1
System Clock
------------
@ -168,6 +171,11 @@ Backup SRAM
In order to test backup SRAM you may want to disconnect VBAT from VDD. You can
do it by removing ``SB156`` jumper on the back side of the board.
CAN, CANFD
----------
Requires an external CAN or CANFD transceiver.
Programming and Debugging
*************************

View file

@ -20,6 +20,7 @@
zephyr,flash = &flash0;
zephyr,dtcm = &dtcm;
zephyr,code-partition = &slot0_partition;
zephyr,canbus = &can1;
};
leds {
@ -130,6 +131,14 @@ zephyr_udc0: &usbotg_fs {
status = "okay";
};
&can1 {
pinctrl-0 = <&fdcan1_rx_pd0 &fdcan1_tx_pd1>;
pinctrl-names = "default";
bus-speed = <125000>;
bus-speed-data = <1000000>;
status = "okay";
};
/*
* WARNING:
* Possible pin conflicts:

View file

@ -22,3 +22,5 @@ supported:
- backup_sram
- watchdog
- usb_device
- can
- canfd

View file

@ -123,6 +123,8 @@ features:
+-----------+------------+-------------------------------------+
| USB | on-chip | usb_device |
+-----------+------------+-------------------------------------+
| CAN/CANFD | on-chip | canbus |
+-----------+------------+-------------------------------------+
Other hardware features are not yet supported on this Zephyr port.
@ -146,6 +148,7 @@ and a ST morpho connector. Board is configured as follows:
- ADC1_INP15 : PA3
- ETH : PA1, PA2, PA7, PB13, PC1, PC4, PC5, PG11, PG13
- SPI1 NSS/SCK/MISO/MOSI : PD14PA5/PA6/PB5 (Arduino SPI)
- CAN/CANFD : PD0, PD1
System Clock
------------
@ -160,6 +163,11 @@ Serial Port
Nucleo H753ZI board has 4 UARTs and 4 USARTs. The Zephyr console output is
assigned to UART3. Default settings are 115200 8N1.
CAN, CANFD
----------
Requires an external CAN or CANFD transceiver.
Programming and Debugging
*************************

View file

@ -20,6 +20,7 @@
zephyr,flash = &flash0;
zephyr,dtcm = &dtcm;
zephyr,code-partition = &slot0_partition;
zephyr,canbus = &can1;
};
leds {
@ -130,6 +131,14 @@ zephyr_udc0: &usbotg_fs {
status = "okay";
};
&can1 {
pinctrl-0 = <&fdcan1_rx_pd0 &fdcan1_tx_pd1>;
pinctrl-names = "default";
bus-speed = <125000>;
bus-speed-data = <1000000>;
status = "okay";
};
/*
* WARNING:
* Possible pin conflicts:

View file

@ -20,3 +20,5 @@ supported:
- netif:eth
- spi
- usb_device
- can
- canfd