EVM Software
28
SNVU564A – July 2017 – Revised August 2017
Copyright © 2017, Texas Instruments Incorporated
Using the BOOST-LP5569EVM Evaluation Module
Table 2. Macro Instructions (continued)
MACRO SYNTAX
FUNCTION
EXAMPLE
FIELD_NAME(hex_data)
Field write FIELD_NAME must be same
as the register map on the GUI
exp_en0(0x1); write exp_en0 bit
read_all()
Read all registers
read_all(); real all registers from chip
i2c_addr(hex_addr)
Set slave address
i2c_addr(0x32); use 0x32 slave address
en_pin(high/low
Enable pin control to low or high
en_pin(high); set en pin to high
en_pin(low); set en pin to low
ext_clk(on/off)
External clock control to on or off
ext_clk(on); set ext_clk on ext_clk(off); set
ext_clk off
wait(time_ms)
Wait time in ms
wait(1000); wait 1s
repeat(number_of_loop) { …… }
Loop for repeated macro execution
repeat(10); repeat 10 times {en_pin(high);
en pin set to high chip_en(0x01); set
chip_en bit to 1 read_all(); read all
regsiters wait(1000); en_pin(low); en pin
set to low}
Figure 38. Console Window
Figure 39. Macro File