Search found 7 matches

by nevercast
Thu Jun 27, 2019 11:58 pm
Forum: Hardware
Topic: ESP32 stops working for no apparent reason in field
Replies: 15
Views: 19515

Re: ESP32 stops working for no apparent reason in field

What is the environment that the device is deployed in? How is it enclosed? Could mositure damage or other harsh conditions be a possibility ?
by nevercast
Thu Jun 27, 2019 11:39 pm
Forum: Hardware
Topic: Using LEDC for generating two pulses
Replies: 11
Views: 14629

Re: Using LEDC for generating two pulses

Instead of using LEDC, for <1Hz you would use GPIO and a delay loop. For example: void loop() { digitalWrite(17, 1); delay(2000); digtalWrite(17, 0); delay(2000); } This gives a 0.5Hz output, and does not need LEDC. Perhaps if you tell us what the pulses need to do, and why you need pulses, we can p...
by nevercast
Wed Jun 26, 2019 10:21 pm
Forum: Hardware
Topic: ESP32 as Bluetooth headset
Replies: 2
Views: 13736

Re: ESP32 as Bluetooth headset

The DAC is only 8bit on the ESP32, and the ADC has some linearity and offset issues, which can be calibrated for but would need to be calibrated for every device since the non-linearity in my experience is not consistent across a batch of ESP32s. I would suggest an I2S external chipset. The I2S peri...
by nevercast
Wed Jun 26, 2019 10:07 pm
Forum: Hardware
Topic: Detect presence of JTAG / Detect IO_MUX is in JTAG mode.
Replies: 2
Views: 4089

Re: Detect presence of JTAG / Detect IO_MUX is in JTAG mode.

There is a function called "esp_cpu_in_ocd_debug_mode" which can be used for this purpose. See for example https://github.com/espressif/esp-idf/blob/beaefd3359973dcf8bba4e1d4462aa7f5d67be6a/components/vfs/vfs_semihost.c#L52 Thanks! This is exactly what I am looking for. I cannot find documentation ...
by nevercast
Wed Jun 26, 2019 5:41 am
Forum: Hardware
Topic: Detect presence of JTAG / Detect IO_MUX is in JTAG mode.
Replies: 2
Views: 4089

Detect presence of JTAG / Detect IO_MUX is in JTAG mode.

Hello, My understanding of JTAG is that it is mutiplexed through IO_MUX on the VSPI bus. Pads (GPIO) 13, 14, 15, 16. Due to a limit of GPIO (We have used every pin on the ESP32 PICO) we are using VSPI for an SPI peripheral. We cannot share this with HSPI or any other pins (they are in use). Can I de...
by nevercast
Tue Jan 08, 2019 3:19 am
Forum: ESP-IDF
Topic: RTC XTAL 32k not working/broken after SW_Reset OR Deepsleep
Replies: 0
Views: 3734

RTC XTAL 32k not working/broken after SW_Reset OR Deepsleep

Hello, I require an external crystal for the RTC because I need accurate deepsleep times over several hours. I have started a project on the esp-idf using Platform.IO, please excuse the poor project layout if it is not esp-idf standard. What I've done: 1. I have modified the sdkconfig to use the ext...