UART Multiplexed Pins!

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

UART Multiplexed Pins!

跳至解决方案
1,321 次查看
qammarabbas
Contributor IV

Hi,

I am interfacing UART of T1042 with MAX238 line driver IC. The UART pins on the processor are multiplexed with GPIOs and other UART Pins. How can i tell the processor to use the pin for a specific function (as USART_SIN or SOUT)? 

标记 (1)
0 项奖励
回复
1 解答
1,212 次查看
r8070z
NXP Employee
NXP Employee


Have a great day,

On hardware reset device loads Reset Configuration Word (RCW) from an external memory. F.e. it can load RCW from NOR or NAND flash memory. Initially, on power reset few pins named as POR configuration inputs are sampled to determine the RCW source. The RCW contains 4-bit field UART_BASE which configures the functionality of the UART pins. You can find more details in chapter 4 of the T1040 reference manual. So you should prepare proper RCW[UART_BASE] which tells processor to use the pin for a specific function (as USART_SIN or SOUT)

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

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,213 次查看
r8070z
NXP Employee
NXP Employee


Have a great day,

On hardware reset device loads Reset Configuration Word (RCW) from an external memory. F.e. it can load RCW from NOR or NAND flash memory. Initially, on power reset few pins named as POR configuration inputs are sampled to determine the RCW source. The RCW contains 4-bit field UART_BASE which configures the functionality of the UART pins. You can find more details in chapter 4 of the T1040 reference manual. So you should prepare proper RCW[UART_BASE] which tells processor to use the pin for a specific function (as USART_SIN or SOUT)

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

0 项奖励
回复
1,212 次查看
qammarabbas
Contributor IV

Thank you!

0 项奖励
回复