Download Print this page

Advertisement

Quick Links

User Manual
APM32F051 EVAL Board
Version: V1.0

Advertisement

loading
Need help?

Need help?

Do you have a question about the APM32F051 and is the answer not in the manual?

Questions and answers

Summary of Contents for Geehy SEMICONDUCTOR APM32F051

  • Page 1 User Manual APM32F051 EVAL Board Version: V1.0...
  • Page 2 Introduction This User Manual mainly describes the functions, on-board resources and supporting SDK of APM32F051 EVA Board. The SDK and related data mentioned in the document can be obtained from the official website of Geehy (www.geehy. com). APM32 Ecosystem The APM32 ecosystem includes product application solution, hardware development board, download simulation tool, development tool chain and SDK.
  • Page 3 Evaluation board The APM32F051 EVAL Board is a complete demonstration and development platform for the basic APM32F0xx series MCU, which is used to demonstrate RS485, RTC, TSC and other peripheral functions. It carries an APM32F051R8T6 MCU chip, which is based on ARM Cortex-M0+core, with operating frequency 48MHz, Flash 64KB, and has a standard JTAG interface and supports users to simulate and download programs.
  • Page 4 Contents Introduction ........................1 Function overview ......................4 SDK Overview ........................7 References ........................15 Revision History ......................16 www.geehy.com Page 3...
  • Page 5 Function overview The APM32F051 EVAL Board includes the following peripheral functions, and is equipped with the EVAL SDK, which can help developers evaluate chip performance or develop related applications 1.TFT LCD 2.EEPROM 3.SPI FLASH 4.Touch Sensor Keyboard 5.Potentiometer 6.RS485 7.Button x 4 8.LED x 4...
  • Page 6 Power supply APM32F051 EVAL Board can be powered by external 5V DC power supply or USB. JTAG interface can supply power to MCU, and other required voltages are provided by on-board voltage regulator. Figure 4 Power Supply of Evaluation Board Battery interface On-board CR1220 standard battery interface.
  • Page 7 LCD screen A SPI LCD control interface is provided. The supporting routine is 2.4-inch TFT LCD screen with 240 x 320 pixels, and the control chip is ILI9341. The LCD screen is driven through MCU SPI interface. LED lights 4 general red LED lights on board, which can be used for display. Keys 4 keys provided, which can be used for LCD menu switching or other input purposes.
  • Page 8 SDK Overview The SDK is provided in the form of compressed packages, including on-board driver packages, such as basic LED, Button and COM drivers, I2C for EEPROM driver packages, LCD screen driver packages and W25Q16 Flash driver packages, as well as multiple necessary libraries, such as APM32F0xx standard library, TSC device library and many applications that are easy to reuse, such as EEPROM reading and writing, LCD multi-level menu, RTC calendar, TSC, and RS485.
  • Page 9 On-board driver The on-board drivers contain basic LED, Button and COM drivers, I2C for EEPROM driver package, LCD screen driver package and W25Q16 Flash driver package. Figure 7 On-board Driver Library file The library files contain the APM32F0xx standard library and TSC device library. IDE support This SDK routine is equipped with the engineering of two development tools of Keil-MDK and IAR for Arm.
  • Page 10 3.4.1 The ADC uses a 10K potentiometer as the sampling source, which can be adjusted by the knob. The AD sampling channel is channel 10. After downloading and running of the routine, the change of the voltage value sampled by ADC will be displayed in real time on the on-board LCD.
  • Page 11 LCD Menu 3.4.3 This routine uses SPI to drive a 2.4- inch LCD screen to display a sample of multi-level menu. Figure 10 LCD Menu www.geehy.com Page 10...
  • Page 12 RTC Clock 3.4.4 This routine uses RTC and displays an example of RTC calendar in combination with LCD screen. Figure 11 RTC Menu SPI Flash 3.4.5 This routine uses SPI to access the external flash chip W25Q16, with a size of 2MB. The test process is to write and read data to Flash and compare them.
  • Page 13 3.4.6 The TSC Key Liner Rotate routine mainly displays the response results of touch keys. Figure 13 TSC Key Liner Rotate Menu The touch sensing function of APM32 is implemented based on the principle of surface charge transfer and acquisition. The principle is to charge the sensor capacitor Cx and transfer the accumulated charge to the sampling capacitor Cs.
  • Page 14 USART Polling 3.4.7 This routine shows how to transmit and receive serial port data by polling. The test process is to send the string '123456' to the upper computer through USART1, the upper computer returns the same string '123456', and then the lower computer checks and matches, and finally displays the matching results.
  • Page 15 USART RS485 3.4.9 This routine shows receiving RS485 data in interrupt mode. The test process is to wait for the upper computer through the USART2 to send data to the evaluation board through the USB to RS485 converter. Figure 17 USART RS485 Menu www.geehy.com Page 14...
  • Page 16 References For chip specifications and peripheral details, see APM32F051x8xB Data Manual, APM32F051x8xB User Manual and APM32F051 EVAL Board Schematic Diagram. For more technical support, please visit the official website of Geehy: www.geohy.com. www.geehy.com Page 15...
  • Page 17 Revision History Table 1 Document Revision History Date Revision Changes 2023.1.18 www.geehy.com Page 16...
  • Page 18 Statement This manual is formulated and published by Zhuhai Geehy Semiconductor Co., Ltd. (hereinafter referred to as "Geehy"). The contents in this manual are protected by laws and regulations of trademark, copyright and software copyright. Geehy reserves the right to correct and modify this manual at any time.
  • Page 19 (including without limitation data loss or inaccuracy, or losses suffered by users or third parties). 8. Scope of application The information in this manual replaces the information provided in all previous versions of the manual. ©2023 Zhuhai Geehy Semiconductor Co., Ltd. - All Rights Reserved www.geehy.com Page 18...