Atmel AT91SAM9260 ARM quick start

From DP

Jump to: navigation , search

(in progress)

Contents

Introduction

The AT91SAM9260 is an Arm926ej-s Thumb processor capable of 210Mips. Available in LQFP208 and BGA217 packages. Having an integrated memory manage unit, capable of supporting operating systems like Windows CE and Linux.

Features

  • 4x USART
  • 2x SPI
  • IIC
  • TWI
  • 4x 10 bit a/d(2 on qfp)

References

Development and programming

IDEs and compilers

Programmers and debuggers

  • [OpenOCD]
  • Integrated Debug Unit (DBGU)

Bootloaders

Integrated boot process that can boot from:

  • Serial flash ROM (two chips)
  • Parallel flash
  • Serial bootloader interface
  • USB-CDC (USB serial) bootloader interface
  • Will make use of third party boot loader

Firmware and Software

Basic circuit

480px

Power

  • 1.8volt core, 1.8 or 3.3volt IO supply
  • VDDCORE, VDDBU, VDDPLL, are 1.8 volt pins
  • VDDIOM, VDDIOPx, and VDDANA, are 3.3 volt pins
  • VDDBU is a battery backup
  • Connect all the supply pins to power or ground.
  • Put a 0.1uF decouple capacitor on each positive supply pin, and put it as close to the chip on your PCB as possible.

Reset

250px

  • Reset is the NRST pin
  • Internal pull-up resistor to VDDIOP0
  • Output (internal reset states) as well as an input (external reset)
  • 36 on the 208qfp package and G15 on the BGA217
  • SHDN (if used) needs a pull-up resistor to VDDBU greater than 1Mohm


Programming connections

Device can be programed through DBGU serial port(DBTX and DBRX)or the usb device port(DDP and DDM).

Crystal

  • Supports many configurations
  • external PLL filter
  • Real time clock with battery backup

Boot configuration pins

The chip has a boot process that searches through a bunch of different memory connections for a valid program to run. If none of the other boot methods are successful, it goes into a serial port and USB-CDC (virtual serial port) terminal mode. Boot order:

  1. Serial flash ROM (chip 1, then chip 2)
  2. Parallel flash
  3. serial or USB-CDC (USB serial) bootloader interface (a 48 MHz clock is required)

The OSCSEL pin selects the start-up clock

  • 0=internal RC 240us
  • 1=external 1200 ms
  • Tie to VDDBU voltage

The BMS pin chooses the start-up location:

  • 1= embedded ROM
  • 0= external bus interface

Peripherals

IO

  • General purpose IO pins can source and sink 16mA
  • Can source a total of 350mA

USB

250px

  • 1 USB Device port
  • 1 USB Host port (2 on BGA)

Ethernet

  • Built in 10/100 MAC
  • Supports MII and RMII external PHY
  • Only 8 lines needed in RMII mode

Internal Cache

  • 8KB program
  • 8KB data

External RAM

  • Will support 8/16/32 bit external sram or sdram.

We will use 16 bit buss.

External ROM

  • Will support SPI,IIC,TWI serial flash/eeprom(SPI dataflash will be used)
  • Supports external parallel Flash(will not be using)

MultiMedia Card Interface

  • Supports MMC and SD cards