Hello,
I want to use PTA11 as GPIO.
By default, PTA 11 (TMS JTAG) is configured as JTAG,
I have set IOMUX to 0 but I can't toggle pad between HIGH and LOW.
Is there something special to do ?
Thanks for your help Holger
Solved! Go to Solution.
Hi,
I believe the problem is that you need to enable the OBE bit. I tried this out on the tower board using the gpio example in the sample code, and it worked as expected.
IOMUXC->SINGLE.PTA11 = IOMUXC_PTB3_DSE(0x1)| IOMUXC_PTA11_OBE_MASK; //enable GPIO output for PTA11
GPIO0->PDOR=~(PIN(4)); //corresponds with PTA11 and goes to gnd | |
//Delay | |
time_delay_ms(1000); |
GPIO0->PDOR=PIN(4); //corresponds with PTA11 and goes to VDD |
-Anthony
Hi,
I believe the problem is that you need to enable the OBE bit. I tried this out on the tower board using the gpio example in the sample code, and it worked as expected.
IOMUXC->SINGLE.PTA11 = IOMUXC_PTB3_DSE(0x1)| IOMUXC_PTA11_OBE_MASK; //enable GPIO output for PTA11
GPIO0->PDOR=~(PIN(4)); //corresponds with PTA11 and goes to gnd | |
//Delay | |
time_delay_ms(1000); |
GPIO0->PDOR=PIN(4); //corresponds with PTA11 and goes to VDD |
-Anthony
Hello Holger,
The Reference Manual counts 3500 pages :-) - may you provide more details about "set IOMUX to 0", please?
Sincerely, Naoum Gitnik.
Hello Naoum,
With IOMUX to 0 I mean set MUX_MODE of PTA11 to 0. Sorry.
But, in the meantime I have found an error in my driver.
Means PTA11 is working in the same way as other GPIOs.
Sorry.