15-22
LatticeECP2/M sysCONFIG Usage Guide
DONE_OD defaults to ON. DONE_OD ON forces the DONE pin type to be open- drain. When connecting multiple
DONE pins together all of the pins should be open- drain, however it may be advantageous to have an actively
driven DONE pin on the last device. Setting DONE_OD to OFF makes the DONE pin an actively driven pin, rather
than open-drain.
DONE_EX defaults to OFF. Setting DONE_EX to ON will cause LatticeECP2/M to sample the DONE pin and, if the
DONE pin is held low externally, delay the wake-up sequence. Setting DONE_EX to OFF will cause the device to
wake-up as soon as the internal Done bit is set.
Device Wake-Up
When configuration is complete the device will wake up in a predictable fashion. Wake-Up occurs after successful
configuration, without errors, and provides the transition from Configuration Mode to User Mode. The Wake-Up pro-
cess begins when the internal Done bit is set.
Table 15-9 provides a list of the Wake-Up sequences supported by the LatticeECP2/M; Figure 15-12 shows the
Wake-Up timing. The WAKE_UP defaults work fine for the vast majority of applications. To set the WAKE_UP
options in Diamond, see Appendix A.
Table 15-9. Wake-Up Options
Sequence
Phase T0
Phase T1
Phase T2
Phase T3
1
DONE
GOE, GWDIS, GSR
2
DONE
GOE, GWDIS, GSR
3
DONE
GOE, GWDIS, GSR
4
DONE
GOE
GWDIS, GSR
5
DONE
GOE
GWDIS, GSR
6
DONE
GOE
GWDIS
GSR
7
DONE
GOE
GSR
GWDIS
8
DONE
GOE, GWDIS, GSR
9
DONE
GOE, GWDIS, GSR
10
DONE
GWDIS, GSR
GOE
11
DONE
GOE
GWDIS, GSR
12
DONE
GOE, GWDIS, GSR
13
GOE, GWDIS, GSR
DONE
14
GOE
DONE
GWDIS, GSR
15
GOE, GWDIS
DONE
GSR
16
GWDIS
DONE
GOE, GSR
17
GWDIS, GSR
DONE
GOE
18
GOE, GSR
DONE
GWDIS
19
GOE, GWDIS, GSR
DONE
20
GOE, GWDIS, GSR
DONE
21 (Default)
GOE
GWDIS, GSR
DONE
22
GOE, GWDIS
GSR
DONE
23
GWDIS
GOE, GSR
DONE
24
GWDIS, GSR
GOE
DONE
25
GOE, GSR
GWDIS
DONE