Is the STM32F0 Nucleo capable of reading 8 bit parallel protocol at 3 MHz ?
Hello,
I have a STM32F0 which needs to be able to read data from an 8 bit parallel interface.
I therefore used the GPIOC-Port to connect the 8 bits and PA3 for the clock. The parallel clock operates at minimum 3MHz, so i configured the clocks in CubeMX to have 48 MHz at the peripherals.
Then I tried to toggle another pin (with HAL-Toggle function) whenever a rising edge of the data clock is detected.
I tried this in 3 ways:
- in the while-loop using if-then,
- connecting the clock to Exti
- connecting the clock to TIM15_CH2 using input capture mode, presc.=0
Fastest here was #1 which resulted in about 1MHz of square signal, but if this is the maximum sample speed it wouldn't work.
The goal is to get that data outputted via UART or SPI when a certain identifier is detected.
So is it possible to achieve this with the F0?
Any help or hint is appreciated