sam7 hardware considerations frederic boyer at91 support group. version 1.0 october 2006

28
SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

Upload: gary-banks

Post on 17-Dec-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

SAM7 Hardware Considerations

Frederic BOYER

AT91 Support Group.Version 1.0 October 2006

Page 2: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

2 Apr-06 ARM-Based Products Group

AT91SAM7 Power Supply Strategies

• 3.3V Single Power Supply Strategy: On-chip Voltage Regulator Used

• 1.8V & 3.3V Dual Power Supply Strategy:

• On-chip Voltage Regulator not Used and ADC used.

• On-chip Voltage Regulator and ADC not used.

Page 3: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

3 Apr-06 ARM-Based Products Group

AT91SAM7 Power Supply Strategies (cont.)

3.3V Single Power Supply (On-chip Voltage Regulator Used) :

Decoupling Capacitors on all Power Supplies

Page 4: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

4 Apr-06 ARM-Based Products Group

AT91SAM7 Power Supply Strategies (cont.)

VDDIN: Voltage regulator Input and ADC (3.3V).

VDDIO: I/O lines (3.3V) and USB transceivers (SAM7S).

VDDFLASH: Flash (3.3V) and USB transceivers (SAM7X/XC/SE).

3.3V Single Power Supply (On-chip Voltage Regulator Used) :

VDDIN must be connected

to a decoupling/filtering capacitor

to improve start-up stability

and reduce source voltage drop

Page 5: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

5 Apr-06 ARM-Based Products Group

AT91SAM7 Power Supply Strategies (cont.)

VDDOUT: Voltage regulator Output (1.8V).

VDDCORE: On-chip RC, Device and Flash logic (1.8V).

VDDPLL: Main Oscillator and PLL (1.8V).

3.3V Single Power Supply (On-chip Voltage Regulator Used) :

VDDOUT must be connected

to a decoupling/filtering capacitor

to guarantee 1.8V stability

Page 6: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

6 Apr-06 ARM-Based Products Group

AT91SAM7 Power Supply Strategies (cont.)

3.3V & 1.8V Dual Power Supplies(On-chip Voltage Regulator NOT Used and ADC used):

Decoupling Capacitors on all Power Supplies

Page 7: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

7 Apr-06 ARM-Based Products Group

AT91SAM7 Power Supply Strategies (cont.)

VDDIN: ADC Only (3.3V).

VDDIO: I/O lines (3.3V) and USB transceivers (SAM7S).

VDDFLASH: Flash (3.3V) and USB transceivers (SAM7X/XC/SE).

3.3V & 1.8V Dual Power Supplies(On-chip Voltage Regulator NOT Used and ADC used):

VDDIN must be connected

to a decoupling/filtering capacitor

to improve start-up stability

and reduce source voltage drop

Page 8: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

8 Apr-06 ARM-Based Products Group

AT91SAM7 Power Supply Strategies (cont.)

3.3V & 1.8V Dual Power Supplies(On-chip Voltage Regulator NOT Used and ADC used):

VDDCORE: On-chip RC, Device and Flash (1.8V).

VDDPLL: Main Oscillator and PLL (1.8V).

VDDOUT must be connected

to a decoupling/filtering capacitor

to prevent on-chip voltage regulator

oscillations

On-chip Voltage Regulator must be in Idle mode

Page 9: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

9 Apr-06 ARM-Based Products Group

AT91SAM7 Power Supply Strategies (cont.)

3.3V & 1.8V Dual Power Supplies(On-chip Voltage Regulator and ADC NOT Used):

Decoupling Capacitors on all Power Supplies

Page 10: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

10 Apr-06 ARM-Based Products Group

AT91SAM7 Power Supply Strategies (cont.)

VDDIO: I/O lines (3.3V) and USB transceivers (SAM7S).

VDDFLASH: Flash (3.3V) and USB transceivers (SAM7X/XC/SE).

3.3V & 1.8V Dual Power Supplies(On-chip Voltage Regulator and ADC NOT Used):

VDDIO must be connected

to a decoupling/filtering capacitor

to improve start-up stability

and reduce source voltage drop

VDDIN connected to GND

Page 11: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

11 Apr-06 ARM-Based Products Group

AT91SAM7 Power Supply Strategies (cont.)

3.3V & 1.8V Dual Power Supplies(On-chip Voltage Regulator and ADC NOT Used):

VDDCORE: On-chip RC, Device and Flash (1.8V).

VDDPLL: Main Oscillator and PLL (1.8V).

VDDCORE must be connected

to a decoupling/filtering capacitor

to improve start-up stability

and reduce source voltage drop

VDDOUT can be left

unconnected

Page 12: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

12 Apr-06 ARM-Based Products Group

SAM7 Typical Power Supply Pins Configuration

Page 13: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

13 Apr-06 ARM-Based Products Group

SAM7 Power Supply Constraints

3.3V Single Power Supply:

VDDCORE (so VDDIN) slope must be superior or equal to 6V/ms.

3.3V & 1.8V Dual Power Supply:

VDDCORE slope must be superior or equal to 6V/ms.

VDDFLASH must always be superior or equal to VDDCORE. SAM7

SAM7S

SAM7X

SAM7S

SAM7X

Page 14: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

14 Apr-06 ARM-Based Products Group

Clock, Oscillator and PLL

Crystal (Main Oscillator in Normal Mode): XIN and XOUT

Main Oscillator range: 3 to 20 MHz.

Crystal Load capacitance to check (CCRYSTAL).

Internal Equivalent Load Capacitance (CL) is:

11 pF (SAM7SE32).

20 pF (other SAM7).

1 kOhm resistor on XOUT only required for crystals with frequencies lower than 8 MHz.

Page 15: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

15 Apr-06 ARM-Based Products Group

Clock, Oscillator and PLL (cont.)

Crystal (Main Oscillator in Normal Mode): XIN and XOUT

The crystal load capacitance (CCRYSTAL) is the equivalent capacitor value that circuit must “show” to the crystal in order to oscillate at the target frequency.

Cload = CCRYSTAL - CL

Example: CCRYSTAL = 20pF (SAM7S-EK, SAM7X-EK and SAM7SE-EK)

AT91SAM7SE32: 18pF external capacitors are required on XIN and XOUT. External capacitor 2*Cload = 2*(CCRYSTAL - CL) = 2*(20-11) = 18pF

Other AT91SAM7: no need to add external capacitors. (Cload = 0pF).

Page 16: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

16 Apr-06 ARM-Based Products Group

Clock, Oscillator and PLL (cont.)

External Clock (Main Oscillator in Bypass Mode): XIN

External Clock Range: up to 50 MHz.

Duty Cycle: 40-60%

1.8V Square Wave signal (VDDPLL).

XOUT can be left unconnected

Page 17: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

17 Apr-06 ARM-Based Products Group

Clock, Oscillator and PLL (cont.)

PLL Filter: PLLRC pin

PLL Filter calculation tool.

ATMEL_PLL_LFT_Filter_CALCULATOR_AT91_xxx.xls

3 Values necessary to compute the correct filter:

Fin: Quartz Frequency

MUL: PMC Multiplier (MUL+1)

DIV: PMC Divider (DIV)

Adjust R-C1-C2 for startup time.

If PLL not used,PLLRC can be left unconnected

Page 18: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

18 Apr-06 ARM-Based Products Group

ICE & JTAG

TDI, TCK, TMS and TDO: No internal Pull-up resistors.

Pull-up on TDI, TCK, TMS to reduce power consumption.

Page 19: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

19 Apr-06 ARM-Based Products Group

ICE & JTAG (cont.)

JTAGSEL pin: Internal Pull-down resistor (15 kOhm).

JTAGSEL=0 (Default value): JTAG/ICE interface selected.

Can be left unconnected for normal operations.

JTAGSEL=1 : must be tied to VDDIO to enter JTAG Boundary Scan.

Page 20: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

20 Apr-06 ARM-Based Products Group

ERASE pin

Internal Pull-down resistor (15 kOhm).

ERASE=0 (Default value): no action.

Can be left unconnected for normal operations.

ERASE=1 : must be tied to VDDIO to erase:

• Flash content

• GPNVM bits

• Security Bit

Debouncing Time (On-chip RC):

SAM7S: none (4µs)

SAM7X/XC: 200 ms

SAM7SE: 220 ms

Page 21: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

21 Apr-06 ARM-Based Products Group

Reset

POR (Power On Reset) on VDDCORE

Reset the whole system.

RESET (NRST pin)

NRST is configured as output at power-up.

Internal Pull-up resistor on VDDIO for User/External Reset control:

SAM7S/X/XC: 10 kOhm

SAM7SE: 100 kOhm

Can be left unconnected.

No constraintson the reset pulse length(Built-in POR)

Page 22: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

22 Apr-06 ARM-Based Products Group

TST pin

Internal Pull-down resistor (15 kOhm)

TST=0 (Default value): no action.

Can be left unconnected for normal operations.

TST=1 : Product dependant

Must be tied to VDDIO to enter:

• FFPI mode (PA0=PA1=1 and PA2=0)

• Or SAM-BA Boot recovery mode (PA0=PA1=PA2=1)(only for SAM7S).

Page 23: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

23 Apr-06 ARM-Based Products Group

PIO

I/O Lines

Pulled-up Input at reset:

SAM7S/X/XC: 10 kOhm

SAM7SE: 100 kOhm

4 High drive current I/O lines (16mA)Other I/O lines: 8mA

5V tolerant (SAM7S/X/XC only)

Schmitt trigger inputs (SAM7SE only)

Unused I/O: Should be configured as output driven at ‘0’, pull-up disabled to reduce power consumption.

Page 24: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

24 Apr-06 ARM-Based Products Group

ADC

If the ADC Controller is not used:

ADVREF

AD4

AD5

AD6

AD7

Should be connected to GND to reduce power consumption.

Pure Analog Inputs

Page 25: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

25 Apr-06 ARM-Based Products Group

USB (SAM7S/X/XC)

No Internal Pull-up: external circuitry necessary to enable the pull-up.

No Internal Pull-down.

Host disconnected DDP must be disconnected (self powered design) DDP and DDM are floating Over consumptionSolution: 330 kOhm pull-down on DDP and DDM to reduce over consumption.

Built-in Transceiver Enabled by default: may be disabled to reduce power consumption.

VBUS monitoring circuitry necessary to remove the pull-up

when the host switches off

Page 26: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

26 Apr-06 ARM-Based Products Group

USB (SAM7SE)

Internal Pull-up: 1.5 kOhm pull-up (disabled by default): No need for an external pull-up circuitry !

No Internal Pull-down.

Host disconnected DDP must be disconnected (self powered design) DDP and DDM are floating Over consumptionSolution: 330 kOhm pull-down on DDP and DDM to reduce over consumption.

Built-in Transceiver Disabled by default.

VBUS monitoring circuitry necessary to remove the pull-up

when the host switches off

Page 27: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

27 Apr-06 ARM-Based Products Group

USB

If the USB Device Controller is not used, to reduce power consumption:

DDP must be:

Tied to VDDIO (SAM7S).

Tied to VDDFLASH (SAM7X/XC).

Left floating (SAM7SE).

DDM must be:

Tied to GND (SAM7S/X/XC).

Left floating (SAM7SE).

.

Page 28: SAM7 Hardware Considerations Frederic BOYER AT91 Support Group. Version 1.0 October 2006

28 Apr-06 ARM-Based Products Group

SDCK pin (SAM7SE only)

SDCK (SDRAM Clock)

SDCK is tied low after reset.

Output-only without pull-up and not 5V-tolerant

Maximum Output Frequency:

48.2 MHz for VDDIO from 3.0V to 3.6V

25 MHz for VDDIO from 1.65V to 1.95V

SAM7SE Only !