资源简介
DSP28335的I2C例程,完整,希望对需要的人有所帮助!
代码片段和文件信息
// TI File $Revision: /main/9 $
// Checkin $Date: August 10 2007 09:05:58 $
//###########################################################################
//
// FILE: Example_2833xI2c_rtc.c
//
// title: DSP2833x I2C RTC Example
//
// ASSUMPTIONS:
//
// This program requires the DSP2833x header files.
//
// This program requires an external I2C RTC connected to
// the I2C bus at address 0x6f.
//
// As supplied this project is configured for “boot to SARAM“
// operation. The 2833x Boot Mode table is shown below.
// For information on configuring the boot mode of an eZdsp
// please refer to the documentation included with the eZdsp
//
// $Boot_Table:
//
// GPIO87 GPIO86 GPIO85 GPIO84
// XA15 XA14 XA13 XA12
// PU PU PU PU
// ==========================================
// 1 1 1 1 Jump to Flash
// 1 1 1 0 SCI-A boot
// 1 1 0 1 SPI-A boot
// 1 1 0 0 I2C-A boot
// 1 0 1 1 eCAN-A boot
// 1 0 1 0 McBSP-A boot
// 1 0 0 1 Jump to XINTF x16
// 1 0 0 0 Jump to XINTF x32
// 0 1 1 1 Jump to OTP
// 0 1 1 0 Parallel GPIO I/O boot
// 0 1 0 1 Parallel XINTF boot
// 0 1 0 0 Jump to SARAM <- “boot to SARAM“
// 0 0 1 1 Branch to check boot mode
// 0 0 1 0 Boot to flash bypass ADC cal
// 0 0 0 1 Boot to SARAM bypass ADC cal
// 0 0 0 0 Boot to SCI-A bypass ADC cal
// Boot_Table_End$
//
// DEscriptION:
//
// This program will write 1-14 words to RTC and read them back.
// The data written and the RTC address written to are contained
// in the message structure I2cMsgOut1. The data read back will be
// contained in the message structure I2cMsgIn1.
//
// This program will work with the on-board I2C RTC supplied on
// the F2833x eZdsp.
//
//
//###########################################################################
// Original Author: D.F.
//
// $TI Release: DSP2833x Header Files V1.01 $
// $Release Date: September 26 2007 $
//###########################################################################
#include “DSP2833x_Device.h“ // DSP2833x Headerfile Include File
#include “DSP2833x_Examples.h“ // DSP2833x Examples Include File
// Note: I2C Macros used in this example can be found in the
// DSP2833x_I2C_defines.h file
// Prototype
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 532 2007-12-15 11:55 i2c_rtc\cc_build_Debug.log
文件 1469 2007-12-15 11:54 i2c_rtc\Debug.lkf
文件 16315 2007-12-03 15:48 i2c_rtc\Example_2833xI2C_rtc.c
文件 3072 2007-12-15 11:55 i2c_rtc\Example_2833xI2C_rtc.CS_\FILE.CDX
文件 1454 2007-12-15 11:55 i2c_rtc\Example_2833xI2C_rtc.CS_\FILE.DBF
文件 2705 2007-12-15 11:55 i2c_rtc\Example_2833xI2C_rtc.CS_\FILE.FPT
文件 322560 2007-12-15 11:55 i2c_rtc\Example_2833xI2C_rtc.CS_\SYMBOL.CDX
文件 238473 2007-12-15 11:55 i2c_rtc\Example_2833xI2C_rtc.CS_\SYMBOL.DBF
文件 410222 2007-12-15 11:55 i2c_rtc\Example_2833xI2C_rtc.CS_\SYMBOL.FPT
文件 1213 2007-09-26 10:23 i2c_rtc\Example_2833xI2C_rtc.gel
文件 10642 2007-12-15 11:59 i2c_rtc\Example_2833xI2C_rtc.paf2
文件 1903 2007-12-03 15:53 i2c_rtc\Example_2833xI2C_rtc.pjt
文件 7917 2007-12-15 11:59 i2c_rtc\Example_2833xI2C_rtc.sbl
文件 18427 2007-12-03 15:53 i2c_rtc\i2c_rtc.wks
目录 0 2009-07-23 10:49 i2c_rtc\Debug
目录 0 2009-07-23 10:49 i2c_rtc\Example_2833xI2C_rtc.CS_
目录 0 2009-07-23 10:49 i2c_rtc
----------- --------- ---------- ----- ----
1036904 17
- 上一篇:SM2密码算法使用规范
- 下一篇:ls-prepost 3.1
相关资源
- DSP28335电机控制程序
- dsp28335pcb封装
- DSP28335的PID程序
- DSP28335中的SCI串口应用
- dsp28335AD7606程序
- 基于DSP28335和485的SCI通信
- DSP28335 中pwm 定时器中断设置
- 实现对占空比的随时可调代码
- CCS6.2版本Dsp28335工程(包含基本模块的
- DSP28335 SCI中用FIFO完成485收发通信
- DSP28335 三相SVPWM程序
- DSP28335控制DHT11温湿度传感器
- 三电平SVPWM.rar
- F28335最小系统原理图.PDF
- TI-DSP28335-CAN中文使用手册
- DSP28335扩展SRAM和AD板PCB加原理图
- DSP28335完整invter电机控制程序
- 基于DSP28335的PWM程序
- spwm-dsp28335
- DSP28335SVPWM.pdf
- 基于DSP28335生成spwm源程序 三相120度移
- AD采样及读取程序
- DSP28335 AD7606源码.rar
- DSP28335开发板最小系统
- 基于DSP28335的四路PWM移相代码
- 基于DSP28335的4路PWM移相程序
- DSP28335生成SPWM波形源代码
- DSP28335学习经验分享
- 直流无刷电机控制算法
- Candance dsp28335 原理图
评论
共有 条评论