background image

EVAL-ADUCM420QSP1Z

 User Guide 

UG-1926 

 

Rev. 0 | Page 17 of 20 

25844-

019

 

Figure 33. IAR SRAM Output at Mode 0 

Keil SRAM Mode 

Several 

.sct

 and 

.s

 files from the example program allow users to 

select the desired SRAM: 

M420_SramModeX.sct

 and 

SetSramModeX.s

. The X in the file name specifies the mode 

number (0 to 3) for the SRAM. 
1.

 

After the example program is opened from the Keil IDE, the 
files located in the same folder are shown. Ensure that the 

.sct

 and 

.s

 files from the example folder (see Figure 34) are 

used with the corresponding SRAM mode being tested. 

25844-

020

 

Figure 34. SRAM Mode 

.sct

 and 

.s

 Files 

2.

 

By default, the 

M420_SramMode

 macro uses SRAM 

Mode 0. The 

SetSramMode0.s 

assembly file is added to 

the subdirectory as shown in Figure 35. Specify which 
SRAM mode to test in the 

main.c

 file. By default, SRAM 

Mode 0 is tested (see Figure 36)

25844-

021

 

Figure 35. Set Up 

SetSramMode0.s

 

25844-

022

 

Figure 36. Set Up 

M420_SramMode0.sct

 

3.

 

After following Step 1 and Step 2, proceed to set up the 

.sct

 

file located in 

Flash

 > 

Configure Flash Tools

 > 

Linker

. Refer 

to Figure 37 to check the settings highlighted in green are 
correct and that the correct scatter file is chosen (based on 
the SRAM mode configuration). 

4.

 

Running the settings in Figure 38 shows that the ISRAM is 
placed in debug mode via the 

Disassembly

 window. 

 

Содержание EVAL-ADuCM420QSP1Z

Страница 1: ...CSP The ADuCM420 development system EVAL ADUCM420QSP1Z is fully packaged to evaluate all features of the ADuCM420 a high precision analog microcontroller The ADuCM420 includes 12 external AINx channel...

Страница 2: ...are Installation Procedures 7 Keil Vision5 7 CMSIS Pack in Keil Vision5 8 Library and Project Options for ADuCM420 in Keil Vision5 9 IAR IDE Project Settings 9 mIDAS Link Connector Connecting the Hard...

Страница 3: ...CM420QSP1Z User Guide UG 1926 Rev 0 Page 3 of 20 EVAL ADUCM420QSP1Z PHOTOGRAPH UART USB mIDAS Link Digital I Os UART CONNECTOR J LINK CONNECTOR POWER TERMINAL BLOCK 9V WALL WART AINx VDACx 25844 001 F...

Страница 4: ...through LDO regulators to regulate the power supply The ADuCM420 can also configure the IOVDD1 and DVDD power supplies to be 1 2 V or 1 8 V and 1 8 V or 3 3 V respectively To configure these supply op...

Страница 5: ...Table 2 Power Configurations for the EVAL ADUCM420QSP1Z WLCSP EVAL ADUCM420QSP1Z Optional Jumper Information Jumper Configuration P20 Yes Power selection either via USB power or via Arduino power Pin...

Страница 6: ...gle row headers 2 54 mm pitch for example the Samtec SSQ 110 03 G S Figure 3 shows the appropriate connector type For proper slave adapter connection ensure the female part is on the solder side with...

Страница 7: ...s the example codes for the ADuCM420 see Figure 5 25844 003 Figure 5 ADuCM420 examples Folder with Projects KEIL VISION5 The Keil Vision5 integrated development environment IDE integrates all the tool...

Страница 8: ...the first time it may take a few minutes to update the pack installer 25844 105 Figure 6 Pack Installer 2 After the CMSIS pack installer opens click File Import Select and import the ADuCM420 pack th...

Страница 9: ...PROJECT SETTINGS It is recommended for first time users to open an example project from the examples folder For instance the M420_Adc eww file is the IAR Embedded Workbench project file for the ADC e...

Страница 10: ...hose shown in the Additional include directories box see Figure 13 25844 112 Figure 13 C C Compiler Setting 5 Next click the Linker category check the Override default box in the Config tab and browse...

Страница 11: ...le 4 mIDAS Link Pin Labels EVAL ADUCM420QSP1Z Header Pin No mIDAS Link Pin Labels 1 2 DVDD 3 11 19 NC 4 6 8 10 12 14 16 18 DGND 5 P1 0 SIN0 7 SWDIO 9 SWCLK 13 P2 2 SWO option via JP4 15 RESET 17 P1 1...

Страница 12: ...ode to download 25844 009 Figure 19 MDIOWSD GUI 7 To download the code select Program and Verify from the Flash Action box click Start and follow the instructions listed on the GUI Table 5 SUB 20 to E...

Страница 13: ...s Erase 8 Repeat Step 4 through Step 7 to select another option from the software tool FLOATING POINT UNIT ENABLE PROCEDURE The settings shown in the Project dropdown menu see Figure 24 are available...

Страница 14: ...the FPU example program from the Keil IDE included on the ADuCM420 installer 1 After opening the Keil IDE click the Flash dropdown menu and select the Configure Flash Tools option see Figure 26 25844...

Страница 15: ...the settings shown in Figure 28 run the FPU example code from the C Analog Devices ADuCM420 examples M420_FPU folder In debug mode the output Disassembly window displays fractional values of the varia...

Страница 16: ...see Figure 32 placed in the IAR folder within the SramMode example program 25844 016 Figure 30 IAR SRAM Setup main c 2 Configure the macros shown in Figure 30 Figure 31 and Figure 32 to run the SRAM m...

Страница 17: ...844 020 Figure 34 SRAM Mode sct and s Files 2 By default the M420_SramMode macro uses SRAM Mode 0 The SetSramMode0 s assembly file is added to the subdirectory as shown in Figure 35 Specify which SRAM...

Страница 18: ...UG 1926 EVAL ADUCM420QSP1Z User Guide Rev 0 Page 18 of 20 25844 023 Figure 37 Keil SRAM Output Mode 0 25844 024 Figure 38 Flash Configuration Setup...

Страница 19: ...ets Flash Address 0x01FFC 0xFFFFFFFF The example code for the ADuCM420 configures Flash Address 0x01FFC 0xFFFFFFFF See page0_checksum in the system_ADuCM420 c file User Flash Pages Corruption of Reser...

Страница 20: ...e subject to the following additional limitations Customer shall not i rent lease display sell transfer assign sublicense or distribute the Evaluation Board and ii permit any Third Party to access the...

Отзывы: