Search found 56 matches

by MartyMacGyver
Mon May 29, 2017 8:41 am
Forum: ESP32 Arduino
Topic: Why is Arduino's main task pinned to core 1?
Replies: 8
Views: 17587

Re: Why is Arduino's main task pinned to core 1?

This is the driver I ported and extended:

https://github.com/MartyMacGyver/ESP32- ... ED-Drivers

As for the interrupt allocator info, a search shows it moved here:

https://github.com/espressif/esp-idf/bl ... _alloc.rst
by MartyMacGyver
Tue Apr 04, 2017 7:37 am
Forum: Report Bugs
Topic: I2C SCL frequency 10% less than it should be at 400kHz
Replies: 55
Views: 92627

Re: I2C SCL frequency 10% less than it should be at 400kHz

I added an oled display and an arduino to my I2C setup to generate some traffic. While testing some changes to make things faster I ran into issues with unreliable communication. Errors will pop up several times a day, causing my reboot logic to trigger. Please update to the latest Arduino-ESP32 - ...
by MartyMacGyver
Tue Apr 04, 2017 6:26 am
Forum: Report Bugs
Topic: I2C SCL frequency 10% less than it should be at 400kHz
Replies: 55
Views: 92627

Re: I2C SCL frequency 10% less than it should be at 400kHz

I've also tried it with a borrowed arduino Due and it also works. That Seeed-Studio repo you're based on is rather ancient... I just tried the Adafruit PN532 library ( https://github.com/adafruit/Adafruit-PN532 ) and with a few small modifications examples/iso14443a_uid worked fine on both Particle...
by MartyMacGyver
Sat Apr 01, 2017 5:34 am
Forum: Report Bugs
Topic: I2C SCL frequency 10% less than it should be at 400kHz
Replies: 55
Views: 92627

Re: I2C SCL frequency 10% less than it should be at 400kHz

I've got no idea why this would be failing, but as I'm curious about the tech in general anyway I ordered what appears to be the same one from Amazon. I'll have it on Monday and can delve into it then.
by MartyMacGyver
Thu Mar 30, 2017 11:44 pm
Forum: Report Bugs
Topic: I2C SCL frequency 10% less than it should be at 400kHz
Replies: 55
Views: 92627

Re: I2C SCL frequency 10% less than it should be at 400kHz

I don't have one of these boards (yet)... it'd take a few days to get one here. Is it specifically the HiLetgo one you linked to? Version 3 or something earlier? What GPIO pins are you wiring to what pins on the board? Where's your code? Are you using the latest Arduino-ESP32 as well as latest Ardui...
by MartyMacGyver
Wed Mar 29, 2017 10:35 pm
Forum: Report Bugs
Topic: I2C SCL frequency 10% less than it should be at 400kHz
Replies: 55
Views: 92627

Re: I2C SCL frequency 10% less than it should be at 400kHz

mvrhov wrote:Well even with the latest patch I2C still doesn't work with PN532 boards. e.g ones like this
It doesn't work at all or has glitches? Does that device work with any other Arduino-type device you have?
by MartyMacGyver
Tue Mar 28, 2017 5:43 am
Forum: Report Bugs
Topic: I2C SCL frequency 10% less than it should be at 400kHz
Replies: 55
Views: 92627

Re: I2C SCL frequency 10% less than it should be at 400kHz

: I have a normal SSD1306 display that works utterly fine on other MCUs, but glitches to the point of being non-functional on the ESP32 Someone else has reported that this fix stopped their SSD1306 from glitching . So it's possible the clock speed/waveform itself was a red herring. Although we'll c...
by MartyMacGyver
Mon Mar 27, 2017 1:05 am
Forum: Report Bugs
Topic: I2C SCL frequency 10% less than it should be at 400kHz
Replies: 55
Views: 92627

Re: I2C SCL frequency 10% less than it should be at 400kHz

This I2C thread is the result of one problem: I have a normal SSD1306 display that works utterly fine on other MCUs, but glitches to the point of being non-functional on the ESP32. That led me to examine the I2C frequency (very sensitive and inexact), the waveform (the 50% duty cycle is naive and ma...
by MartyMacGyver
Sun Mar 26, 2017 7:42 am
Forum: Report Bugs
Topic: I2C SCL frequency 10% less than it should be at 400kHz
Replies: 55
Views: 92627

Re: I2C SCL frequency 10% less than it should be at 400kHz

Note that the change was made and merged into Arduino-ESP32 pretty quickly. Not sure what the state of esp-idf is though.
by MartyMacGyver
Sat Mar 25, 2017 10:27 pm
Forum: Report Bugs
Topic: I2C SCL frequency 10% less than it should be at 400kHz
Replies: 55
Views: 92627

Re: I2C SCL frequency 10% less than it should be at 400kHz

Hans, Others have been having this problem as well and I shared your post with them. Thanks to your discovery, the problem may be resolved. An issue has been raised on Github regarding this: https://github.com/espressif/arduino-esp32/issues/286 . You might want to subscribe to that issue on there to...