2022-08-28 05:23 AM
HI there
I am do a continues read an of ADC a parallel binary data https://datasheets.maximintegrated.com/en/ds/MAX2771.pdf at the speed from 4-16MSPS with nucleo-H743ZI2. The binary data is sent through 2 ADCs where each has a specific channel I(I0,I1) and channel 2(Q0,Q1),and all are clocked with (CLK_out) , they have common ground (GND pin), my main goal is to read the data then save into a file.
I have been trying to make it work with the Arduino IDE on STM32 for the past few weeks , unfortunately the data I got was wrong due the slow speed arduino-IDE, therefore they suggested me to use HAL library on stm32CUBIDE in (from STM32duino site) but I am having a hard time following cause I am kind of new to the coding even though I followed a few examples on the community. the ADC sends 2 bits from each channel ( LSB bits are output on the I0 or Q0 pins, MSB bits are output on the I1 or Q1 pins) all valid in the falling edge of CLK_OUT.
PS: I am having an error when setting the MCU's max frequency to 480MHZ, its say (the frequency out of range) even though its not, H743ZI2 max frequency is 480MHZ?
I would really appreciate all the help I can get.
2022-08-28 06:33 AM
The original H743 was sold as 400 MHz, current versions up to 480 MHz, other H7 models capable of 550 MHz
Interfacing this, I'd probably look at the DCIM, perhaps with a FIFO memory, or use a CPLD/FPGA to decimate/merge the data into more efficient units/width.
Bring data in via DCIM or FMC
DCIM is the only thing designed for an externally clocked parallel interface. Not sure it's performance on a continuous/loss-less mode.
2022-08-28 06:45 AM
https://community.st.com/s/question/0D53W00001aw972SAA/digital-inputs-in-stm32-boards-
https://community.st.com/s/question/0D53W00001aIQbpSAG/real-time-processing-in-stm32h750bdk-board-
Notionally you might clock the STM32 via the same 16-20 MHz source as the front-end
Typically this data is a firehose (lot to be processing and sinking), you could presumably build correlators on the FPGA side to generate intermediate carrier frequency and code
2022-08-30 04:28 AM
I can not offered a new board , I hope to get the board I have work