Hardware requirements#
Mini/micro USB cable
MIMXRT1170-EVKB 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 = 996MHz, Bus Clock = 240MHz
Loop num = 1000000
Normal GPIO cycles 3 output takes 175ms
Normal GPIO cycles 4 output takes 233ms
Normal GPIO input takes 75ms
Fast GPIO cycles 3 output takes 13ms
Fast GPIO cycles 4 output takes 17ms
Fast GPIO input takes 18ms
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.