MTCK and MTDO pins in ESP32S3

Kowshik_Bevara
Posts: 20
Joined: Wed Mar 02, 2022 2:39 pm

MTCK and MTDO pins in ESP32S3

Postby Kowshik_Bevara » Sun Oct 15, 2023 4:46 am

Hi,

I'm currently working on a project using the ESP32-S3 chip, and I've decided to use MicroPython for my coding. In my project, I have connected GPIO 39 and GPIO 40 to relays for various operations. The ESP32-S3 datasheet designates GPIO 39 as MTCK and GPIO 40 as MTDO, which are typically used for JTAG debugging and programming.

However, I'm not utilizing JTAG programming for my project. My question is, do I need to perform any separate initialization or special configurations for GPIO 39 and GPIO 40, or is it sufficient to initialize them as regular output pins using MicroPython for my relay control?

I want to make sure that my project runs smoothly while making the best use of these GPIO pins. Any insights or guidance on this matter would be greatly appreciated.

Thanks,
Kowshik

ESP_Sprite
Posts: 9709
Joined: Thu Nov 26, 2015 4:08 am

Re: MTCK and MTDO pins in ESP32S3

Postby ESP_Sprite » Sun Oct 15, 2023 8:49 am

Generally, initializing them as GPIOs should work.

bidrohini
Posts: 202
Joined: Thu Oct 27, 2022 12:55 pm

Re: MTCK and MTDO pins in ESP32S3

Postby bidrohini » Sun Oct 15, 2023 11:51 am

You can initialize these pins as GPIO pins. No issues. If you ever need to use JTAG for programming or debugging, you might need to disable their use as regular GPIOs and configure them back to their default JTAG functions.

Who is online

Users browsing this forum: No registered users and 194 guests