Skip to content

Commit

Permalink
boards: arm: nucleo_h745zi_q
Browse files Browse the repository at this point in the history
add fdcan1, fdcan2 and usb_fs DT configurations

Signed-off-by: Alexander Kozhinov <ak.alexander.kozhinov@gmail.com>
  • Loading branch information
KozhinovAlexander committed Nov 1, 2024
1 parent e646b7f commit 14dcd05
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions boards/st/nucleo_h745zi_q/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ features:
+-------------+------------+-------------------------------------+
| SPI | on-chip | spi |
+-------------+------------+-------------------------------------+
| FDCAN | on-chip | CAN-FD Control Area Network |
+-------------+------------+-------------------------------------+

Other hardware features are not yet supported on this Zephyr port.

Expand Down
10 changes: 10 additions & 0 deletions boards/st/nucleo_h745zi_q/nucleo_h745zi_q_stm32h745xx_m7.dts
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,13 @@ zephyr_udc0: &usbotg_fs {
pinctrl-names = "default";
status = "okay";
};

&fdcan1 {
pinctrl-0 = <&fdcan1_rx_pb8 &fdcan1_tx_pb9>;
// HSE will be used by default. Uncomment below to enable APB1.2 120MHz clock
// clocks = <&rcc STM32_CLOCK_BUS_APB1_2 0x00000100>,
// <&rcc STM32_SRC_PLL1_Q FDCAN_SEL(1)>;
pinctrl-names = "default";
// pins are confilcting with i2c1 - disable i2c1 first to enable
status = "disabled";
};
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ supported:
- counter
- i2c
- pwm
- can
- netif:eth
- spi
- usb_device
Expand Down

0 comments on commit 14dcd05

Please sign in to comment.