GPIBE-Register on T4240

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

GPIBE-Register on T4240

600 Views
franzmueller
Contributor I

I have problems to change the value of the GPIO3_GPIBE Register on a T4240 processor. Writing any value to this register does effect nothing, I always read back 0 from this Register.

Any idea, whats wrong?

Labels (1)
Tags (3)
0 Kudos
2 Replies

402 Views
Pavel
NXP Employee
NXP Employee

Check the RCW on your board. Are the GPIO3 pins assigned to GPIO?

Check settings the RCW bit 416 – 420 using the DCFG_CCSR_RCWSRn registers.

Have a great day,
Pavel

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

0 Kudos

402 Views
franzmueller
Contributor I

Thanks for your answer:

The RCW is OK. I get the value of the port pin in the GPIO data Register (GPIO3_GPDAT). The problem is, that if GPIO3_GPIBE is zero, the value of the port pin should not be seen in the GPIOx_GPDAT Register. As I wrote above, reading the GPIOx_GPIBE register always returns zero, writing has no effect to this register, it seems, as if the GPIOx_GPIBE register is not implemented.  

best regards

Franz

0 Kudos