STM32 read data from AD7606 on pin interrupt without interrupting the CPU – Affiliate Marketer Job

Hello,

We want to read data from two AD7606 (ADCs) at high speed (100Khz) and send the resulting data using USB HS to a PC.

The AD7606 has a CONV pin that triggers an ADC conversion and then it toggles a BUSY pin to signal that the ADC conversion is done.

We are using the BUSY pin connected to an external interrupt to trigger the data read (16x16bit read) using the FMC peripheral in the STM32H7.

This is not working so well as the HAL USB code is somehow delaying the interrupts and causing this code not to work correctly.

We would like this read to be done without using the CPU at all. We would like to use a timer that triggers on a pin in the BUSY interrupt and that triggers a DMA 16 16bits transfer from FMC to a large memory buffer and then we get notified when the buffer is full halfway or something like that so we can flush it trough USB and keep going.

So far I'm only interested in this code that does the DMA transfer from FMC based on an interrupt (but without using the CPU at all)

I'm not sure about budget feel free to propose.

Budget: $200

Posted On: April 10, 2024 22:56 UTC
Category: Firmware Development
Skills:STM32, C, Firmware, Microcontroller Programming

Country: United States

click to apply

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *