Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
DataFlash AT45DBX Example for EVK1100 (from ASF V1) Documentation

Introduction

This is the documentation for the data structures, functions, variables, defines, enums, and typedefs for the AT45DBX driver.

This example demonstrates how to use the AT45DBX low-level interface.

This software uses data flash interfaces to check memory capacity. Then it performs:

  • two byte accesses;
  • two sector accesses (512 bytes);
  • one multiple sector access.

The patterns 0x55 and 0xAA are used to test addresses and data.

The memory capacity has to be set up in conf_at45dbx.h.

For an example about FAT file-system accesses on DF components, see the FAT example.

Main Files

Compilation Information

This software is written for GNU GCC for AVR32 and for IAR Embedded Workbench for Atmel AVR32. Other compilers may or may not work.

Device Information

All AVR32 devices with an SPI and a USART module can be used.

Configuration Information

This example has been tested with the following configuration:

  • EVK1100, EVK1101, EVK1105, EVK1104, AT32UC3C-EK, AT32UC3L-EK evaluation kit;
  • CPU clock: – 12 MHz: EVK1100, EVK1101, EVK1104, EVK1105, AT32UC3L-EK – 16 MHz: AT32UC3C-EK
  • USART1 on EVK1100 and EVK1101 connected to a PC serial port via a standard RS232 DB9 cable; USART0 on EVK1105 connected to a PC via USB VCP; USART1 on EVK1104 connected to a PC via USB VCP; USART2 on AT32UC3C-EK connected to a PC via USB VCP; USART3 on AT32UC3L-EK connected to a PC via USB VCP;
  • PC terminal settings:
    • 57600 bps,
    • 8 data bits,
    • no parity bit,
    • 1 stop bit,
    • no flow control.

Contact Information

For further information, visit Atmel AVR32.