2020-04-30 09:43 AM
Can STM32 able to replace an old peripheral that required 8-bit parallel data bus and communicate between 8051 MCU. We can't modify the 8051 MCU and we can't use FPGA too.
I know FSMC is very close solution to my case but in my situation, the STM32 is not the core/host MCU instead it act as a device/peripheral.
The data bus speed is at 3MHz. The 8051 require to read back the data from STM32 before 3rd clock cycle of the 3MHz.
Possible to use FSMC in this situation? or using highest clock speed like 180MHz STM32 to act on the data bus as fast as possible?
2020-05-03 08:28 PM
I have configure to use TIM1-CH2 Capture.
> Running on STM32F429ZI with Max 180MHz
> the code is optimised for Speed.
> the Core Freq is @ 180MHz
> the GPIO E is at Bus AHB1 ( I assume it is at 180MHz - AM I right?)
Here is the code
I set an output on 1 of the IO pin (configure as Very High Speed).
The result, It took approximately 152nS from Interrupt (12 Cycles) to Set the pin high.
Does this looks right? Can I shorten this even further?