How to use the GUI to configure and test the EVAL-L9907-H
UM2119
6/23
DocID029822 Rev 1
2
How to use the GUI to configure and test the EVAL-
L9907-H
The following procedure has to be followed to start the EVAL-L9907-H Device using the
L9907-H GUI.
A. Start up at Vcc= 3.3 V
1.
Configure the COM port
2.
Press “OK” button
3.
Send the SPI frame 0xC800 (0b 1100100000000000) - DIAG & 0xE000 (0b– DIAG2
4.
In the field #3 (see
) it is possible to read the device answer in bit, in the field
n° 4 it is possible to read the SDI and SDO signals expressed in hex.
5.
Check the FS_FLAG status (field #6). The value must be 01
B. Start up at Vcc= 5 V
The Power Up default value for Vcc over voltage threshold is “10”, corresponding to
Vcc=3.3 V application. The below procedure has to be followed in order to use Vcc=5 V (for
more details see the EVAL-L9907-H HW Manual):
1.
Configure the COM port
2.
Press “OK” button”
3.
In field #7, force one of the EN pins to 0
4.
Send the command 0x2401 (0b 0010010000000001) – CMD1 register in order to reset
the fault.
5.
Press “SEND” in the field #4. If the communication has been established and the
command has been sent and interpreted properly, the LED “SPI SEND OK” will be
turned on. The LED “SPI RECEIVE OK” will be turned on if the device answer has
been received properly.
6.
The field #3 will be updated with the device registers value as well as in the field #4 the
SDI and SDO expressed in hex
7.
Send the SPI frame 0xC800 (0b 1100100000000000) - DIAG & 0xE000
(0b1110000000000000) – DIAG2
8.
Set High the EN pin previously set to zero (step 3).
9.
Check the FS_FLAG status (field #6): the value should be 01
C. How to start the PWM independently
1.
Set the desired channel (L1, L2, L3, H1, H2 and H3) – Field #5
2.
Insert the frequency value in the field #5.
3. Press
“SET”.
4.
Set Duty Cycle value.
5.
Press “START”, to enable the PWM signals
6.
In the field #5, press “STOP PWM” to stop the PWM signals.
7.
Press the button “STOP” on the top side of the GUI to stop the execution of Labview
code and close the window.