2012年8月29日 星期三

How to select suitable crystals and external components

In http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/APPLICATION_NOTE/CD00221665.pdf

External capacitors calculation

CL :   pF (crystal manufacturer)
CS :   pF

CL1 = CL2 =  pF

Gain margin calculation

ESR :   Ω (crystal manufacturer)
F :   Hz (crystal manufacturer)
CO :   pF (crystal manufacturer)
CL :   pF (crystal manufacturer)
gm :   mA/V (microcontroller manufacturer)

gmcrit =  mA/V
gainmargin = 
crystal will 

Calculating drive level

ESR :   Ω (crystal manufacturer)
F :   Hz (crystal manufacturer)
CL1 :   pF (calculation)
CS :   pF
Cprobe :   pF (oscilloscope manufacturer)
Vpp :   V (measurement)

DL =  uW

Calculating external resistor

F :   Hz (crystal manufacturer)
CL2 :   pF (calculation)
DL :   uW (measurement)
DL :   uW (crystal manufacturer)

REXT =  Ω

2012年8月3日 星期五

How to determine using which flash device to store the configuration data for configuring Altera FPGA

In http://www.altera.com/literature/hb/cfg/cyc_c51014.pdf

Table 1 lists the supported Altera EPCS devices.


Example 1. Compression Ratio Calculation

EP4SGX530 = 189,000,000 bits

EPCS128 = 134,217,728 bits

Preliminary data indicates that compression typically reduces the configuration bitstream size by 35% to 55%. Assume worst case that is 35% decompression.

189,000,000 bits x 0.65 = 122,850,000 bits

The EPCS128 device is suitable.



For example: Cyclone V E FPGA Device 5CEA7

In http://www.altera.com/literature/hb/cyclone-v/cv_51002.pdf
Table 43 lists the uncompressed raw binary file (.rbf) sizes for Cyclone V devices.


The EPCS64 device is suitable for the  Cyclone V E FPGA Device 5CEA7 .