Search found 15 matches
- Sun May 16, 2021 12:48 am
- Forum: ESP-IDF
- Topic: Why C++ code runs slowly?
- Replies: 1
- Views: 3094
Why C++ code runs slowly?
Hi! Shown below is a code from C++ method, each statement with elapsed time. I feel it should run 10x times faster on ESP32-S2 . Given CPU clock as 4.2 ns per tick (240 MHz), simple sum takes ~60 ticks. I think it's unusually high. I searched for Xtensa docs but did not find reference numbers for ho...
- Sun Apr 25, 2021 11:43 pm
- Forum: Hardware
- Topic: How to calculate thresholds of RMT demodulator?
- Replies: 0
- Views: 1719
How to calculate thresholds of RMT demodulator?
Hi, There's a question (not a problem) about ESP32-S2 RMT demodulator . I have created a learning example for it, it works well, but I met with a difficulty to explain two parameters. Their values were found experimentally because I have no guess how they work. Parameters are located in RMT_CHn_RX_C...
- Sun Apr 25, 2021 5:34 pm
- Forum: General Discussion
- Topic: rmt reciever problem (items is very large number)
- Replies: 7
- Views: 7545
Re: rmt reciever problem (items is very large number)
Hi, Just my 5 cents: I looks like "config_idle_threshold" is measured in divided ticks. I found this during my low level tests with RMT registers I/O. I mean, take active clock (APB or REF), apply divider in use, and you will get a frequency ticks to use with this parameter.
- Mon Apr 05, 2021 12:21 pm
- Forum: General Discussion
- Topic: use esp32 without rtos
- Replies: 6
- Views: 12283
Re: use esp32 without rtos
Thank you for detailed reply! In general, I mostly share same thoughts. But all nuances matter. Nvidia makes great devices. The problem appears with their software. I really don't neeed tensor math over Python, proposed by mainstream manufactures. :) I use another math and so need just "bare metal" ...
- Sun Apr 04, 2021 5:11 pm
- Forum: General Discussion
- Topic: use esp32 without rtos
- Replies: 6
- Views: 12283
Re: use esp32 without rtos
Hi! You asked about use case. Here's it. I'm very interested in this topic because I develop some specific AI/AGI algorithms. From what looks prospective at the moment, an ESP32-S2 chip could work as a "cell" in super matrix computing. A PCB board could hold, say, 100 such chips. They're funny cheap...
- Sun Apr 04, 2021 7:46 am
- Forum: General Discussion
- Topic: Watchdog triggered after light sleep wake up
- Replies: 6
- Views: 10018
Re: Watchdog triggered after light sleep wake up
I confirm the problem with light sleep for ESP32-S2 for very similar example. It looks like watchdog of timer group 1 has very short timeout, like 600 for first stage (interrupt) and 1200 for second (system reset). I tried to reset stage 0 timeout to default 26,000,000 but what suprized me, that aft...
- Wed Mar 31, 2021 2:25 am
- Forum: General Discussion
- Topic: Back from ESP32-S2 hibernate with FAST memory off
- Replies: 1
- Views: 2560
Re: Back from ESP32-S2 hibernate with FAST memory off
Blocks of log text saying like this "RTC TIMER wakeup 0x00000008..." were reported by my Xtensa program.
- Tue Mar 30, 2021 9:42 pm
- Forum: General Discussion
- Topic: Back from ESP32-S2 hibernate with FAST memory off
- Replies: 1
- Views: 2560
Back from ESP32-S2 hibernate with FAST memory off
Hi, I wrote low level code to put ESP32-S2 chip into hibernate mode and wake-up from there by RTC alarm timer. It works. My concern is that when RTC FAST memory is enabled to power down on sleep, system reports error when got waked up. See the error and log: E (46) boot: Fast booting is not successf...
- Tue Mar 23, 2021 5:00 pm
- Forum: General Discussion
- Topic: Need a working example of ESP32-S2 code for ULP-FSM
- Replies: 5
- Views: 6072
Re: Need a working example of ESP32-S2 code for ULP-FSM
Hi, this is just a status update, an information for curious minds. No need to reply. After further investigation of mentioned official example it was found that FSM program "ulp/wake_up.S" may fall in infinite cycle waiting for RTC module ready to accept wake-up's. Here's partial log for RTC_CNTL_L...
- Tue Mar 23, 2021 9:55 am
- Forum: General Discussion
- Topic: Compilation of RISC-V .c file results in errors
- Replies: 2
- Views: 3802
Re: Compilation of RISC-V .c file results in errors
Thank you, ESP_Angus! Things got clear.