cancel
Showing results for 
Search instead for 
Did you mean: 

external adc + dcmi

AElta.1
Associate II

HI there

my pervious post explains the issue https://community.st.com/s/question/0D53W00001lTyoOSAS/read-parallel-cmos-adc-using-nucleoh743zi2

after a bit of research I found that I can use the DCMI(digital camera interface) as an input to the ADC because it allow faster sampling speeds, starting by setting the DCMI in salve 8 bit embedded synchro mode which sets the dcmi pins 8 data bins(DCMI_D[0-7]), 1 clock pin (DCMI_PIXCLK) and ignores the [HSYNC&VSYNC] clocks. I wrote this code but its not working can you help me out with it plz

3 REPLIES 3
KDJEM.1
ST Employee

Hi @AElta.1​ ,

Try to verify if the camera module used in this application supports the embedded synchronization.

Because some camera modules support the two types of synchronization, while others support either the hardware or the embedded synchronization.

Also, I advise you to take a look at this Application note AN5020 “Digital camera interface (DCMI) for STM32 MCUs�? may help you in your implementation.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

>>Try to verify if the camera module used in this application supports the embedded synchronization.

Not using a CAMERA

The DCMI in this context is being as a fast, synchronous, means of in-boarding parallel data, in a continuous stream.

Might need CPLD/FGPA glue logic to create data, and timing information in a suitable manner.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

yes Tesla, I have the board I mentioned in my previous post  https://community.st.com/s/question/0D53W00001lTyoOSAS/read-parallel-cmos-adc-using-nucleoh743zi2

I just can not make my code to work because I am new to stm32 can you help me out with it ?