Search found 3736 matches

by ESP_Sprite
Mon Aug 03, 2020 8:06 am
Forum: ESP32 IDF
Topic: Accurate Periodic ISR
Replies: 4
Views: 297

Re: Accurate Periodic ISR

I've considered using a hardware timer which supports periodic ISRs. The issue here is that the hardware timers are clocked by the APB clock which is likely to drift over time. System time can be made more accurate by using an external RTC crystal Note that the APB clock is based on the 40MHz cryst...
by ESP_Sprite
Sun Aug 02, 2020 1:46 pm
Forum: ESP32 Arduino
Topic: Can't use digital GPIO of ESP32-Wrover-E2 from Arduino IDE
Replies: 1
Views: 163

Re: Can't use digital GPIO of ESP32-Wrover-E2 from Arduino IDE

Well, that code just defines a pin... what does the code that actually uses that pin look like?
by ESP_Sprite
Sun Aug 02, 2020 1:44 pm
Forum: ESP32 Arduino
Topic: Crash fter running couple of days
Replies: 10
Views: 558

Re: Crash fter running couple of days

It looks like something went wrong with the flash chip somehow... both the way it resets as well as the inability to download code point in that direction. Are you sure you have nothing accidentally shorting with the flash pins on the Wroom32 module (generally those at the bottom)?
by ESP_Sprite
Sun Aug 02, 2020 1:41 pm
Forum: ESP32 IDF
Topic: UDP stream not consistent parsed
Replies: 10
Views: 566

Re: UDP stream not consistent parsed

Can you tell if you're dropping packets or merely getting packets late?
by ESP_Sprite
Sun Aug 02, 2020 10:09 am
Forum: ESP32 IDF
Topic: UDP stream not consistent parsed
Replies: 10
Views: 566

Re: UDP stream not consistent parsed

Hmm, that looks sane... perhaps disabling power saving (esp_wifi_set_ps(WIFI_PS_NONE)) helps?
by ESP_Sprite
Sat Aug 01, 2020 7:38 am
Forum: ESP32 IDF
Topic: UDP stream not consistent parsed
Replies: 10
Views: 566

Re: UDP stream not consistent parsed

Can you post your code?
by ESP_Sprite
Fri Jul 31, 2020 9:52 am
Forum: ESP32 IDF
Topic: Finding source code for esp_timer_get_time()
Replies: 5
Views: 280

Re: Finding source code for esp_timer_get_time()

Yes, that code should be re-entrant. You can also use timer0 for other purposes, esp_timer uses a legacy subsystem of the timer groups that is not usually used/usable by other code.
by ESP_Sprite
Fri Jul 31, 2020 7:37 am
Forum: ESP32 IDF
Topic: Finding source code for esp_timer_get_time()
Replies: 5
Views: 280

Re: Finding source code for esp_timer_get_time()

Where that function is defined depends a bit on the specific hardware timer that it's selected to use... I think by default it's timer group 0, in case the function is aliased to esp_timer_impl_get_time here , with that function defined just above that. (Note that this is for 4.2, other versions may...
by ESP_Sprite
Fri Jul 31, 2020 7:31 am
Forum: ESP32 IDF
Topic: Reading IO configuration
Replies: 1
Views: 111

Re: Reading IO configuration

Technically, you could read from the IO mux registers / GPIO matrix configuration registers for those particular GPIOs and see how they're configured, but there is no 'nice' way to do this with some esp-idf API.
by ESP_Sprite
Fri Jul 31, 2020 7:29 am
Forum: Hardware
Topic: I2S interface receiving TDM from ICS-52000 array
Replies: 2
Views: 265

Re: I2S interface receiving TDM from ICS-52000 array

No clue about the TDM format you're using specifically, but you can always invert the outgoing signal of a GPIO by setting a register. To quote a post from one of my colleagues: I think the best and easiest way to do that is to invert the GPIO output signal in esp32. Refer to func_out_sel_cfg regist...

Go to advanced search