/*!
 * @file        readme.txt
 *
 * @brief       This file is routine instruction
 *
 * @version     V1.0.5
 *
 * @date        2026-11-11
 *
 * @attention
 *
 *  Copyright (C) 2020-2022 Geehy Semiconductor
 *
 *  You may not use this file except in compliance with the
 *  GEEHY COPYRIGHT NOTICE (GEEHY SOFTWARE PACKAGE LICENSE).
 *
 *  The program is only for reference, which is distributed in the hope
 *  that it will be useful and instructional for customers to develop
 *  their software. Unless required by applicable law or agreed to in
 *  writing, the program is distributed on an "AS IS" BASIS, WITHOUT
 *  ANY WARRANTY OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the GEEHY SOFTWARE PACKAGE LICENSE for the governing permissions
 *  and limitations under the License.
 */


&par Example Description

This example sends an I2S buffer from I2S3 to I2S2 by polling the TXE and RXNE flags.
It runs on one APM32F103 board. JTAG is disabled, so download and debug with SWD.

Two transfers run automatically after reset:
  - 16-bit extended, 48 kHz. LED2 turns on when all 32 half-words match.
  - 24-bit, 16 kHz. LED3 turns on when the 24-bit compare passes.
Both LEDs stay off when the corresponding transfer does not finish.

Connect I2S2 and I2S3 pins as follows:
I2S2 WS    (PB12)   to  I2S3 WS  (PA15)
I2S2 CK    (PB13)   to  I2S3 CK   (PB3)
I2S2 SD    (PB15)   to  I2S3 SD   (PB5)

&par Directory contents

  - I2S/I2S_Polling/Source/main.c              Main program

&par IDE environment

  - MDK-ARM V5.36
  - EWARM V8.50.5.26295

&par Hardware and Software environment

  - This example runs on APM32F103_MINI Devices.
