My code crashes in some tasks, so this is a debugging problem. I am the developer and I need help from someone more experienced in ESP32 and freeRTOS so we work together over videoMeeting, so I can test your possible solutions in my hardware.
The development is a seismograph using an ESP32 in arduino IDE. The system measures acceleration in 3D and velocities in X and Z. It writes the data to a microSD memory and sends the data to the cloud. So far everything is done. The project consists in the correction of the code to reach 100 Hz of sample rate.
The bill of materials is: ESP32 devkit, MPU9250 (accels), 2 analog geophones (SM24 and GD4.5), ADS1015, microSD card module. The MQTT protocol is used to publish into a Atlas-mongoDB database.
I upload the Arduino code of the project. It consists in getting the sensor measurements, save them to de sd card (all in core1), and send them to the cloud on core 0.
Thank you for reading and applying.