AnsweredAssumed Answered

IMX7D - Cortex M4 - GPIO-SPEED

Question asked by Noel Vellemans on Dec 19, 2018
Latest reply on Dec 26, 2018 by Artur Petukhov

Hi,

 

At this time I'm trying to determine how fast the CortexM4 can / will handle GPIO reads/writes.

 

A very simple IO-TOGGLE running on Bare-Metal (native) Cortex-M4.. shows me that it takes up-to +400ns to toggle an GPIO pin.  ( a high low / low high sequence ( square wave) takes +800ns ).

 

I see similar 'speeds' for reading ( iso writing) an GPIO pin ! 

 

 

Is there any possibility to improve ( speed this up) ?

 

From the reference manual I see that the peripheral clock is running at 24MHz, so I would expect this to be faster ?

 

Worst case scenario ? Can I increase the peripheral clock speed , without breaking either Linux or FreeRTOS.

 

 

Thanks, 

Noel

 

 

 

 

Outcomes