Unable to change registers in the APP UART on the imx23

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

Unable to change registers in the APP UART on the imx23

跳至解决方案
1,451 次查看
blsousan
Contributor III

All,

     I have a version of the chumby linux build for the imx23 and need to change one of the APP UART's configuration registers (the HW_UARTAPP_CTRL2 register).  I use the utility regutil that allows you to change registers on the system.  I can change any of the Debug UART's registers just fine and other peripheral's registers as well.  However, for some reason, I can not change any of the APP UART's registers. 

Thanks,

Bill

标签 (1)
0 项奖励
回复
1 解答
1,341 次查看
PeterChan
NXP Employee
NXP Employee

Hello Bill,

What is the register value in HW_UARTAPP_CTRL0? Have you un-gated the UART clock and put the APP UART out of reset? Please notice that both SFTRST and CLKGATE bits in HW_UARTAPP_CTRL0 are set by default. You have to clear these bits before changing other APP UART register values.

Regards,

Peter

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,342 次查看
PeterChan
NXP Employee
NXP Employee

Hello Bill,

What is the register value in HW_UARTAPP_CTRL0? Have you un-gated the UART clock and put the APP UART out of reset? Please notice that both SFTRST and CLKGATE bits in HW_UARTAPP_CTRL0 are set by default. You have to clear these bits before changing other APP UART register values.

Regards,

Peter

0 项奖励
回复