AN1356 STMicroelectronics, AN1356 Datasheet - Page 39

no-image

AN1356

Manufacturer Part Number
AN1356
Description
PSDSOFT EXPRESS AND PSD4235G2 DESIGN GUIDE
Manufacturer
STMicroelectronics
Datasheet
state 1:
state 2:
state 3:
// End user preserved equations (not affected by iterations of DA usage)
===================
Here is the representative state diagram of the state-machine:
Figure 44. Example State Machine
Finishing the design
Click the ‘Fit Design to Silicon’ box. After a successful fit, click the ‘Merge MCU Firmware’ box, and follow
the same procedure used in the first design. No firmware filename needs to be designated for the main
PSD Flash memory segments (fs0 – fs7) since they will be programmed by the P51XA during IAP. Click
OK in the merging screen to create a composite object file, logicXA.obj, for programming. You are now
ready to program the PSD as described in the section entitled “Programming the PSD” on page 21.
if (STINPUTS == ^hAB) then 2 else 1;
if (STINPUTS == ^hCD) then 3 else 2;
sequence_ok = 1;
goto 0;
sequence_ok
State 0
= 0
& sys_ready = 1
begin = 1
// indicate correct sequence was found, then start over
// stay in this state until pattern CDh is found
// stay in this state until pattern ABh is found
State 1
// signal is zero or system is
// not ready
if inputs = 'AB' hex
State 2
AN1356 - APPLICATION NOTE
if inputs = 'CD' hex
sequence_ok
State 3
= 1
AI04085
39/49

Related parts for AN1356