Overview
========
The flexio_i2s_dma example shows how to use flexio_i2s driver with EDMA:

In this example, flexio acts as I2S module to record data from line-in line and playbacks the recorded data at the same time using EDMA.

Toolchain supported
===================
- IAR embedded Workbench  8.32.3
- Keil MDK  5.27
- GCC ARM Embedded  8.2.1
- MCUXpresso  11.0.0

Hardware requirements
=====================
- Mini/micro USB cable
- FRDM-K32L2B board
- USB-to-COM external
- Personal Computer

Board settings
==============
The connection should be set as following:
--	
	      K32L2B                 MAO
	J4.2  (PTB0 I2C0_SCL)    	J1.1
	J4.4  (PTB1 I2C0_SDA)	  	J1.3	
	
	J2.4  (PTD2 MCLK)			J4.9
	J2.6  (PTD4 BCLK)			J1.16
	J2.12 (PTD5 FS)				J1.18
	
	J1.6  (PTD3 TX)				J1.20 (RX)
	J2.8  (PTD6 RX)				J1.10 (TX)


Prepare the Demo
================
1.  Connect a mini USB cable between the PC host and the OpenSDA USB port on the board.
2.  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
3.  Download the program to the target board.
4.  Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo
================
[1]: LINE_IN               means user need connect phone or other audio player with MAO using 'Line IN'
[2]: Music_saved_in_Flash  means do not need other operation

When the demo runs successfully, the log would be seen on the UART Terminal port which connected to the USB2COM like:

 FLEXIO_I2S DMA example started!

 FLEXIO I2S DMA example finished!

