📄 example-7.txt
字号:
TMS320F243 DSP - Laboratory
Example 7 : F243SCI
Environment :
This Example was made for TI's EVM-board TMS320F243. For this particular exercise we need a serial connection to a PC's serial port COM1 or COM2. It is sufficient to cross RxD and TxD. We will use the Windows95/98 - hyperlink command to communicate with the DSP.
Aim:
The DSP-program is sending a string via serial link to W95-Hyperterminal. The baudrate is 9600, 8bit, no parity, 1 stopbit, no protocol. Please start the hyperterminal-session before you start the DSP-program. The DSP then sends the string "F243 UART is fine" in an endless loop. In the hyperterminal-window you should see the incoming strings. The DSP-program uses the SCI-transmit-Interrupt to transmit all characters of the string. After reaching the end of the string the program repeats the string again and again.
Files:
The Example should be used as a project in Code-Composer, the Go-DSP-design tool. The project consists of these files :
F243sci.c -- C-source code for this example
vectors.asm -- jump table for Interrupt Service Routines
regs243.h -- pointer definitions to memory mapped perihperals
F243sci.cmd -- memory map definition file for the linker
init243.gel -- Code Composer Setup file ( GO-DSP extension language )
rts2xx.lib -- runtime library file (part of TI's compiler/assembler)
wait.asm -- small collection of supplemental assembler functions
Download (all files zipped): Example 7
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -