Skip to content

Commit

Permalink
imx8mp-var-dart: pwm: correct pinmux for DART-MX8M-PLUS
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Herfurtner <[email protected]>
  • Loading branch information
aherfurtner committed Nov 3, 2022
1 parent 7cc4907 commit 86323b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions boards/dart_mx8mp/driver_examples/pwm/pin_mux.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ void BOARD_InitBootPins(void)
- pin_list:
- {pin_num: AE6, peripheral: UART3, signal: uart_rx, pin_signal: UART3_RXD, PE: Enabled, HYS: CMOS, PUE: Weak_Pull_Up, DSE: X6}
- {pin_num: AJ4, peripheral: UART3, signal: uart_tx, pin_signal: UART3_TXD, PE: Enabled, HYS: CMOS, PUE: Weak_Pull_Up, DSE: X6}
- {pin_num: AJ6, peripheral: PWM3, signal: pwm_out, pin_signal: I2C3_SDA, PE: Enabled, HYS: CMOS, PUE: Weak_Pull_Up}
- {pin_num: AE18, peripheral: PWM3, signal: pwm_out, pin_signal: SPDIF_TX, PE: Enabled, HYS: CMOS, PUE: Weak_Pull_Up}
* BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
*/

Expand All @@ -56,8 +56,8 @@ void BOARD_InitBootPins(void)
*
* END ****************************************************************************************************************/
void BOARD_InitPins(void) { /*!< Function assigned for the core: Cortex-M7F[m7] */
IOMUXC_SetPinMux(IOMUXC_I2C3_SDA_PWM3_OUT, 0U);
IOMUXC_SetPinConfig(IOMUXC_I2C3_SDA_PWM3_OUT,
IOMUXC_SetPinMux(IOMUXC_SPDIF_TX_PWM3_OUT, 0U);
IOMUXC_SetPinConfig(IOMUXC_SPDIF_TX_PWM3_OUT,
IOMUXC_SW_PAD_CTL_PAD_DSE(3U) |
IOMUXC_SW_PAD_CTL_PAD_PUE_MASK |
IOMUXC_SW_PAD_CTL_PAD_PE_MASK);
Expand Down
2 changes: 1 addition & 1 deletion boards/dart_mx8mp/driver_examples/pwm/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Hardware requirements

Board settings
==============
Use Oscilloscope to measure and observe the Test Point J12-20 output signal.
Use Oscilloscope to measure and observe the Test Point J14-7 output signal.



Expand Down

0 comments on commit 86323b1

Please sign in to comment.