Adafruit MagTag (2024)

ESP32-S2 Bugs & Limitations

Save Subscribe

New Subscription

Please sign in to subscribe to this guide.

You will be redirected back to this guide once you sign in, and can then subscribe to this guide.

Nobody likes bugs, but all nontrivial software and hardware has some. The master list of problems is the Issues list on github.

I2C at 100 kHz bus frequency runs slowly

The default I2C bus clock speed is 100 kHz (100000) . At that rate, the ESP32-S2 will leave 10ms gaps between I2C transactions. This can slow down your I2C interactions considerably, such as when you are controlling a stepper motor with a PCA9685 controller.

Raising the I2C bus frequency to 125 kHz (125000) or higher fixes this problem. If your I2C peripheral can handle higher frequencies, you can use 400 kHz (400000) or even in some cases 1 MHz (1000000).

Note that board.I2C() creates an I2C bus that runs at 100 kHz. The bus frequency cannot be changed.. To create an I2C bus on the default I2C pins that runs at a different frequency, you must use busio.I2C(board.SCL, board.SDA, frequency=).

No DAC-based audio output

Current versions of the ESP-IDF SDK do not have the required APIs for DAC-based audio output. Once a future version of ESP-IDF that adds it, it will be possible to implement DAC-based AudioOut in CircuitPython.

Workaround: PWMOut can create tones and buzzes.

Workaround: I2SOut audio is currently being developed and will work with boards such as the I2S 3W Class D Amplifier Breakout - MAX98357A.

Deep Sleep & Wake-up sources

ESP32-S2 has hardware limitations on what kind of "pin alarms" can wake it. The following combinations are possible:

  • EITHER one or two pins that wake from deep sleep when they are pulled LOW
  • OR an arbitrary number of pins that wake from deep sleep when they are pulled HIGH, and optionally one pin that wakes from deep sleep when pulled LOW

This means that "wake" buttons should be wired so that pressing them pulls HIGH and a pull DOWN resistor is used with the pin. However, in some hardware designs including the original MagTag, the integrated buttons are pulled LOW when pressed and so only 1 or 2 buttons can be selected to wake the MagTag.

This guide was first published on Nov 10, 2020. It was lastupdated on Mar 31, 2024.

This page (ESP32-S2 Bugs & Limitations) was last updated on Mar 08, 2024.

Text editor powered by tinymce.

Related Guides

Adafruit MagTag (13)

24

Beginner

Updated

Adafruit MagTag (2024)
Top Articles
Невероятные стереокартинки для улучшения зрения
Lista de valores de Roblox Murder Mystery 2 (MM2)
Blackstone Launchpad Ucf
Lkq Pull-A-Part
Provider Connect Milwaukee
Black Adam Movies123
Myportal Udm
Uwa Schedule
Spectrum Store Downey Photos
Word Jam 1302
Jennifer Paeyeneers Wikipedia
The Nun 2 Showtimes Tinseltown
Join MileSplit to get access to the latest news, films, and events!
Roses Gordon Highway
Rancho Medanos Schedule
Andrew Davis Vsim
Dirt Devil Ud70181 Parts Diagram
Otis Inmate Search Michigan
Wok Uberinternal
How to order half and half pizza dominoʼs online? - Chef's Resource
Hartford Healthcare Employee Tools
Scrap Metal Prices in Indiana, Pennsylvania Scrap Price Index,United States Scrap Yards
Craigslist Pikeville Tn
Cavender's Boot City Killeen Photos
Milwaukee Zoo Ebt Discount
8663081159
Clash of Clans: Best Hero Equipment For The Archer Queen, Ranked
Left Periprosthetic Femur Fracture Icd 10
No Cable Schedule
Rachel Campos-Duffy - Net Worth, Salary, Age, Height, Bio, Family, Career
10 Top-Rated Tourist Attractions in Negril
8.7 Increase Of 841
Police in Germany arrest 25 people allegedly planning to overthrow the government
Visit.lasd
Mannat Indian Grocers
Samsung Galaxy Z Flip6 | Galaxy AI | Samsung South Africa
Helixnet Rfums
Hobby Lobby Locations Near Me
Seattle Rpz
Smokingmeatforum
Clarksburg Wv Craigslist Personals
Okeeheelee Park Pavilion Rental Prices
Its Arrival May Be Signaled By A Ding
Adda Darts
The Little Mermaid (2023) | Rotten Tomatoes
Hexanaut.io – Jouez en ligne sur Coolmath Games
Jeep Forum Cj
Carros Jeep Wrangler Tachira | MercadoLibre 📦
Babyrainbow Private
18 Awesome Things to do in Fort Walton Beach Florida 2024 - The Wanderlust Within
Car Hire in Romania from £4/day - Search for car rentals on KAYAK
LP Vinyl Samling pop rock thrash metal trance
Latest Posts
Article information

Author: Carlyn Walter

Last Updated:

Views: 5641

Rating: 5 / 5 (70 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Carlyn Walter

Birthday: 1996-01-03

Address: Suite 452 40815 Denyse Extensions, Sengermouth, OR 42374

Phone: +8501809515404

Job: Manufacturing Technician

Hobby: Table tennis, Archery, Vacation, Metal detecting, Yo-yoing, Crocheting, Creative writing

Introduction: My name is Carlyn Walter, I am a lively, glamorous, healthy, clean, powerful, calm, combative person who loves writing and wants to share my knowledge and understanding with you.