Unable to change registers in the APP UART on the imx23

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

Unable to change registers in the APP UART on the imx23

Jump to solution
796 Views
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

Labels (1)
0 Kudos
1 Solution
686 Views
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

View solution in original post

0 Kudos
1 Reply
687 Views
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 Kudos