/**
 * @file        readme.txt
 *
 * @brief       This file is routine instruction
 *
 * @version     V1.0.0
 *
 * @date        2023-07-31
 *
 * @attention
 *
 *  Copyright (C) 2023 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

The program aims to show how to use DMC to read and write data to external SDRAM, if the operation is error,
LED3 will turn on.

&par Hardware Description

The USART1 is configured as follows:
    - TX:PA9, RX:PA10
    - BaudRate = 115200 baud
    - Word Length = 8 Bits
    - One Stop Bit
    - No parity
    - Hardware flow control disabled (RTS and CTS signals)
    - Receive and transmit enabled

SDRAM pin configuration:
    - A0   ----> PF1
    - A1   ----> PF2
    - A2   ----> PF3
    - A3   ----> PF4
    - A4   ----> PF6
    - A5   ----> PF7
    - A6   ----> PF8
    - A7   ----> PF9
    - A8   ----> PF10
    - A9   ----> PH3
    - A10  ----> PF0
    - D0   ----> PG3
    - D1   ----> PG4
    - D2   ----> PG5
    - D3   ----> PG6
    - D4   ----> PG8
    - D5   ----> PH13
    - D6   ----> PH15
    - D7   ----> PI3
    - D8   ----> PH8
    - D9   ----> PH10
    - D10  ----> PD10
    - D11  ----> PD12
    - D12  ----> PD13
    - D13  ----> PD14
    - D14  ----> PD15
    - D15  ----> PG2
    - BA   ----> PI11
    - CKE  ----> PA3
    - CLK  ----> PG1
    - LDQM ----> PG15
    - UNQM ----> PF11
    - NWE  ----> PI7
    - NCAS ----> PI8
    - NRAS ----> PI9
    - NCS  ----> PI10

&par Directory contents

  - DMC/DMC_SDRAM/Source/main.c                  Main program
  - DMC/DMC_SDRAM/Source/apm32f4xx_int.c         Interrupt handlers

&par IDE environment

  - MDK-ARM V5.36
  - EWARM V8.50.5.26295
  - ECLIPSE-EMB V4.24.0

&par Hardware and Software environment

  - This example runs on APM32F407 EVAL Devices.
