📄 example-9.txt
字号:
Example 9 : F243SCI3
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:
Use W95-Hyperterminal. The baudrate again is 9600, 8bit, no parity, 1 stopbit, no protocol. Write a textfile containing a single line of any text ending with a <CR>. Start now the DSP-program . Send then the textfile from W95-hyperterminal to the DSP-EVM-board. The DSP's receiver monitors the incoming textstring by receiver-interrupt-service. After the <CR> was recognized the DSP will transmit the string 'READY' back to the W95-Hyperterminal session. The example uses both the SCI-transmit and receive-interrupt services.
Files:
The Example should be used as a project in Code-Composer, the Go-DSP-design tool. The project consists of these files :
F243sci3.c -- C-source code for this example
vectors.asm -- jump table for Interrupt Service Routines
regs243.h -- pointer definitions to memory mapped perihperals
F243sci3.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 9
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -