Floating-Point Unit Enable Procedure - Analog Devices EVAL-ADuCM420QSP1Z Getting Started Tutorial

Table of Contents

Advertisement

EVAL-ADUCM420QSP1Z
4.
Settings such as Mass Erase and Program can be found by
clicking Configure, then the Flash tab. Select Mass Erase
or Program as needed, and click OK.
Figure 21. Mass Erase and Program Options in MI2CFTWSD
5.
On the EVAL-ADUCM420QSP1Z board, press the
SERIAL_DOWNLOAD button and pulse the RESET
button to set up the device in I
6.
Click the Start button in the MI2CFTWSD window. If the
2
I
C connection is established, the status shows the
ADuCM420
is connected, as shown in Figure 22.
Figure 22. I
2
7.
After I
C connection is established. Click the Run button
and it automatically flashes the device and either mass
erases or downloads the program, depending on the
configuration that the user selected in Step 4. Figure 23
shows an example of a complete mass erase on the device.
Figure 23. Complete Mass Erase
8.
Repeat Step 4 through Step 7 to select another option from
the software tool.
User Guide
2
C download mode.
2
C Connection Established

FLOATING-POINT UNIT ENABLE PROCEDURE

The settings shown in the Project dropdown menu (see Figure 24)
are available on the Keil and IAR software tool environment. By
default, the floating-point unit (FPU) is disabled after the settings
are disabled. Code to enable and output the floating-point value
is added in the SystemInit function in the system_ADuCM420.c
file. This file is located in the example program in the ADuCM420
installer folder named M420_FPU (under the Files list in
Figure 24).
Running the IAR FPU Program
Perform the following steps before running the FPU example
program in the IAR IDE software (downloaded from the
provided IAR installer).
1.
After opening the IAR IDE, click the Project dropdown
menu and select Options (see Figure 24).
Figure 24. Selecting Options in the IAR IDE
2.
From the Category section, click General Options. Then
click the Target tab, and ensure the FPU box in the
Floating point settings section is set to VFPv5 single
precision, as shown in Figure 25.
Rev. 0 | Page 13 of 20
Figure 25. IAR IDE General Options
UG-1926

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EVAL-ADuCM420QSP1Z and is the answer not in the manual?

Questions and answers

Table of Contents