Some Issues About RXD

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

Some Issues About RXD

498 Views
tony_l_cai
Contributor III

Hi,all

     We got a problem, when we use the IOMUX MX6DL_PAD_SD4_DAT4__UART2(including TXD,RXD,RTS and so on), and in our project, we use both the GPIO2-13 and MX6DL_PAD_SD4_DAT5__UART2_RTS,so they need to switch mutually. And could it will interfere with the MX6DL_PAD_SD4_DAT4__UART2_RXD?

     Because we found that pin MX6DL_PAD_SD4_DAT4__UART2_RXD need init again before we used it,though it had init at the beginning.If not, could you give me any other reeasons? Because we could not use  MX6DL_PAD_SD4_DAT4__UART2_RXD in any other way.

     3Q~

Labels (3)
0 Kudos
3 Replies

423 Views
igorpadykov
NXP Employee
NXP Employee

Hi tony

these functions should not depend on each other, you

can try to debug printf uart iomux registers (or use memtool) to check

them.

Best regards

igor

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

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

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

0 Kudos

423 Views
tony_l_cai
Contributor III

Hi, igor

     Lot of pins have initialized in the board_init, and MX6DL_PAD_SD4_DAT4__UART2_RXD is also included. Of cause, before we use it in UART function, we dont use it in any other function. why do we need to init again , before we use it in UART function? Because  if we dont init it again, the UART function will dont work. So help please~

3Q~

0 Kudos

423 Views
igorpadykov
NXP Employee
NXP Employee

Hi tony

I think you can debug it, stopping program in several places,

start from very beginning, then attach jtag and check IOMUX MX6DL_PAD_SD4_DAT4__UART2.

Best regards

igor

0 Kudos