Skip to content

ICM interface with ESP32- HSPI pins Programming Issue #116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
iharshadec opened this issue Apr 21, 2023 · 4 comments
Closed

ICM interface with ESP32- HSPI pins Programming Issue #116

iharshadec opened this issue Apr 21, 2023 · 4 comments

Comments

@iharshadec
Copy link

I am using ESP32 HSPI pins which is 12,13 and 14 with ICM with Level Shifter to convert between 1.8v and 3.3v
I am not able to program my ESP32 after programming it once with ICM example code.

I am using Arduino + Windows environment for this.

@PaulZC
Copy link
Contributor

PaulZC commented Apr 21, 2023

Hello Harshad (@iharshadec ),

Pin 12 is one of the ESP32 boot control (strapping) pins. Pulling pin 12 high will cause the bootloader to fail. Perhaps there is a pull-up resistor in the level shifter circuit?

https://docs.espressif.com/projects/esptool/en/latest/esp32/advanced-topics/boot-mode-selection.html

You can use pin 12, but you need to ensure it is isolated until the boot is complete.

Best wishes,
Paul

@PaulZC PaulZC closed this as completed Apr 21, 2023
@iharshadec
Copy link
Author

I am not sure what is correct way to isolate Pin 12 until boot is done. Any suggestion?

@PaulZC
Copy link
Contributor

PaulZC commented Apr 21, 2023

It depends on your project. We have used this circuit successfully to isolate pins 2, 12 and 15. When RESET is low, switch 4 is open, so PWREN is low. Because PWREN is low, ESP2, ESP12 and ESP15 are isolated. PWREN stays low until ESP32 is configured as an output and pulled high.

image

@iharshadec
Copy link
Author

Thank you @PaulZC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants