beautypg.com

Sundance SMT390-VP User Manual

Page 21

background image

Version 2.4

Page 21 of 55

SMT390-VP User Manual

INIT

CONFIG

IDLE

TIM Reset or nConfig

Start Key Received

FPGA Configured and

End Key Received

FPGA Configured

and End Key Received

Figure 9 - Microcontroller State Machine.

At power-up or on a TIM Reset or on a nConfig line going low, the state machine
goes into an INIT State. TIM Reset and nConfig lines are available on the carrier
module – see TIM Specifications for location on TIM connectors).
From there, it has two choices depending on the state of the FPGA (configured i.e.
DONE pin high or un-programmed i.e. DONE Pin Low). To reconfigure the FPGA,
simply send a Start Key followed by the bitstream and then and End Key. To re-start
the FPGA with the current bitstream loaded, simply send an End Key.
Start Key = 0xBCBCBCBC and End Key = 0xBCBCBC00.

A TIM Reset can be issued to reconfigure the FPGA at anytime, but may reset other
modules as well. In the case of reconfiguring a particular module, the nConfig line is
used.
MSP430 is connected to ComPort 3 of the TIM. ComPort 0 is used to communicate
with FPGA.