STM32H730AB - Assembling Data from Single Bit Inputs
I would like to use the STM32H730AB as the central controller for a wireless sensing device. For this device, the MCU will drive an external 8-bit ADC at 40 MSPS. This ADC generates an output signal across 8 output pins, 1 for each bit of the digital signal. For wireless communication, I plan out sending each data point to an external wireless module via the SDMMC2 module. For each point of data, I would like to write the time of conversion (based on the ADC clock signal from MCO2) and the "reassembled" conversion data from the ADC. So my overall question at this point is twofold:
- What would be the best method to input 8 1-bit channels and subsequently assemble the 8 individual bits into a single 8-bit word?
- Is it possible to write a file internally for each data point? This file would only need to contain the time of conversion and the 8-bit conversion data. This file would be sent to the SDMMC2 for transmission via the external wireless module.
