Search found 133 matches

by meowsqueak
Wed Apr 04, 2018 4:49 am
Forum: ESP32 IDF
Topic: Request for observations: RMT rmt_driver_install crashing repeatedly after a previous crash
Replies: 5
Views: 1075

Re: Request for observations: RMT rmt_driver_install crashing repeatedly after a previous crash

WiFive wrote:Did you try periph_module_disable, periph_module_enable
No, I haven't tried those - I see that rmt_config() calls periph_module_enable(), but does not call disable itself, so I'll try a call to periph_module_disable() prior and see if that helps. Thanks for the suggestion.
by meowsqueak
Wed Apr 04, 2018 4:46 am
Forum: General Discussion
Topic: Update to Kolban's ESP32 Book is Available
Replies: 10
Views: 4258

Re: Update to Kolban's ESP32 Book is Available

I'd like to say thanks too - it's a useful book that provides a good introduction to each aspect of the ESP32, and helps me work out what areas I need to dive into in more depth.
by meowsqueak
Wed Apr 04, 2018 4:39 am
Forum: General Discussion
Topic: Q on gpio_set_direction()
Replies: 7
Views: 1509

Re: Q on gpio_set_direction()

thanks for your response. OK, so if I get this right, an INPUT/OUTPUT pin is really just an output pin where you can use a read operation on the same pin that will simply return the value you have written. It doesn't mean that you can read from an external device connected to that pin. Is this corr...
by meowsqueak
Wed Apr 04, 2018 4:29 am
Forum: ESP32 IDF
Topic: Request for observations: RMT rmt_driver_install crashing repeatedly after a previous crash
Replies: 5
Views: 1075

Request for observations: RMT rmt_driver_install crashing repeatedly after a previous crash

I've seen some issues with RMT on the ESP-IDF v3.0rc1 branch recently. In particular, RMT-heavy operations (such as reading from multiple DS18B20 devices regularly) seems to work well, until something unrelated causes the ESP32 to crash and reset. Then when the device boots up and tries to initialis...
by meowsqueak
Wed Apr 04, 2018 4:10 am
Forum: ESP32 Arduino
Topic: Newbie in need of a little help (DS18B20)
Replies: 12
Views: 3152

Re: Newbie in need of a little help (DS18B20)

Yes i have seen a lot of i2c problems on the interweb. I did consider putting on a i2c io expander and a RTC also on i2c. I might end up using a thrusty old arduino mega and only use the esp32 as a wifi module. Some projects as my current one requires reliability. Just in case it's not clear, the D...
by meowsqueak
Wed Apr 04, 2018 4:03 am
Forum: General Discussion
Topic: Q on gpio_set_direction()
Replies: 7
Views: 1509

Re: Q on gpio_set_direction()

Usually on microcontrollers/CPUs there are two separate electrical paths on the pin's hardware driver, the output path and the input path. They are connected to each other at the pin. When set to input-only, the output is put into a high-impedance tri-state, so it does not drive the pin. Depending o...
by meowsqueak
Wed Mar 28, 2018 9:58 am
Forum: ESP32 IDF
Topic: I2C crash with release/v3.0 - what's an effective way to debug this?
Replies: 28
Views: 6323

Re: I2C crash with release/v3.0 - what's an effective way to debug this?

Looks like this might be fixed with https://github.com/espressif/esp-idf/co ... b190eff1ad

I've tested it on my boards and the problem is no longer occurring, however I'm also running a long-term test to be sure.
by meowsqueak
Mon Mar 26, 2018 4:26 am
Forum: General Discussion
Topic: Trigger an action every "exact" second after syncing with NTP Server
Replies: 4
Views: 2223

Re: Trigger an action every "exact" second after syncing with NTP Server

You can also use vTaskDelayUntil() in ESP-IDF v3.0rc for a slightly more accurate delay, if you need to take into consideration some processing between reading the current time and the task actually going to sleep, although note that your task is only going to start running on a scheduler tick bound...
by meowsqueak
Mon Mar 26, 2018 4:15 am
Forum: Showcase
Topic: JTAG Debugger that fits most ESP32 Projects
Replies: 12
Views: 4336

Re: JTAG Debugger that fits most ESP32 Projects

I found a lot of JTAG debuggers that could be used with the ESP32. But most of them are out of stock or discontinued. Others too expensive. Cool project! I'm curious though - what do you consider "too expensive"? I have a C232HM that works well with the ESP32, and they are US$26 (ex. shipping) each...
by meowsqueak
Fri Mar 16, 2018 4:15 am
Forum: ESP32 IDF
Topic: I2C crash with release/v3.0 - what's an effective way to debug this?
Replies: 28
Views: 6323

Re: I2C crash with release/v3.0 - what's an effective way to debug this?

Just curious about this. The OP does not give enough information to actually help you. What sensor are you trying to talk to. Are you using IDF or Arduino, What ESP32 are your using. Do you have pullup resistors on the I2C lines and what are there values. You have not shared any of your code so tha...

Go to advanced search