Detect presence of JTAG / Detect IO_MUX is in JTAG mode.
Posted: Wed Jun 26, 2019 5:41 am
Hello,
My understanding of JTAG is that it is mutiplexed through IO_MUX on the VSPI bus. Pads (GPIO) 13, 14, 15, 16.
Due to a limit of GPIO (We have used every pin on the ESP32 PICO) we are using VSPI for an SPI peripheral. We cannot share this with HSPI or any other pins (they are in use). Can I detect when JTAG is in use by reading the IO_MUX registers? It does not seem to be documented in the IO_MUX Function table. From my application I wish to detect that JTAG is in use and bypass the code path that reads from the VSPI peripheral. How can this be achieved?
Cheers.
My understanding of JTAG is that it is mutiplexed through IO_MUX on the VSPI bus. Pads (GPIO) 13, 14, 15, 16.
Due to a limit of GPIO (We have used every pin on the ESP32 PICO) we are using VSPI for an SPI peripheral. We cannot share this with HSPI or any other pins (they are in use). Can I detect when JTAG is in use by reading the IO_MUX registers? It does not seem to be documented in the IO_MUX Function table. From my application I wish to detect that JTAG is in use and bypass the code path that reads from the VSPI peripheral. How can this be achieved?
Cheers.