8 years, 3 months ago.

is this library compatible with stm32f series?

is this library compatible with stm32f series?

Question relating to:

2 Answers

8 years, 3 months ago.

Hi Emin. It is MBED so there should be no strict requirement that the platform be of a specific CPU nor speed. As a general comment, faster the better. Follow the respective notes from other users and compare the details against your OV7670 module. There are assorted styles of these OV7670 modules being shipped from Asia so be sure of the wiring of your version you will be using. I recall ordering some from electrodragon about a year or so ago and then went back to them for the Atmel based OV7670 tester to confirm my sanity of the many configuration requirements of this sensor. That is, after a while you may start to doubt if the module even works so it is good to have a working demo to allow you to develop your version of the design. The posted MBED code was developed on the LPC1768 so recommend to consider your STM32F429 (M4 CPU) as the target.

Being I2C interface to configure the module, there is the requirement for the pull-up resistors since I2C bus is an open drain interface. That is, low = low but high = high impedance (hi-z) so the external pull-up is required. Your module may have the local pull-up resistors onboard or you will have to add them onto your STM32F board. Any value like 2.2k - 10k should be fine.

Recommend that you apply the power rails of the module + I2C interface only to get started to see if the posted application software is able to ping the module (ie. Read / Write using the I2C interface). Once you are confident that the I2C interface is functional then proceed to wire up the parallel bus interface to allow for streaming of the video info back to your STM32F processor.

The Nucleo boards with the STM32F401 CPU is really low cost and high speed. Consider moving to that platform if required. Your STM32F429 target should even be faster for this exercise. Good luck and have fun !!

7 years ago.

I am currently trying to....

edit: Yes it is, but you need to modify it