Abov A31G324RLN Implementation Manual Download Page 12

3. Building and running project (Shield board) 

 

A31G324RLN shield board implementation guide 

 

12 

3.2

 

Set up the Starter Kit and Shield board 

3.2.1

 

Set jumpers to control the Starter Kit 

1.

 

The Starter Kit uses USB power-

 

A.

 

Choose  3.3V  and  5.0V  (check  the  maximum  operation  voltage  by  referring  to  the 
specification sheet). 

2.

 

Boot mode selection-

 

A.

 

Open : User Program operation mode (As a default mode) 

B.

 

Short : Boot operation mode (Debugger always enabled) 

3.

 

Power switch selection-

 

A.

 

Jumper to use UART through the USB of the A-Link board 

B.

 

Used to connect UART Tx/Rx 

 
 

 

 

Figure 9. Starter Kit Jumper & Switch 

 

 

 

Summary of Contents for A31G324RLN

Page 1: ...Global Top Smart MCU Innovator www abovsemi com A31G324RLN Shield Board Implementation Guide Application Note Version 1 00...

Page 2: ...to Starter Kit to use Shield board 13 3 3 Connect the Starter Kit to your PC 14 3 3 1 PC connection via USB on the Starter Kit 14 3 4 EBI_LCD user switch 15 3 4 1 Running the EBI_LCD project 15 3 4 2...

Page 3: ...9 Figure 20 Download EBI_LCD Project on A Link 19 Figure 21 Debugging in Keil Debugger Software 20 Figure 22 Check LCD Operation 21 Figure 23 Execute Keil uVision5 for ARM 22 Figure 24 Select Buzzer P...

Page 4: ...List of tables A31G324RLN shield board implementation guide 4 List of tables Table 1 Shield Board Description 11 Table 2 LCD User Switch Operation 21 Table 3 Buzzer User Switch Operation 28...

Page 5: ...on a Starter Kit board The Starter Kit board contains a CMSIS DAP debugger which is called A Link This is the interface firmware for a debug unit that connects the debug port to USB The debug unit co...

Page 6: ...tion guide 6 2 User requirements 2 1 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 Bo...

Page 7: ...rd features the followings Keil complier uVision5 Keil MDK5 software pack including Starter Kit sample code or EVK software Figure 3 Compiler Software 2 3 Reference documents 1 Starter Kit quick guide...

Page 8: ...System requirements 1 Windows PC 7 8 10 2 USB mini B type cable Figure 5 Window PC Mini B Cable 2 5 ABOV website For detailed information about corresponding software and documents you can visit our...

Page 9: ...easier to start the Shield board Following the steps below Step 1 Prepare the Starter Kit Shield Board Step 2 Set up the Starter Kit Shield Board Step 3 Connect the Starter Kit to your PC Step 4 Run...

Page 10: ...evice board and an A Link CMSIS DAP board The two boards can be separated if necessary 2 Device board configuration A ABOV 32 bit MCU X TAL optional B Pin Headers connected to MCU C LED switch and jum...

Page 11: ...rdware components of the Shield board Table 1 Shield Board Description Function Description Remark SW1 User SW PA0 SW2 User SW PA5 SW3 User SW or EBI Reset Pin PB9 Buzzer PWM PA7 TIMER40OUT LCD EBI to...

Page 12: ...r Kit uses USB power A Choose 3 3V and 5 0V check the maximum operation voltage by referring to the specification sheet 2 Boot mode selection A Open User Program operation mode As a default mode B Sho...

Page 13: ...ing and running project Shield board 13 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...

Page 14: ...gure 11 1 If the PC is properly connected the power LED on the device board will be turned on 2 The status LED on the A Link board debugger will be turned on Figure 11 Starter Kit and USB Connection W...

Page 15: ...or ARM must be installed on your PC 1 Execute Keil uVision5 2 Click the Pack Installer icon to run the installer A Pack Installer is a utility to install update software packs Figure 13 Execute Keil u...

Page 16: ...ialog box appears to prompt you to choose a destination folder B Select a destination folder and click OK to run uVision5 Figure 15 Create EBI_LCD Project from Pack Installer 5 The example is copied t...

Page 17: ...t to use Evaluation Kit example source you can download it from ABOV official website A Once downloading is complete unzip the file and run EBI_LCD uVision5 in the example directory B See the Keil Set...

Page 18: ...ld all target files on the created uVision5 EBI_LCD Project 1 Select Rebuild to proceed with compilation 2 The compile result can be checked in Build Output Make sure there are no errors in the projec...

Page 19: ...P Debugger is selected in the Debug tab use CMSIS DAP for A Link B Click Settings and check that A Link CMSIS DAP is selected in the Debug tab C Check that the correct flash loaders of the device are...

Page 20: ...ng EBI_LCD Debugging in Keil uVision5 1 Run Start Stop Debugger Session to enter debugger mode A The Starter Kit must be connected for real time interactive debugging B In Keil debugger mode the progr...

Page 21: ...program re apply the power removing the USB cable to check whether the LCD is Flicker Table 2 LCD User Switch Operation User switch LCD display Operation SW1 PA0 LCD MODE0 LCD Color Flicker Green Bro...

Page 22: ...or ARM must be installed on your PC 1 Execute Keil uVision5 2 Click the Pack Installer icon to run the installer A Pack Installer is a utility to install update software packs Figure 23 Execute Keil u...

Page 23: ...dialog box appears to prompt you to choose a destination folder B Select a destination folder and click OK to run uVision5 Figure 25 Create Buzzer Project from Pack Installer 5 The example is copied t...

Page 24: ...nt to use Evaluation Kit example source you can download it from ABOV official website A Once downloading is complete unzip the file and run Buzzer uVision5 in the example directory B See the Keil Set...

Page 25: ...ld all target files on the created uVision5 Buzzer Project 1 Select Rebuild to proceed with compilation 2 The compile result can be checked in Build Output Make sure there are no errors in the project...

Page 26: ...AP Debugger is selected in the Debug tab use CMSIS DAP for A Link B Click Settings and check that A Link CMSIS DAP is selected in the Debug tab C Check that the correct flash loaders of the device are...

Page 27: ...ing Buzzer Debugging in Keil uVision5 1 Run Start Stop Debugger Session to enter debugger mode A The Starter Kit must be connected for real time interactive debugging B In Keil debugger mode the progr...

Page 28: ...ing the Buzzer operation How to check the Buzzer operation 1 After downloading the Buzzer program re apply the power to check whether the Buzzer operates Table 3 Buzzer User Switch Operation User swit...

Page 29: ...for ARM must be installed on your PC 1 Execute Keil uVision5 2 Click the Pack Installer icon to run the installer A Pack Installer is a utility to install update software packs Figure 33 Execute Keil...

Page 30: ...dialog box appears to prompt you to choose a destination folder B Select a destination folder and click OK to run uVision5 Figure 35 Create EEPROM Project from Pack Installer 5 The example is copied t...

Page 31: ...to use Evaluation Kit example source you can download it from ABOV official website A Once downloading is complete unzip the file and run EEPROM uVision5 in the example directory B See the Keil Setti...

Page 32: ...ld all target files on the created uVision5 EEPROM Project 1 Select Rebuild to proceed with compilation 2 The compile result can be checked in Build Output Make sure there are no errors in the project...

Page 33: ...AP Debugger is selected in the Debug tab use CMSIS DAP for A Link B Click Settings and check that A Link CMSIS DAP is selected in the Debug tab C Check that the correct flash loaders of the device are...

Page 34: ...ing EEPROM Debugging in Keil uVision5 1 Run Start Stop Debugger Session to enter debugger mode A The Starter Kit must be connected for real time interactive debugging B In Keil debugger mode the progr...

Page 35: ...oject Shield board 35 3 6 5 Checking the EEPROM operation How to check the EEPROM operation 1 After downloading the EEPROM program re apply the power to check whether the EEPROM operates Figure 42 Che...

Page 36: ...Revision history A31G324RLN shield board implementation guide 36 Revision history Date Version Description 20 12 04 1 00 Document created...

Page 37: ...ranties and shall not be responsible or liable for any injuries or damages related to use of ABOV products in such unauthorized applications ABOV and the ABOV logo are trademarks of ABOV All other pro...

Reviews: