Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nucleo_h745zi_q add fdcan1 #80174

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
KozhinovAlexander marked this conversation as resolved.
Show resolved Hide resolved
+-------------+------------+-------------------------------------+

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

Expand Down
11 changes: 11 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,14 @@ zephyr_udc0: &usbotg_fs {
pinctrl-names = "default";
status = "okay";
};

&fdcan1 {
pinctrl-0 = <&fdcan1_rx_pd0 &fdcan1_tx_pd1>;
/* 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";
status = "okay";
};
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ supported:
- counter
- i2c
- pwm
- can
KozhinovAlexander marked this conversation as resolved.
Show resolved Hide resolved
- netif:eth
- spi
- usb_device
Expand Down
Loading