SW to the target device. Using this CMSIS-DAP debugger (A-Link), you can eliminate the needs for additional devices when programming and debug the MCU. In this document, you can learn a method how to operate the A31G324RLN Shield board, as an example, step by step.
A31G324RLN shield board implementation guide User requirements Hardware In this section, you will see the Starter Kit board and Shield board of A31G324RLN in Figure 1 and Figure 2 respectively. Figure 1. A31G324RLN Starter Kit Board (Hardware) Figure 2. A31G324RLN Shield Board (Hardware)
2. User requirements A31G324RLN shield board implementation guide System requirements Windows PC (7, 8, 10) USB mini-B type cable Figure 5. Window PC & Mini-B Cable ABOV website For detailed information about corresponding software and documents, you can visit our website at https://www.abovsemi.com.
A31G324RLN shield board implementation guide 3. Building and running project (Shield board) Building and running project (Shield board) Running application code makes it easier to start the Shield board. Following the steps below: Step 1. Prepare the Starter Kit & Shield Board Step 2.
Pin Headers connected to MCU C. LED, switch and jumper to check input/output, reset, and debugger pins A-Link (CMSIS-DAP/UART) board configuration A-Link for programming and debugging with ABOV 32-bit MCU(connected to USB port of Supports UART Figure 7. Starter Kit Board...
Hardware components of the Shield board Table 1. Shield Board Description Function Description Remark User SW User SW User SW or EBI Reset Pin Buzzer PA7 / TIMER40OUT EBI to LCD EBI 8bit bus AT25080B-SSHL-B EEPROM SPI(20MHz, 8bit) Figure 8. A31G324RLN Shield Board Description...
3. Building and running project (Shield board) A31G324RLN shield board implementation guide Set up the Starter Kit and Shield board 3.2.1 Set jumpers to control the Starter Kit The Starter Kit uses USB power-① Choose 3.3V and 5.0V (check the maximum operation voltage by referring to the specification sheet).
A31G324RLN shield board implementation guide 3. Building and running project (Shield board) 3.2.2 Connect to Starter Kit to use Shield board Connect the header socket of the Shield board to the header pin of the Starter Kit board as shown in Figure 10.
3. Building and running project (Shield board) A31G324RLN shield board implementation guide Connect the Starter Kit to your PC 3.3.1 PC connection via USB on the Starter Kit Connect the USB 2.0 (mini-B type) cable to the Starter Kit as shown in Figure 11.
A31G324RLN shield board implementation guide 3. Building and running project (Shield board) EBI_LCD (user switch) 3.4.1 Running the EBI_LCD project Before downloading the EBI_LCD example, Keil uVision5 for ARM must be installed on your PC. Execute “Keil uVision5”. Click the Pack Installer icon to run the installer.
3. Building and running project (Shield board) A31G324RLN shield board implementation guide Create a Starter Kit example in Pack Installer. When the selected example is copied (①), a dialog box (②) appears to prompt you to choose a destination folder.
If you want to use Evaluation Kit (example source), you can download it from ABOV official website. Once downloading is complete, unzip the file and run EBI_LCD uVision5 in the example directory. See the Keil Setting Guide for detailed instructions. Figure 17. Download Evaluation Kit (Example Source) from ABOV Website...
3. Building and running project (Shield board) A31G324RLN shield board implementation guide 3.4.2 Compiling EBI_LCD Execute “Rebuild all target files” on the created uVision5 (EBI_LCD Project). Select Rebuild (①) to proceed with compilation. The compile result can be checked in Build Output (②). Make sure there are no errors in the project.
A31G324RLN shield board implementation guide 3. Building and running project (Shield board) 3.4.3 Downloading EBI_LCD If the compilation finishes without any error, you can begin programming the Starter Kit. Check the followings if errors occur during the setup process. Check that CMSIS-DAP Debugger (①) is selected in the Debug tab (use CMSIS-DAP for A-Link).
3. Building and running project (Shield board) A31G324RLN shield board implementation guide 3.4.4 Debugging EBI_LCD Debugging in Keil uVision5 Run Start/Stop Debugger Session (①) to enter debugger mode. The Starter Kit must be connected for real-time, interactive debugging. In Keil debugger mode, the program can be executed by run/step.
A31G324RLN shield board implementation guide 3. Building and running project (Shield board) 3.4.5 Checking the EBI_LCD operation How to check the EBI_LCD operation After downloading the EBI_LCD program, re-apply the power (removing the USB cable) to check whether the LCD is Flicker.
3. Building and running project (Shield board) A31G324RLN shield board implementation guide Buzzer (user switch) 3.5.1 Running the Buzzer project Before downloading the Buzzer example, Keil uVision5 for ARM must be installed on your PC. Execute “Keil uVision5”. Click the Pack Installer icon to run the installer.
A31G324RLN shield board implementation guide 3. Building and running project (Shield board) Create a Starter Kit example in Pack Installer. When the selected example is copied (①), a dialog box (②) appears to prompt you to choose a destination folder.
If you want to use Evaluation Kit (example source), you can download it from ABOV official website. Once downloading is complete, unzip the file and run Buzzer uVision5 in the example directory. See the Keil Setting Guide for detailed instructions. Figure 27. Download Evaluation Kit (Example Source) from ABOV Website...
A31G324RLN shield board implementation guide 3. Building and running project (Shield board) 3.5.2 Compiling Buzzer Execute “Rebuild all target files” on the created uVision5 (Buzzer Project). Select Rebuild (①) to proceed with compilation. The compile result can be checked in Build Output (②). Make sure there are no errors in the project.
3. Building and running project (Shield board) A31G324RLN shield board implementation guide 3.5.3 Downloading Buzzer If the compilation finishes without any error, you can begin programming the Starter Kit. Check the followings if errors occur during the setup process. Check that CMSIS-DAP Debugger (①) is selected in the Debug tab (use CMSIS-DAP for A-Link).
A31G324RLN shield board implementation guide 3. Building and running project (Shield board) 3.5.4 Debugging Buzzer Debugging in Keil uVision5 Run Start/Stop Debugger Session (①) to enter debugger mode. The Starter Kit must be connected for real-time, interactive debugging. In Keil debugger mode, the program can be executed by run/step.
3. Building and running project (Shield board) A31G324RLN shield board implementation guide 3.5.5 Checking the Buzzer operation How to check the Buzzer operation After downloading the Buzzer program, re-apply the power to check whether the Buzzer operates. Table 3. Buzzer & User Switch Operation...
A31G324RLN shield board implementation guide 3. Building and running project (Shield board) EEPROM (use SPI in USART) 3.6.1 Running the EEPROM project Before downloading the EEPROM example, Keil uVision5 for ARM must be installed on your PC. Execute “Keil uVision5”.
3. Building and running project (Shield board) A31G324RLN shield board implementation guide Create a Starter Kit example in Pack Installer. When the selected example is copied (①), a dialog box (②) appears to prompt you to choose a destination folder.
If want to use Evaluation Kit (example source), you can download it from ABOV official website. Once downloading is complete, unzip the file and run EEPROM uVision5 in the example directory. See the Keil Setting Guide for detailed instructions. Figure 37. Download Evaluation Kit (Example Source) from ABOV Website...
3. Building and running project (Shield board) A31G324RLN shield board implementation guide 3.6.2 Compiling EEPROM Execute “Rebuild all target files” on the created uVision5 (EEPROM Project). Select Rebuild (①) to proceed with compilation. The compile result can be checked in Build Output (②). Make sure there are no errors in the project.
A31G324RLN shield board implementation guide 3. Building and running project (Shield board) 3.6.3 Downloading EEPROM If the compilation finishes without any error, you can begin programming the Starter Kit. Check the followings if errors occur during the setup process. Check that CMSIS-DAP Debugger (①) is selected in the Debug tab (use CMSIS-DAP for A-Link).
3. Building and running project (Shield board) A31G324RLN shield board implementation guide 3.6.4 Debugging EEPROM Debugging in Keil uVision5 Run Start/Stop Debugger Session (①) to enter debugger mode. The Starter Kit must be connected for real-time, interactive debugging. In Keil debugger mode, the program can be executed by run/step.
A31G324RLN shield board implementation guide 3. Building and running project (Shield board) 3.6.5 Checking the EEPROM operation How to check the EEPROM operation After downloading the EEPROM program, re-apply the power to check whether the EEPROM operates. 1. Write Byte & Erase Byte 2.
Revision history A31G324RLN shield board implementation guide Revision history Date Version Description 20.12.04 1.00 Document created...
Page 37
ABOV Semiconductor ("ABOV") reserves the right to make changes, corrections, enhancements, modifications, and improvements to ABOV products and/or to this document at any time without notice. ABOV does not give warranties as to the accuracy or completeness of the information included herein. Purchasers should obtain the latest relevant information of ABOV products before placing orders.