LS1046A GPIO pinMux

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

LS1046A GPIO pinMux

Jump to solution
574 Views
Sally_Jay
Contributor I

Sally_Jay_0-1721357585389.png

 

How to change the GPIO_19/20/21/22 to GPIO mode?

Is there any register to configure it?

 

0 Kudos
Reply
1 Solution
515 Views
Oswalag
NXP TechSupport
NXP TechSupport

For the ls1046a side that's all the needed configuration, if you have issues on Vxworks,  please contact Wind River.

View solution in original post

0 Kudos
Reply
4 Replies
519 Views
Sally_Jay
Contributor I

Hello,

    I have changed UART_BASE to 3 and UART_EXT to 0.Do I need to configure other bit to make it work?

    After I changed, I still cannot modify GPIO1_19/20/21/22 to GPIO mode on Vxworks.
    By the way,when GPIO1[31] is in GPIO mode ,why it match to GPIO7 on Vxworks system?

    So GPIO1_19/20/21/22 should map other GPIO and not GPIO19 20 21 22? 

Sally_Jay_0-1721639758093.png

 

 

0 Kudos
Reply
516 Views
Oswalag
NXP TechSupport
NXP TechSupport

For the ls1046a side that's all the needed configuration, if you have issues on Vxworks,  please contact Wind River.

0 Kudos
Reply
529 Views
Sally_Jay
Contributor I

Hello,

    Do we only modify the UART_BASE and UART_EXT enough?
   I have changed UART_BASE to 3 and UART_EXT to 0.
   I think it should changed GPIO1_19/20/21/22 to GPIO mode.

   But I test it in Vxworks system. I stiil cannot pull up/down these GPIO

0 Kudos
Reply
555 Views
Oswalag
NXP TechSupport
NXP TechSupport

Hello,

You have to modify the RCW values (in this case RCW[UART_BASE] and RCW[UART_EXT] according to the configuration you want), please refer to table 3-3 in the ls1046a Reference Manual.

Oswalag_0-1721400681233.png

Have a nice day!!

 

0 Kudos
Reply