I have an MCU which is communicating through a USB FS HUB with 4x external sensors and each sensor has an MCU and a ICM42688p sensor.
How am I able to synchronize the the 4x ICM42688p sensors which are placed on the external sensors boards.
The data DRDY is set to 4k.
I want to use DMA and i'm planing to record 80 sensor data points and send it over to the main MCU trough the HUB every 20ms.
Hello,
Could you please tell us more about what you are trying to accomplish here. What do you mean by "How am I able to synchronize the the 4x ICM42688p sensors which are placed on the external sensors boards."
I have 4x sensors boards, each sensor board has an MCU and a ICM42688p sensor, the MCU is used for data gathering from the ICM sensors and when it is finished it transmits the data using USB FS to the host MCU.
Between the Host MCU and the external sensors USB Device MCU there is a HUB chip which make it possible to connect 4 USB devices.
Because we are using USB communication and 4 sensors/boards (which has a ICM and an MCU which is set up as USB device) the syncronisation of all four ICM senosrs have to be done so that it samples at the same time(I saw that the ICM has sync pin and clk pin) which should make the sync possible but I dont know how. (all 4x ICMs are sampled 80 sensor data points each at the same time and then the data is sent over to the host MCU)
Hello Robert,
I think sycnronizing across devices that are not on the same board would be outside the scope of this forum.
However, I am working on a similar problem, and the only solution I see is to build custom hardware. Syncronization over USB would introduce massive latency, and problems with syncronization. Now, I am not saying that it can not be done, your way, but the engineering effort required to do so will surpasss the gain of the solution.
Best Regards,
Can Altineller
Lets start new
How do I synchronize multiple sensors, so that the sensors sample at the same time and then the mcu goes and grabs it one after each other.
What are the options and solutions for each option?
Hi Moderator,
Can you please delete this thread " 4x ICM42688p sync receiv through USB "