Some Issues About RXD

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Some Issues About RXD

1,321 次查看
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~

标签 (3)
0 项奖励
回复
3 回复数

1,246 次查看
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 项奖励
回复

1,246 次查看
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 项奖励
回复

1,246 次查看
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 项奖励
回复