Search found 300 matches
- Wed May 19, 2021 9:53 am
- Forum: General Discussion
- Topic: Reading critical I2C data
- Replies: 4
- Views: 6097
Re: Reading critical I2C data
Although since FreeRTOS uses a lot of critical sections I might miss the interrupt Only if you configure the interrupt as being level. Try edge. There are a few critical sections but not such that you would notice. Actually that is possibly a lie. I have seen the I2C output clock stretch for >1.2mS...
- Tue May 18, 2021 7:09 pm
- Forum: General Discussion
- Topic: Reading critical I2C data
- Replies: 4
- Views: 6097
Re: Reading critical I2C data
Which I2C device are you using? As I understand you; (1) At initialisation you want to read the I2C device's timestamp in a low latency/no interrupts way such that you know I2C time and ESP 'world' time. Yes, that's the intention. I'm using an ICM42605, InvenSense made a driver which I ported to ES...
- Tue May 18, 2021 2:30 pm
- Forum: General Discussion
- Topic: Reading critical I2C data
- Replies: 4
- Views: 6097
Reading critical I2C data
Hi All, I'm testing a driver for an accelorometer/gyroscope. There is a sequence in the driver which reads timestamp value during initialisation and correllates it to the ESP's RTC clock (system time), to calculate the drift between the two, so it can map timestamp data from the sensor to system tim...
- Tue May 18, 2021 8:19 am
- Forum: ESP-IDF
- Topic: I2C causes panic - Interrupt WDT
- Replies: 1
- Views: 2766
Re: I2C causes panic - Interrupt WDT
Ok, I found the issue.
A small section of code enterd a critical section before reading I2C, and probably this have caused it to fail.
A small section of code enterd a critical section before reading I2C, and probably this have caused it to fail.
- Mon May 17, 2021 2:21 pm
- Forum: ESP-IDF
- Topic: I2C causes panic - Interrupt WDT
- Replies: 1
- Views: 2766
I2C causes panic - Interrupt WDT
Hi All, A very strange error keeps occuring. Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0). Core 0 register dump: PC : 0x4008a120 PS : 0x00060834 A0 : 0x800894ca A1 : 0x3ffb6ab0 0x4008a120: vListInsert at C:/Users/Bujtor.Bence/esp/esp-idf/components/freertos/list.c:151 (disc...
- Mon May 10, 2021 6:44 am
- Forum: General Discussion
- Topic: ESP32 Antenna
- Replies: 2
- Views: 2675
Re: ESP32 Antenna
Hi,
The antenna included with this is specifically for Lora.
There should be an onboard Wifi antenna in there somewhere, it is integrated on the PCB, and is separate from the external antenna.
I think you should be able to use both Wifi and Lora at the same time.
Regards,
Vader(Ben)
The antenna included with this is specifically for Lora.
There should be an onboard Wifi antenna in there somewhere, it is integrated on the PCB, and is separate from the external antenna.
I think you should be able to use both Wifi and Lora at the same time.
Regards,
Vader(Ben)
- Wed May 05, 2021 9:45 am
- Forum: General Discussion
- Topic: How are sockets and netifs connected in ESP32?
- Replies: 6
- Views: 5660
Re: How are sockets and netifs connected in ESP32?
I suggest you read this, will be helpful.
https://docs.espressif.com/projects/esp ... netif.html
By the way, when you initilaize the Wifi with MESH, there is a function that initializes the netif as well.
https://docs.espressif.com/projects/esp ... netif.html
By the way, when you initilaize the Wifi with MESH, there is a function that initializes the netif as well.
- Mon May 03, 2021 6:59 am
- Forum: General Discussion
- Topic: ESP32-S3 (Beta2) MARLIN_9_1B on ESP32-S3-Addax-1 V1.0 Specs & Datasheet
- Replies: 74
- Views: 181412
Re: ESP32-S3 (Beta2) MARLIN_9_1B on ESP32-S3-Addax-1 V1.0 Specs & Datasheet
I think, 64bit will almost never come. :D ESP64 is given as Espressif Product since 2015 https://twitter.com/EspressifSystem/status/644049759678828544 #ESP64 Job search # ESP64 Wrover [ esp64.com esp64.net esp64.io esp64.dk esp64.ru and more.. ] We'll see. I agree - :mrgreen: I get it, but is it wo...
- Mon May 03, 2021 3:56 am
- Forum: ESP32 Arduino
- Topic: ESP32 malloc gives memory in invalid location or guru meditation
- Replies: 5
- Views: 7976
Re: ESP32 malloc gives memory in invalid location or guru meditation
I am allocating exactly what I need. If you read what is allocated, it is 76816 bytes from the heap. Apparently, there is 16 bytes of housekeeping. Do you still say that is the wrong size? I can actually read and write about 64% of this area before it blows up. Please look, again, carefully, at wha...
- Fri Apr 30, 2021 5:59 am
- Forum: General Discussion
- Topic: ESP32-S3 (Beta2) MARLIN_9_1B on ESP32-S3-Addax-1 V1.0 Specs & Datasheet
- Replies: 74
- Views: 181412
Re: ESP32-S3 (Beta2) MARLIN_9_1B on ESP32-S3-Addax-1 V1.0 Specs & Datasheet
I just wonder if Espressif plans some RISC-V boards with more than 1 core and 64bit since it is very cheap and super low power consuming design. Perfect for 5Ghz and HD vid stuff I think, 64bit will almost never come. It is a bit overkill, since the memory and storage ESP MCU-s have to address will...