background image

26

AT40K Series Configuration

1009B–FPGA–03/02

Figure 11.

Cascade 0 11 Configurator System Application

In Mode 1, CCLK is driven by an external device, most often either a microprocessor or
a Master Serial FPGA, in cascade mode. Like the Master Serial device, serial data is
driven into the D

0

pin of the FPGA. To begin configuration, CON must be driven Low.

Once the bitstream is completed, CON is released by the FPGA, indicating the device is
completely ready for user operation. Configuration time depends on the frequency of the
external clock driving CCLK. The maximum frequency in which a Mode 1 device can be
downloaded is 33 MHz. A full bitstream for the AT40K20 can be downloaded in only 4.6
ms (30 ns per bit of configuration data).

Note that all D

0

inputs for the FPGAs in the cascade chain are tied in parallel. The Mas-

ter Serial device does not accept data intended for downstream devices and propagate
it to the next device; instead, it simply passes a chip select downstream. Note that
CSOUT of the upstream Master Serial device is connected to the CS

0

of the down-

stream device.

CS

0

is a dual-use I/O pin is required as a chip select to enable the part to claim the con-

figuration, so care must be taken by the user not to use the CS

0

pin in such a manner

that the part may not be reconfigured. As an example, if the user programs CS

0

as an

output driving High, then CS

0

cannot be lowered, and the part will never reconfigure

without first either powering down or manually resetting. It is recommended therefore
that for Slave Serial Mode, the user leave CS

0

as an input.

Figure 12 shows the timing of the configuration interface after manually initiating a con-
figuration download from the idle state (without reset). Figure 13 shows the timing of the
configuration interface at the end of configuration download. Figure 14 shows the timing
of the configuration interface at the interface of the upstream and downstream devices
in the cascade chain. Table 12 shows the configuration timing parameters pertaining to
these timing diagrams.

M0

M1

M2

OTS

CHECK

CCLK

D<0>

RESET

INIT

CON

CSOUT

AT40K

Mode 0

Master Serial

M0

M1

M2

OTS

CHECK

CCLK

CS

0

D<0>

RESET

INIT

CON

AT40K
Mode 1

VDD

Optional IO

Optional IO

M0

M1

M2

OTS
CHECK

CCLK

D<0>

RESET

INIT

CON

AT40K
Mode 1

VDD

Optional IO

Optional IO

CLK

DATA

CE

RESET

AT17C65

CLK

DATA

CE
RESET

CEO

AT17C010

VSS

RESET

INIT

Optional IO

Optional IO

CSOUT

CS

0

           

Summary of Contents for AT40K

Page 1: ...power is first applied to the part The FPGA initiates a complete clearing of all internal configuration SRAM configuration clear cycle The second manual reset occurs when the RESET pin is driven Low...

Page 2: ...e or 16 bit wide parallel data In Slave Parallel Up Mode the device receives either 8 bit or 16 bit wide parallel data and generates a 20 bit address up counter for use in addressing memories CCLK is...

Page 3: ...Trigger Input 50K Pull up Schmitt Trigger Input 50K Pull up Schmitt Trigger Input 50K Pull up Schmitt Trigger Input 50K Pull up HDC Output Output Output Output Output Output User I O User I O LDC Out...

Page 4: ...ain an open drain bi directional pin which signals if an error is encountered during the download of a configuration bit stream In addition during the Check Function the INIT pin drives Low for any co...

Page 5: ...D15 pins will transition from the user programmed state to CMOS inputs with nominal 20K internal pull up resistors as the SRAM at those locations is cleared by the configuration clear cycle When in M...

Page 6: ...ces causes the INIT pin to go Low During power on reset or manual reset CHECK is controlled by the configura tion SRAM The CHECK pin will transition from the user programmed state to a CMOS input with...

Page 7: ...ation clear cycle Once INIT goes High the mode pins are sampled If Mode 0 is detected the part proceeds to the configuration download state CON is held Low by the FPGA HDC remains High LDC remains Low...

Page 8: ...ce Array Size Clear Cycle Time Units Min Typ Max AT40K05 16 x 16 137 228 365 s AT40K10 24 x 24 197 328 525 s AT40K20 32 x 32 257 428 685 s AT40K30 40 x 40 317 528 845 s AT40K40 48 x 48 377 628 1005 s...

Page 9: ...tegration a bit in the control register CR31 may be set which com mands all I O pins not part of the configuration interface to go tri stated This bit is set at the start of configuration so the very...

Page 10: ...esigner IDS Software Options section Go to the Options menu on the IDS Figaro main window and select Options Choose AT40K Bitstream from the topics list 1 Note 1 IDS uses names B0 B31 for CR0 CR31 for...

Page 11: ...pin an input which controls the global tri state control for all user I O CR7 0 8 bit data access 1 16 bit Wide data access CR7 is the Wide data control bit Setting this bit immediately enables bits...

Page 12: ...he fast clocks The clock buffers are enabled and disabled synchronously with the rising edge of the respec tive FCLK signal and stop in a High 1 state Setting one of these bits disables the appropriat...

Page 13: ...tream is clocked into the device Figure 6 dis plays a sample 8 bit wide bitstream for an AT40K series device Figure 3 Configuration Download State Machine Idle Power on or Manual Reset No Yes No Hold...

Page 14: ...ach other Each of these areas is known as a window After the control register the device loads the number of configuration windows A single bitstream can have up to 64K windows The minimum data block...

Page 15: ...gister Once set the configuration claims the upper 8 dual use I O data pins D8 D15 This implies that at the start of a parallel download in which the user wants wide data bandwidth and D8 D15 as user...

Page 16: ...and compared to the bitstream on a byte by byte basis in the configuration logic Any differences are reported by driving the INIT pin Low The INIT pin will lower two clocks after the miscompare The Ch...

Page 17: ...nated all config uration pins are released by the configuration logic and the configuration state returns to Idle A bad preamble causes the INIT pin to be driven Low and causes the bitstream to be ter...

Page 18: ...in system level integration AT40K series devices have available a number of bits in the control register which cause the I O pins to tri state the Global Set Reset network to activate Low and the Glob...

Page 19: ...al after CON is driven Low The nets are forced High for glitch less suppression of activity 2 User I O are tri stated on the first rising edge of CCLK after CON has been driven Low CCLK CON GLOBAL SET...

Page 20: ...LY TRI STATED DURING CONFIGURATION GLOBAL SET RESET NET 3 GCLK 1 FCLK 1 INTERNAL CLOCK NET USER CONTROL OPTIONALLY FORCED ON LOW DURING CONFIGURATION OPTIONALLY DISABLED DURING CONFIGURATION tHGF USER...

Page 21: ...At the end of power on reset or manual reset CON is not pulsed High For the AT40K series devices either the RESET or INIT pin is tied to the Configurator OE RESET pin and CON is tied to the Configura...

Page 22: ...Serial Start of Auto configuration Download Note 1 Parameter tOE is taken from the AT17 series datasheet 50K PULL UP INTERNAL tPCCLK tICCLK 20K PULL UP INTERNAL tOE 1 tHCD tSCD BITSTREAM BIT 0 BIT 1 B...

Page 23: ...ly but the FPGA will not claim the configuration interface until after the first ris ing edge of CCLK after CON goes Low The D0 pin is a dual use I O but must remain an input in order for re configura...

Page 24: ...edge of CON to first rising edge of CCLK to start recognition 0 6 1 1 6 s tSCCCLK Setup time for CHECK with respect to rising edge of CCLK at the start of a configuration download 6 10 16 ns tDCI Dela...

Page 25: ...on with a Mode 1 device serial EEPROM in a cascade chain with a Mode 0 device as the master in the chain Configuration Data Source Serial EEPROM Microprocessor Dedicated Configuration Pins RESET CON M...

Page 26: ...l use I O pin is required as a chip select to enable the part to claim the con figuration so care must be taken by the user not to use the CS0 pin in such a manner that the part may not be reconfigure...

Page 27: ...usion if the FPGA does drive the pin Low 2 For configuration interface inputs tDCI indicates the time for the user I O to tri state 3 The pins CSOUT and CHECK are claimed by the configuration interfac...

Page 28: ...ror shown The proper value is 1 The error is shown for timing purposes only under normal circumstances the bitstream download would terminate prematurely 2 The pins CSOUT and CHECK are claimed by the...

Page 29: ...CCLK Setup time for CHECK with respect to rising edge of CCLK at the start of a configuration download 6 10 16 ns tDCI Delay from rising edge of CCLK to activation of configuration interface at the st...

Page 30: ...ed CON is released by the FPGA indicating the device is completely ready for user operation Configuration time depends on the frequency of the external clock driving CCLK The maximum frequency in whic...

Page 31: ...usion if the FPGA does drive the pin Low 2 For configuration interface inputs tDCI indicates the time for the user I O to tri state 3 The pins CSOUT and CHECK are claimed by the configuration interfac...

Page 32: ...led 1000 ns tSCC Setup time for CON with respect to rising edge of CCLK 6 10 16 ns tSCD Setup time for data with respect to rising edge of CCLK 6 10 16 ns tHCD Hold time for data with respect to risin...

Page 33: ...ation time depends on the frequency of the external clock driving CCLK The maximum frequency in which a Mode 6 device can be downloaded is 33 MHz A full bitstream for the AT40K20 can be downloaded in...

Page 34: ...w 2 For configuration interface inputs tDCI indicates the time for the user I O to tri state 3 The pins CSOUT and CHECK are claimed by the configuration interface only if enabled by the control regist...

Page 35: ...a with respect to rising edge of CCLK 6 10 16 ns tHCD Hold time for data with respect to rising edge of CCLK 0 0 0 ns tSCCCLK Setup time for CHECK with respect to rising edge of CCLK at the start of a...

Page 36: ...y downstream from a Mode 6 device see Figure 22 Configuration Data Source Microprocessor Parallel EEPROM EPROM PROM Dedicated Configuration Pins RESET CON M0 M1 M2 CCLK Dual use I O D0 D7 INIT LDC HDC...

Page 37: ...15 shows the config uration timing specifications pertaining to these timing diagrams Note that all D0 D7 inputs for the FPGAs in the cascade chain are tied in parallel The upstream device does not ac...

Page 38: ...drive the pin Low 2 For configuration interface inputs tDCI indicates the time for the user I O to tri state 3 The pins CSOUT and CHECK are claimed by the configuration interface only if enabled by t...

Page 39: ...igure 25 Cascade Chain Interface Timing Diagram 1 Notes 1 Cascade bitstream is formed by simple concentration of upstream and downstream bitstreams 2 INIT of upstream and downstream devices are tied t...

Page 40: ...edge of CCLK 0 0 0 ns tSCCCLK Setup time for CHECK with respect to rising edge of CCLK at the start of a configuration download 6 10 16 ns tDCI Delay from rising edge of CCLK to activation of configu...

Page 41: ...3551 FAX 81 3 3523 7581 Memory Atmel Corporate 2325 Orchard Parkway San Jose CA 95131 TEL 1 408 436 4270 FAX 1 408 436 4314 Microcontrollers Atmel Corporate 2325 Orchard Parkway San Jose CA 95131 TEL...

Reviews: