Hardware requirements
Mini/micro USB cable
MIMXRT1160-EVK board
Personal Computer
Board settings
No special settings are required.
Prepare the Demo
Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
These instructions are displayed/shown on the terminal window:
GPIO Driver example
This example is intended to run in debug/release configuration,
with all code and data in TCM, to show the potential of fast gpio
Core Clock = 600MHz, Bus Clock = 198MHz
Loop num = 1000000
Normal GPIO cycles 3 output takes 213ms
Normal GPIO cycles 4 output takes 283ms
Normal GPIO input takes 100ms
Fast GPIO cycles 3 output takes 21ms
Fast GPIO cycles 4 output takes 29ms
Fast GPIO input takes 30ms
Fast GPIO IRQ occurred!
Note: This example is intended to run in debug/release configuration, with all code and data in TCM, to show the potential of fast gpio Note: The xxms in terminal window, is from debug configuration. Differernt build configuration leads slight change for these numbers.