📄 readme.txt
字号:
-------------------------------------------------------------------------------
Example: Assembly UART echo back
Target: ADSP-21369
Hardware: ADSP-21369 EZ-KIT LITE
-------------------------------------------------------------------------------
UART echo back
This program communicates with the PC using a terminal program on
your PC and echoes back whatever you type in via the terminal.
The data communication takes place at a Baud rate of 19200Hz
with the core clock rate set to 400MHz.
-------------------------------------------------------------------------------
Instructions: Connect the PC serial port with the UART connector (P1) on your
Ez-kit using a non-crossover serial cable.
Open the terminal program of your choice on your PC.
Choose the serial port on your PC to which you are connected.
The settings used in this example by default are as follows.
Bits per Second -> 19200
Data Bits -> 8
Parity -> odd
Stop Bits -> 2
Flow Control -> None
These settings can be changed in the initUART.asm file in the project.
After downloading the executable to the EZ-KIT and running the program, the
terminal will display the following message, after which it will echo any
data that is typed or sent by the terminal program.
Hello!
This program echoes back whatever you type in.
-------------------------------------------------------------------------------
The source files contained in this directory are
UART echo back.c - echoes back the typed value on the hyperterminal
Functions present in the source file
UARTisr() - Receive interrupt service routine for UART
initDPI() - Connects the UART receive and transmit signals to DPI
main() - The Program starts from here
initUART() - Configures the UART
Transmit() - transmits the welcome message
initPLL_SDRAM.c - initializes the PLL to 400 Mhz and the SDRAM to 160 Mhz
-------------------------------------------------------------------------------
Dependencies contained in VisualDSP++ default include path:
cdef21369.h Header with constants for the SHARC
SRU.h Macro to simplify programming the SRU & DAI pins
Signals.h used for setting up the interrupts
*******************************************************************************
Analog Devices, Inc.
DSP Division
three Technology Way
Norwood, MA 02062
(c) 2005 Analog Devices, Inc. All rights reserved.
*******************************************************************************
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -