1 Introduction
This application note describes how to use the FlexIO module to emulate state
machine. Using State mode enables the user to implement any state machine
with up to eight states, eight outputs, and three selectable inputs per state. This
feature allows basic control functions to be offloaded from the CPU, which
could potentially remain in low power mode.
2 Development platform
In order to emulate the state machine, an i.MX RT1010 EVK board was used in this demo. In this application case, the used pins
are as shown in Figure 1.
Contents
1 Introduction............................................ 1
2 Development platform............................1
3 FlexIO state mode emulation.................3
4 Conclusion............................................. 6
5 References............................................ 6
AN12845
FlexIO Low Power State Machine on i.MX RT1010
Rev. 0 — May 2020
Application Note
Figure 1. Hardware connection
On the i.MX RT1010, FLEXIO has a total of 27 pins. The user can use the state mode to achieve up to 8 states, each state
controls up to eight pin outputs.
In this case, a total of three states are emulated. Each state enables three output pins, FXIO[0], FXIO[1], and FXIO[2]. These
three state machines can be controlled by three optional input pins. The three pins selected in this application are FXIO[21],
FXIO[22], and FXIO[23].
Table 1 lists the FlexIO pins used in this case:
Table 1. Used FlexIO pins
FlexIO pin Pin location Pin name State
flexio1.FLEXIO00 J56-10 GPIO_08 Enable output
Table continues on the next page...
NXP Semiconductors
Development platform
FlexIO Low Power State Machine on i.MX RT1010, Rev. 0, May 2020
Application Note 2 / 8