AT91 Basic PDC
and DBGU project
Introduction
The goal of this demonstration project is to
demonstrate how to use the AT91 USART with the PDC transmission and Reception
chain. This project runs a test of the AT91SAM7Sxx device and his
corresponding Evaluation Kit, the AT91SAM7S-EK. This project also
implements an interrupt example
Running the application
This application is linked to be loaded and run in
SRAM (at address 0x0000_0000 after remap). This suppose to have the External
Bus Interface and the Remap command initialized. Download to the target can be
done using a JTAG ICE interface.
This application example sends through the
DBGU serial port (115.2Kbps, 8data bits, no parity, 1 stop bit, no flux
control) some messages and display a menu for the user to select the
corresponding test.
Reference
Documents
Name |
Reference |
ARM-Based Software Package |
6016 |
AT91SAM7Sxx Datasheet |
|
Description
Please refer to the AT91 Basic tools project
for the description of the initialization.
Different PDC mode are used in
this application example.
*** ATMEL POLLING ***
*** ATMEL PDC ***
*** ATMEL PDC 1 ***
*** ATMEL PDC 2 ***
0)Info
1)Write US
2)Send 1 frame
3)2 smal Frame
4)10 KBytes
5)30 KBytes
6)Block
7)Time out
ENDRX
ENDTX
*** ATMEL Usart
IRQ ***
Copyright (C) 2004 ATMEL Corporations Version: 1.0
PDC
Source
files
src/main.c |
This is the main application file |
src/interrupt_Usart.c |
USART definition function and interrupt |
src/init.c |
DBGU utility |