IMX6Q UART5 configuration

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX6Q UART5 configuration

Jump to solution
1,102 Views
camz
Contributor I

I’m hoping someone can help explain something about the i.MX6 pinmux for me.

We have a project where we trying to use the following configuration for UART5:

UART5 TXD --> pad KEY_COL1 (ALT4)

UART5 RXD --> pad KEY_ROW1 (ALT4)

These both are involved in Daisy Chain, which is where things get a bit confusing.

Pad Mux Register IOMUXC_SW_MUX_CTL_PAD_KEY_COL1, and Pad Mux Register IOMUXC_SW_MUX_CTL_PAD_KEY_ROW1 contain a note saying to configure IOMUXC_UART5_UART_RX_DATA_SELECT_INPUT for mode ALT4.

The options for IOMUXC_UART5_UART_RX_DATA_SELECT_INPUT are:

  • 00 KEY_COL1_ALT4 – Selecting ALT4 mode of pad KEY_COL1 for UART5_TX_DATA
  • 01 KEY_ROW1_ALT4 – Selecting ALT4 mode of pad KEY_ROW1 for UART5_RX_DATA
  • 10 CSI0_DATA14_ALT3 – Selecting ALT3 mode of pad CSI0_DAT14 for UART5_TX_DATA
  • 11 CSI0_DATA15_ALT3 – Selecting ALT3 mode of pad CSI0_DAT15 for UART5_RX_DATA

The daisy config options appear to be in conflict with each other.  I can only set one value, but appear to need to set two conflicting values to match the pinmux configuration.

There does not appear to be a daisy chain register for the TX signal, only for the RX signal (and the RTS signal).

How can I configure these properly.

I am using the QNX RTOS, not Linux.  We have a BSP that was based on the QNX BSP for the Sabre Smart Devices board.  I've seen some comments suggesting that there are/were mistakes in the Linux BSP definitions for the mux configurations, it is highlypossible that the original QNX BSP was ported from the Linux BSP and would have duplicated the same mistakes.

Labels (1)
Tags (1)
0 Kudos
1 Solution
775 Views
igorpadykov
NXP Employee
NXP Employee

Hi Martin

daisy config option is selected only for input signal, that is for

UART5 RXD --> pad KEY_ROW1 (ALT4), so for

IOMUXC_UART5_UART_RX_DATA_SELECT_INPUT:

01 KEY_ROW1_ALT4 – Selecting ALT4 mode of pad KEY_ROW1 for UART5_RX_DATA

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
3 Replies
775 Views
abdelrahmanzaye
Contributor III

Hi,

i have IMX6-quad
i need to choose the best compatible RTOS for it
can you kindly help me ?

0 Kudos
776 Views
igorpadykov
NXP Employee
NXP Employee

Hi Martin

daisy config option is selected only for input signal, that is for

UART5 RXD --> pad KEY_ROW1 (ALT4), so for

IOMUXC_UART5_UART_RX_DATA_SELECT_INPUT:

01 KEY_ROW1_ALT4 – Selecting ALT4 mode of pad KEY_ROW1 for UART5_RX_DATA

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
775 Views
camz
Contributor I

Excellent, thank you.  That does indeed clear things up (as well as help to explain one other pinmux/daisy chain behavior that was observed).

Cheers,

Martin

0 Kudos