P1021: GPIO: why CE_PB29 can not be controlled?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

P1021: GPIO: why CE_PB29 can not be controlled?

402件の閲覧回数
carlpeng
Contributor II

Hello,

In my design, will use PB29 as an input pin to detect the status of the external device, but I find that even though I pull up the PB29 to almost 3.3v by a pull-up resistor, I still read the pin value as 0x0(read the value through GUTS_CPDAT register), why?

Could you please help to give some comments? Thanks a lot!

Meanwhile, I find some description as below in the P1021RM.pdf:

pastedImage_1.png

so,  PB29 can be controlled by the using GUTS_CPDIR2n, GUTS_CPDAT registers, not 

need to configure GUTS_PMUXCR, since from the above description, CE_PB[29 : 30] always functions as QE pins.

Thank you,

Carl

ラベル(1)
0 件の賞賛
返信
1 返信

312件の閲覧回数
alexander_yakov
NXP Employee
NXP Employee

Yes, your understanding is correct, QE pin PB29 is not shared with any other function, so you do not need to configure it in PMUXCR.

Please check GUTS_CPDIR and GUTS_CPPARB should be set to "10" and "00" respectively.


Have a great day,
Alexander

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

0 件の賞賛
返信