flexio_spi_edma_b2b_transfer_master#
Overview#
The flexio_spi_master_edma example shows how to use flexio spi master driver in edma way:
In this example, a flexio simulated master connect to a flexio simulated spi slave .
Supported Boards#
EVKB-IMXRT1050
Hardware requirements
Mini/micro USB cable
EVKB-IMXRT1050 board
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
SLAVE connect to MASTER
Pin Name Board Location Pin Name Board Location
SOUT SW5-2 SIN SW5-3
SIN SW5-3 SOUT SW5-2
SCK SW5-1 SCK SW5-1
PCS0 SW5-4 PCS0 SW5-4
Note: Please start up slave example then connect PCS0(SW5-4) and start up master example, otherwise the high level signal from master board will affect the boot of slave board.
Prepare the Demo
Connect a mini USB cable between the PC host and the OpenSDA USB port on the board.
Open a serial terminal on PC for OpenSDA serial device with these 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
You can see the similar message shows following in the terminal if the example runs successfully.
FlexIO SPI edma example
Slave is working...
Slave runs successfully!
MIMXRT1060-EVKB
Hardware requirements
Mini/micro USB cable
Two MIMXRT1060-EVKB boards
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
MASTER connect to SLAVE
Pin Name Board Location Pin Name Board Location
SOUT SW2-2 SIN SW2-3
SIN SW2-3 SOUT SW2-2
SCK SW2-1 SCK SW2-1
PCS0 SW2-4 PCS0 SW2-4
Note: Please start up slave example first then connect PCS0(SW2-4) and start up master example, otherwise the high level signal from master board will affect the boot of slave board.
Prepare the Demo
Connect a mini USB cable between the PC host and the OpenSDA USB port on the board.
Open a serial terminal on PC for OpenSDA serial device with these 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
You can see the similar message shows following in the terminal if the example runs successfully.
FlexIO SPI edma example
Master Start...
Master runs successfully!
MIMXRT1060-EVKC
Hardware requirements
Mini/micro USB cable
Two MIMXRT1060-EVKC boards
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
MASTER connect to SLAVE
Pin Name Board Location Pin Name Board Location
SOUT SW2-2 SIN SW2-3
SIN SW2-3 SOUT SW2-2
SCK SW2-1 SCK SW2-1
PCS0 SW2-4 PCS0 SW2-4
Note: Please start up slave example first then connect PCS0(SW2-4) and start up master example, otherwise the high level signal from master board will affect the boot of slave board.
Prepare the Demo
Connect a mini USB cable between the PC host and the OpenSDA USB port on the board.
Open a serial terminal on PC for OpenSDA serial device with these 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
You can see the similar message shows following in the terminal if the example runs successfully.
FlexIO SPI edma example
Master Start...
Master runs successfully!
EVK-MIMXRT1015
Hardware requirements
Mini/micro USB cable
Two EVK-MIMXRT1015 boards
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
SLAVE connect to MASTER
Pin Name Board Location Pin Name Board Location
MOSI J18-6 MOSI J18-6
MISO J18-5 MISO J18-5
SCK J18-3 SCK J18-3
PCS0 J18-1 PCS0 J18-1
Prepare the Demo
Connect a mini USB cable between the PC host and the OpenSDA USB port on the board.
Open a serial terminal on PC for OpenSDA serial device with these 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
You can see the similar message shows following in the terminal if the example runs successfully.
FlexIO SPI edma example
Master Start...
Master runs successfully!
================================
Note: To debug in qspiflash, following steps are needed:
Select the flash target and compile.
Set the SW8: 1 off 2 off 3 on 4 off, then power on the board and connect USB cable to J23.
Start debugging in IDE.
Keil: Click “Download (F8)” to program the image to qspiflash first then clicking “Start/Stop Debug Session (Ctrl+F5)” to start debugging.
EVK-MIMXRT1020
Hardware requirements
Mini/micro USB cable
Two EVK-MIMXRT1020 boards
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
SLAVE connect to MASTER
Pin Name Board Location Pin Name Board Location
MOSI J18-6 MOSI J18-6
MISO J18-5 MISO J18-5
SCK J18-3 SCK J18-3
PCS0 J18-4 PCS0 J18-4
Prepare the Demo
Connect a mini USB cable between the PC host and the OpenSDA USB port on the board.
Open a serial terminal on PC for OpenSDA serial device with these 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
You can see the similar message shows following in the terminal if the example runs successfully.
FlexIO SPI edma example
Master Start...
Master runs successfully!
================================
Note: To debug in qspiflash, following steps are needed:
Select the flash target and compile.
Set the SW8: 1 off 2 off 3 on 4 off, then power on the board and connect USB cable to J23.
Start debugging in IDE.
Keil: Click “Download (F8)” to program the image to qspiflash first then clicking “Start/Stop Debug Session (Ctrl+F5)” to start debugging.
MIMXRT1024-EVK
Hardware requirements
Mini/micro USB cable
Two MIMXRT1024-EVK boards
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
SLAVE connect to MASTER
Pin Name Board Location Pin Name Board Location
MOSI J18-12 MOSI J18-12
MISO J18-10 MISO J18-10
SCK J18-6 SCK J18-6
PCS0 J18-8 PCS0 J18-8
Prepare the Demo
Connect a mini USB cable between the PC host and the OpenSDA USB port on the board.
Open a serial terminal on PC for OpenSDA serial device with these 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
You can see the similar message shows following in the terminal if the example runs successfully.
FlexIO SPI edma example
Master Start...
Master runs successfully!
================================
Note: To debug in qspiflash, following steps are needed:
Select the flash target and compile.
Set the SW8: 1 off 2 off 3 on 4 off, then power on the board and connect USB cable to J23.
Start debugging in IDE.
Keil: Click “Download (F8)” to program the image to qspiflash first then clicking “Start/Stop Debug Session (Ctrl+F5)” to start debugging.
MIMXRT1040-EVK
Hardware requirements
Mini/micro USB cable
Two MIMXRT1040-EVK boards
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
MASTER connect to SLAVE
Pin Name Board Location Pin Name Board Location
SOUT SW2-2 SIN SW2-3
SIN SW2-3 SOUT SW2-2
SCK SW2-1 SCK SW2-1
PCS0 SW2-4 PCS0 SW2-4
Note: Please start up slave example first then connect PCS0(SW2-4) and start up master example, otherwise the high level signal from master board will affect the boot of slave board.
Prepare the Demo
Connect a mini USB cable between the PC host and the OpenSDA USB port on the board.
Open a serial terminal on PC for OpenSDA serial device with these 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
You can see the similar message shows following in the terminal if the example runs successfully.
FlexIO SPI edma example
Master Start...
Master runs successfully!
EVK-MIMXRT1064
Hardware requirements
Mini/micro USB cable
Two EVK-MIMXRT1064 boards
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
SLAVE connect to MASTER
Pin Name Board Location Pin Name Board Location
SOUT SW5-2 SIN SW5-3
SIN SW5-3 SOUT SW5-2
SCK SW5-1 SCK SW5-1
PCS0 SW5-4 PCS0 SW5-4
Note: Please start up slave example then connect PCS0(SW5-4) and start up master example, otherwise the high level signal from master board will affect the boot of slave board.
Prepare the Demo
Connect a mini USB cable between the PC host and the OpenSDA USB port on the board.
Open a serial terminal on PC for OpenSDA serial device with these 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
You can see the similar message shows following in the terminal if the example runs successfully.
FlexIO SPI edma example
Slave is working...
Slave runs successfully!
FRDM-MCXA156
Hardware requirements
Type-C USB cable
FRDM-MCXA156 Board
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
MASTER(FlexIO SPI) connect to SLAVE(FlexIO SPI)
Pin Name Board Location Pin Name Board Location
SOUT J8 pin 13 SIN J8 pin 13
SIN J8 pin 14 SOUT J8 pin 14
SCK J8 pin 15 SCK J8 pin 15
PCS0 J8 pin 16 PCS0 J8 pin 16
GND J8 pin 8 GND J8 pin 8
Prepare the Demo
Connect a USB cable between the host PC and the EVK board J21.
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
The log below shows the output of the hello world demo in the terminal window:
FlexIO SPI edma example
Master Start...
Master runs successfully!
FRDM-MCXN236
Hardware requirements
Type-C USB cable
FRDM-MCXN236 board
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
MASTER(FlexIO SPI) connect to SLAVE(FlexIO SPI)
Pin Name Board Location Pin Name Board Location
SOUT J8 pin 26 SIN J8 pin 26
SIN J8 pin 25 SOUT J8 pin 25
SCK J8 pin 27 SCK J8 pin 27
PCS0 J8 pin 28 PCS0 J8 pin 28
Prepare the Demo
Connect a USB cable between the host PC and the EVK board J10.
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
The log below shows the output of the hello world demo in the terminal window:
FlexIO SPI edma example
Master Start...
Master runs successfully!
FRDM-MCXN947
Hardware requirements
Type-C USB cable
FRDM-MCXN947 Board
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
MASTER(FlexIO SPI) connect to SLAVE(FlexIO SPI)
Pin Name Board Location Pin Name Board Location
SOUT J8 pin 26 SIN J8 pin 26
SIN J8 pin 25 SOUT J8 pin 25
SCK J8 pin 27 SCK J8 pin 27
PCS0 J8 pin 28 PCS0 J8 pin 28
GND J8 pin 2 GND J8 pin 2
Prepare the Demo
Connect a USB cable between the host PC and the EVK board J17.
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
The log below shows the output of the hello world demo in the terminal window:
FlexIO SPI edma example
Master Start...
Master runs successfully!
FRDM-MCXN947T
Hardware requirements
Type-C USB cable
FRDM-MCXN947T Board
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
MASTER(FlexIO SPI) connect to SLAVE(FlexIO SPI)
Pin Name Board Location Pin Name Board Location
SOUT J8 pin 26 SIN J8 pin 26
SIN J8 pin 25 SOUT J8 pin 25
SCK J8 pin 27 SCK J8 pin 27
PCS0 J8 pin 28 PCS0 J8 pin 28
GND J8 pin 2 GND J8 pin 2
Prepare the Demo
Connect a USB cable between the host PC and the EVK board J17.
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
The log below shows the output of the hello world demo in the terminal window:
FlexIO SPI edma example
Master Start...
Master runs successfully!
FRDM-MCXW71
Hardware requirements
Type-C USB cable
FRDM-MCXW71 Board
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
MASTER(FlexIO SPI) connect to SLAVE(FlexIO SPI)
Pin Name Board Location Pin Name Board Location
SOUT J1 pin 3 SIN J1 pin 3
SIN J1 pin 2 SOUT J1 pin 2
SCK J1 pin 4 SCK J1 pin 4
PCS0 J1 pin 1 PCS0 J1 pin 1
Prepare the Demo
Connect a USB cable between the host PC and the FRDM board J10.
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
The log below shows the output of the demo in the terminal window:
FlexIO SPI edma example
Master Start...
Master runs successfully!
MCX-W71-EVK
Hardware requirements
Type-C USB cable
MCX-W71-EVK Board
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
MASTER(FlexIO SPI) connect to SLAVE(FlexIO SPI)
Pin Name Board Location Pin Name Board Location
SOUT J1 pin 13 SIN J1 pin 13
SIN J1 pin 7 SOUT J1 pin 7
SCK J1 pin 15 SCK J1 pin 15
PCS0 J1 pin 5 PCS0 J1 pin 5
Prepare the Demo
Connect a USB cable between the host PC and the EVK board J14.
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
The log below shows the output of the demo in the terminal window:
FlexIO SPI edma example
Master Start...
Master runs successfully!
KW45B41Z-EVK
Hardware requirements
Mini/micro USB cable
KW45B41Z-EVK Board
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
MASTER(FlexIO SPI) connect to SLAVE(FlexIO SPI)
Pin Name Board Location Pin Name Board Location
SOUT J1 pin 7 SIN J1 pin 7
SIN J1 pin 4 SOUT J1 pin 4
SCK J1 pin 8 SCK J1 pin 8
PCS0 J1 pin 3 PCS0 J1 pin 3
Prepare the Demo
Connect a USB cable between the host PC and the EVK board J14.
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
The log below shows the output of the demo in the terminal window:
FlexIO SPI edma example
Master Start...
Master runs successfully!
KW47-EVK
Hardware requirements
Type-C USB cable
KW47-EVK Board
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
MASTER(FlexIO SPI) connect to SLAVE(FlexIO SPI)
Pin Name Board Location Pin Name Board Location
SOUT J1 pin 13 SIN J1 pin 13
SIN J1 pin 7 SOUT J1 pin 7
SCK J1 pin 15 SCK J1 pin 15
PCS0 J1 pin 5 PCS0 J1 pin 5
Prepare the Demo
Connect a USB cable between the host PC and the EVK board J14.
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
The log below shows the output of the demo in the terminal window:
FlexIO SPI edma example
Master Start...
Master runs successfully!
MCX-N5XX-EVK
Hardware requirements
Mini/micro USB cable
MCX-N5XX-EVK Board
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
MASTER(FlexIO SPI) connect to SLAVE(FlexIO SPI)
Pin Name Board Location Pin Name Board Location
SOUT J20 pin 26 SIN J20 pin 26
SIN J20 pin 25 SOUT J20 pin 25
SCK J20 pin 27 SCK J20 pin 27
PCS0 J20 pin 28 PCS0 J20 pin 28
GND J20 pin 2 GND J20 pin 2
Prepare the Demo
Connect a USB cable between the host PC and the EVK board J5.
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
The log below shows the output of the hello world demo in the terminal window:
FlexIO SPI edma example
Master Start...
Master runs successfully!
MCX-N9XX-EVK
Hardware requirements
Mini/micro USB cable
MCX-N9XX-EVK Board
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
MASTER(FlexIO SPI) connect to SLAVE(FlexIO SPI)
Pin Name Board Location Pin Name Board Location
SOUT J20 pin 26 SIN J20 pin 26
SIN J20 pin 25 SOUT J20 pin 25
SCK J20 pin 27 SCK J20 pin 27
PCS0 J20 pin 28 PCS0 J20 pin 28
GND J20 pin 2 GND J20 pin 2
Prepare the Demo
Connect a USB cable between the host PC and the EVK board J5.
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
The log below shows the output of the hello world demo in the terminal window:
FlexIO SPI edma example
Master Start...
Master runs successfully!
MCX-W72-EVK
Hardware requirements
Type-C USB cable
MCX-W72-EVK Board
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
MASTER(FlexIO SPI) connect to SLAVE(FlexIO SPI)
Pin Name Board Location Pin Name Board Location
SOUT J1 pin 13 SIN J1 pin 13
SIN J1 pin 7 SOUT J1 pin 7
SCK J1 pin 15 SCK J1 pin 15
PCS0 J1 pin 5 PCS0 J1 pin 5
Prepare the Demo
Connect a USB cable between the host PC and the EVK board J14.
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
The log below shows the output of the demo in the terminal window:
FlexIO SPI edma example
Master Start...
Master runs successfully!
MIMXRT700-EVK
Hardware requirements
Mini/micro USB cable
MIMXRT700-EVK board
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
MASTER(FlexIO SPI) connect to SLAVE(FlexIO SPI)
Pin Name Board Location Pin Name Board Location
MOSI J5 Pin 6 MOSI J5 pin 6
MISO J5 pin 3 MISO J5 Pin 3
SCK J5 pin 4 SCK J5 pin 4
PCS J5 pin 5 PCS J5 pin 5
GND J6 pin 7 GND J6 pin 7
Prepare the Demo
Connect a USB cable between the host PC and the MCU-Link 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
The log below shows the output of the hello world demo in the terminal window:
FlexIO SPI edma example
Master Start...
Master runs successfully!
KW47-LOC
Hardware requirements
Type-C USB cable
KW47-LOC Board
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
MASTER(FlexIO SPI) connect to SLAVE(FlexIO SPI)
Pin Name Board Location Pin Name Board Location
SOUT J2 pin 6 SIN J2 pin 6
SIN J2 pin 5 SOUT J2 pin 5
SCK J2 pin 4 SCK J2 pin 4
PCS0 J2 pin 3 PCS0 J2 pin 3
Short the JP24-2 and JP24-3 with the jumper, other jumpers keep default configuration.
Prepare the Demo
Connect a USB cable between the host PC and the LOC board J3.
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
The log below shows the output of the demo in the terminal window:
FlexIO SPI edma example
Master Start...
Master runs successfully!
MCXW72-LOC
Hardware requirements
Type-C USB cable
MCXW72-LOC Board
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
MASTER(FlexIO SPI) connect to SLAVE(FlexIO SPI)
Pin Name Board Location Pin Name Board Location
SOUT J2 pin 6 SIN J2 pin 6
SIN J2 pin 5 SOUT J2 pin 5
SCK J2 pin 4 SCK J2 pin 4
PCS0 J2 pin 3 PCS0 J2 pin 3
Short the JP24-2 and JP24-3 with the jumper, other jumpers keep default configuration.
Prepare the Demo
Connect a USB cable between the host PC and the LOC board J3.
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
The log below shows the output of the demo in the terminal window:
FlexIO SPI edma example
Master Start...
Master runs successfully!
FRDM-MCXA266
Hardware requirements
Type-C USB cable
FRDM-MCXA266 Board
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
MASTER(FlexIO SPI) connect to SLAVE(FlexIO SPI)
Pin Name Board Location Pin Name Board Location
SOUT J8 pin 13 SIN J8 pin 13
SIN J8 pin 14 SOUT J8 pin 14
SCK J8 pin 15 SCK J8 pin 15
PCS0 J8 pin 16 PCS0 J8 pin 16
GND J8 pin 2 GND J8 pin 2
Prepare the Demo
Connect a USB cable between the host PC and the EVK 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
The log below shows the output of the hello world demo in the terminal window:
FlexIO SPI edma example
Master Start...
Master runs successfully!
FRDM-MCXA366
Hardware requirements
Type-C USB cable
FRDM-MCXA366 Board
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
MASTER(FlexIO SPI) connect to SLAVE(FlexIO SPI)
Pin Name Board Location Pin Name Board Location
SOUT J8 pin 13 SIN J8 pin 13
SIN J8 pin 14 SOUT J8 pin 14
SCK J8 pin 15 SCK J8 pin 15
PCS0 J8 pin 16 PCS0 J8 pin 16
GND J8 pin 2 GND J8 pin 2
Prepare the Demo
Connect a USB cable between the host PC and the EVK 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
The log below shows the output of the hello world demo in the terminal window:
FlexIO SPI edma example
Master Start...
Master runs successfully!
FRDM-MCXW72
Hardware requirements
Type-C USB cable
FRDM-MCXW72 Board
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
MASTER(FlexIO SPI) connect to SLAVE(FlexIO SPI)
Pin Name Board Location Pin Name Board Location
SOUT J5 pin 6 SIN J5 pin 6
SIN J5 pin 5 SOUT J5 pin 5
SCK J5 pin 4 SCK J5 pin 4
PCS0 J5 pin 3 PCS0 J5 pin 3
Other jumpers keep default configuration.
Prepare the Demo
Connect a USB cable between the host PC and the FRDM board J10.
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
The log below shows the output of the demo in the terminal window:
FlexIO SPI edma example
Master Start...
Master runs successfully!
FRDM-MCXA577
Hardware requirements
Type-C USB cable
FRDM-MCXA577 Board
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
MASTER(FlexIO SPI) connect to SLAVE(FlexIO SPI)
Pin Name Board Location Pin Name Board Location
SOUT J8 pin 13 SIN J8 pin 13
SIN J8 pin 14 SOUT J8 pin 14
SCK J8 pin 15 SCK J8 pin 15
PCS0 J8 pin 16 PCS0 J8 pin 16
GND J8 pin 2 GND J8 pin 2
Prepare the Demo
Connect a USB cable between the host PC and the EVK 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
The log below shows the output of the hello world demo in the terminal window:
FlexIO SPI edma example
Master Start...
Master runs successfully!
FRDM-MCXA287
Hardware requirements
Type-C USB cable
FRDM-MCXA287 Board
Personal Computer
Board settings
To make the example work, connections needed to be as follows:
MASTER(FlexIO SPI) connect to SLAVE(FlexIO SPI)
Pin Name Board Location Pin Name Board Location
SOUT J8 pin 13 SIN J8 pin 13
SIN J8 pin 14 SOUT J8 pin 14
SCK J8 pin 15 SCK J8 pin 15
PCS0 J8 pin 16 PCS0 J8 pin 16
GND J8 pin 2 GND J8 pin 2
Prepare the Demo
Connect a USB cable between the host PC and the EVK 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
The log below shows the output of the hello world demo in the terminal window:
FlexIO SPI edma example
Master Start...
Master runs successfully!