Search found 54 matches

by michprev
Fri Jul 27, 2018 12:19 pm
Forum: General Discussion
Topic: Gripes on ESP32/ESP-IDF
Replies: 28
Views: 1205

Re: Gripes on ESP32/ESP-IDF

Thank you for your responses. I have changed IMU task priority to 20. It removes most of that delays but the problem still occurs. I would start with very simple example (C only code, without SPI, without floats) slowly moving towards my code. I believe it is better to start a github issue - https:/...
by michprev
Wed Jul 25, 2018 10:49 am
Forum: General Discussion
Topic: Gripes on ESP32/ESP-IDF
Replies: 28
Views: 1205

Re: Gripes on ESP32/ESP-IDF

That is absolutely crazy - there's no way the tick handler itself is eating up 5ms. The tick handler, however, does switch to higher priority scheduled tasks when they use e.g. as vTaskDelay to sleep. Do you have your sources available somewhere so we might be able to look through them or replicate...
by michprev
Tue Jul 24, 2018 3:22 pm
Forum: General Discussion
Topic: Gripes on ESP32/ESP-IDF
Replies: 28
Views: 1205

Re: Gripes on ESP32/ESP-IDF

The MPU9250 is quite old, I am surprised you are using it for a new project. The problem with it is, the MPL software is on your host processor, which means any missing gyro data can mess the whole algo. Also, it is VERY sensitive to mag calibration, if it is not calibrated correctly, your reading ...
by michprev
Mon Jul 23, 2018 9:26 pm
Forum: General Discussion
Topic: Gripes on ESP32/ESP-IDF
Replies: 28
Views: 1205

Re: Gripes on ESP32/ESP-IDF

Today you can take a Bosch BMX160 or Invensense icm-20948 (or similar chips) that do all the fusion and filtering and queue onto a hardware fifo inside the chip, and fires a GPIO when the fifo hits a percent mark. Here you can not miss any data. If you are collecting each raw sample manually, this ...
by michprev
Mon Jul 23, 2018 2:30 pm
Forum: General Discussion
Topic: Gripes on ESP32/ESP-IDF
Replies: 28
Views: 1205

Re: Gripes on ESP32/ESP-IDF

Well, why don't you write to Cadence and Xtensa team to reveal full esp32/lx6 documents for technical reference and assembly manuals. You can try RMT of ESP as it behaves similar to SPI and has full-duplex behavior. Like I said we have to wait for Cadence people to give us full docs and relevant as...
by michprev
Sun Jul 22, 2018 9:17 pm
Forum: General Discussion
Topic: Gripes on ESP32/ESP-IDF
Replies: 28
Views: 1205

Re: Gripes on ESP32/ESP-IDF

Ad. FreeRTOS: I don't have hardware by myself now so I cannot give some real data to show if it's too heavy or not. I don't want to blame you for using FreeRTOS generally - I ment this thread to be about state of ESP32 hardware, docs and IDF. I did not want it to be about quadcopters. I knew that I ...
by michprev
Sat Jul 21, 2018 11:09 am
Forum: General Discussion
Topic: Gripes on ESP32/ESP-IDF
Replies: 28
Views: 1205

Re: ESP32 not ready for production

FreeRTOS is not heavy at all. To say "It would make better sense to write low level drivers without FreeRTOS " is really not true. FreeRTOS, makes running many threads at one very simple. You can even set a section of code as CRITICAL if you need to something timing intensive so there are...
by michprev
Fri Jul 20, 2018 8:29 pm
Forum: General Discussion
Topic: Gripes on ESP32/ESP-IDF
Replies: 28
Views: 1205

Re: ESP32 not ready for production

Making quadcopters is just my hobby. I think that ESP32 fills a huge gap on market - it is powerful and there are ready to use modules (DevKitC V4). I also love the fact that it uses Xtensa architecture. But it hurts to see how many features / configuration of SPI hardware have been planned and are ...
by michprev
Fri Jul 20, 2018 3:45 pm
Forum: General Discussion
Topic: Gripes on ESP32/ESP-IDF
Replies: 28
Views: 1205

Gripes on ESP32/ESP-IDF

(Mod note: Changed the title of this topic; it was 'ESP32 not ready for production') Hello guys, I've been working with ESP32 for about one year. I have built quadcopter firmware based on ESP-IDF but soon understood that it will be impossible to make it fully working. Whole IDF is written inefficien...
by michprev
Thu Jul 19, 2018 12:10 pm
Forum: General Discussion
Topic: Low level ASM programming reference manuals for Xtensa LX6
Replies: 5
Views: 205

Re: Low level ASM programming reference manuals for Xtensa LX6

In general: The Xtensa docs on the core we use are pretty good. The problem with it is that, as far as I know, we have them because we signed an NDA with Cadence, making it hard to just spread them around. We know this is an issue, and we're working on getting the info out one way or another. Do yo...