![Texas Instruments eZ430-TMS37157 Скачать руководство пользователя страница 32](http://html.mh-extra.com/html/texas-instruments/ez430-tms37157/ez430-tms37157_user-manual_1094628032.webp)
Start
Wake PaLFI ,
Read PCU State ,
Serial Number
&
Page 2
Page 2 = 0 ?
Yes
No
Perform Auto Trim
Routine
Switch off PaLFI
// Auto Trim Routine
switches off PaLFI after
Trimming
Wake PaLFI ,
Read Page 9
Copy Page
9 to
Variable
ucPageData
i<
ucPageData [0]
?
Blink green LED
Yes
Increment i
No
Finish
Program
ucPageData to
Page 11
// PaLFI needs to be
trimmed only once
// Page 9 Byte 0 gives
number of LED Blink
cycles
// show possibility of
EEPROM programming
through SPI
// Read PCU State and
Serial Number not
necessary here , only for
demonstration
Switch off PaLFI
MSP430F2274 Firmware Flow Diagrams
www.ti.com
Figure 32. Flow Diagram of Push Button Routine
32
eZ430-TMS37157 Development Tool
SLAU281B
–
November 2009
–
Revised March 2010
Submit Documentation Feedback
Copyright
©
2009
–
2010, Texas Instruments Incorporated