Hello,
How do I switch between using pins 0_6 and 2_4 as JTAG and GPIO? I can see that there is a JTAG enable/disable bit in the OTP, but I want my application to be able to switch between the two
Thanks!
Edd
Keywords:
Device:
Hi edwardwhite,
I am not sure i get the question, the enable/disable in the OTP is to enable or disable the debugger module, you dont have to program the OTP in order to disable the debugger and use that pins as normal gpios. Those pins have this default functionallity, if the DEBUGGER_ENABLE bitfield at the SYS_CTRL_REG is not set the SWDIO and SW_CLK can be used as normal GPIOs, you should be able to check that in the datasheet p.217, table 184.
Thanks MT_dialog