⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 DM642的串口驱动源码
💻 TXT
字号:
#
#  Copyright 2003 by Texas Instruments Incorporated.
#  All rights reserved. Property of Texas Instruments Incorporated.
#  Restricted rights to use, duplicate or disclose this code are
#  granted through contract.
#  
#
# "@(#) DDK 1.11.00.00 11-04-03 (ddk-b13)"
TITLE
-----
UARTHW_C6X1X_MCBSP (Software IOM driver for c6x1x using the MCBSP) 

DOCUMENTATION
-------------
The documentation for this device driver can be found at:
	/ddk/docs/uart.pdf

USAGE
-----
This device driver is the lower level software based uart mini-driver for the
TMS320C6X1X and uses the generic UARTHW driver to transfer data to and from the McBsp. Because this driver is dependent on the higher level generic UARTMD 
driver, an application must link both the libraries from this driver and from 
the generic driver in order for it to function correctly. These two libraries 
are called uarthw_c6x1x_mcbsp.l62/l64 and uartmd.l62/l64 which are located in 
ddk/lib directory.

DESCRIPTION
-----------
UARTHW_C6X1X_MCBSP is an software based uart IOM driver for the Texas 
Instrument TMS320C6X1X.  The driver is implemented by using McBsp to simulate a
UART.

FILES
-----
- uarthw_c6x1x_mcbsp62.pjt: project file for building the driver library for 
	 the DSK TMS320C6711
- uarthw_c6x1x_mcbsp64.pjt: project file for building the driver library for 
	 the TEB TMS320C6416
- uarthw_c6x1x_mcbsp.c: lower level chip specific uart implementation
- uarthw_mcbsp.c: lower level generic mcbsp software implementation
- ddk/include/uarthw_mcbsp.h: lower level generic mcbsp driver interface 
	header file
- ddk/include/uarthw.h: higher level generic driver header file
- readme.txt: this file

NOTES
-----
- Files in the library are compiled with "no optimization switch" turned on, 
  and the same is true for the project files. If you plan to use this module 
  in a project release, you should rebuild the library with optimization 
  turned on.

Constraints
-----------
Data buffer rxBuffer and txBuffer must reside in on-chip DARAM. 

Known Problems At Release
-------------------------
- None.

Q&A
---
Q1: How do I use the default uart parameters? 
Q2: Where can I find the documentation for writing IOM drivers?

---
Q1: How do I use the default uart parameters? 
A1: Specify a NULL value to the User-Defined Device parameter when you add the 
    driver from the Configuration Tools. The default value for dsk6711 software 
    uart is using McBsp Device1, clock set at 75MHZ (half the CPU speed 150Mhz),
    and the baud rate set at 115200. 
   
   The default value for teb6416 software uart is using McBsp Device2, 
   clock set at 125MHZ (CPU speed 600Mhz), and the baud rate set at 115200.

Q3: Where can I find the documentation for writing IOM drivers?
A3: The literature number is SPRU616, DSP/BIOS Device Driver Developer's Guide.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -