文件名称:MSP430F149_IIC_DAC5571
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 35kb
- 下载次数:
- 0次
- 提 供 者:
- skyw*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本源码维MSP430F149控制IIC协议的AD芯片DAC5571,并再1602液晶上显示数据
MCU的P1.0、P1.1 端口与DAC5571 的SDA、SCK端口连接,通过在两个GPIO上模拟
I2C时序从而实现对DAC的操作。可以看到,DAC5571
的输出端Vout连接到了跳线座P7 的第 1 脚。如果用短路帽将跳线座J1 的 2 脚
和 3 脚连接,则DAC的输出直接驱动LED,可以通过LED亮度的变化直观地观察到
DAC输出电压值的变化;如果用短路帽将跳线座J1 的2 脚和1 脚连接,则可以用
MSP430 内置的ADC对DAC输出的电压进行采样转换,对ADC和DAC电路同时进行应用。-MSP430F149-dimensional control of the source of the AD Agreement IIC chip DAC5571, and another 1602 on the display data LCD MCU of P1.0, P1.1 ports of the DAC5571 and SDA, SCK-port connectivity, through two GPIO on I2C timing simulation in order to achieve DAC operation. Can be seen, DAC5571 output Vout is connected to a jumper P7 Block 1 foot. If the cap will short-circuit jumper J1 Block, 2 pin and 3 pin connection, the DAC output to directly drive LED, through the LED brightness can be visually observed changes in DAC output voltage changes in value If the cap will short-circuit jumper Block J1 2 feet and 1 foot to connect, you can use the built-in ADC of the MSP430 output voltage DAC sampling conversion of ADC and DAC circuit applications at the same time.
MCU的P1.0、P1.1 端口与DAC5571 的SDA、SCK端口连接,通过在两个GPIO上模拟
I2C时序从而实现对DAC的操作。可以看到,DAC5571
的输出端Vout连接到了跳线座P7 的第 1 脚。如果用短路帽将跳线座J1 的 2 脚
和 3 脚连接,则DAC的输出直接驱动LED,可以通过LED亮度的变化直观地观察到
DAC输出电压值的变化;如果用短路帽将跳线座J1 的2 脚和1 脚连接,则可以用
MSP430 内置的ADC对DAC输出的电压进行采样转换,对ADC和DAC电路同时进行应用。-MSP430F149-dimensional control of the source of the AD Agreement IIC chip DAC5571, and another 1602 on the display data LCD MCU of P1.0, P1.1 ports of the DAC5571 and SDA, SCK-port connectivity, through two GPIO on I2C timing simulation in order to achieve DAC operation. Can be seen, DAC5571 output Vout is connected to a jumper P7 Block 1 foot. If the cap will short-circuit jumper J1 Block, 2 pin and 3 pin connection, the DAC output to directly drive LED, through the LED brightness can be visually observed changes in DAC output voltage changes in value If the cap will short-circuit jumper Block J1 2 feet and 1 foot to connect, you can use the built-in ADC of the MSP430 output voltage DAC sampling conversion of ADC and DAC circuit applications at the same time.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MSP430F149_IIC_DAC5571
......................\BoardConfig.h
......................\cry1602.c
......................\cry1602.h
......................\DA2.dep
......................\DA2.ewd
......................\DA2.ewp
......................\DA2.eww
......................\Debug
......................\IIC.c
......................\IIC.h
......................\main.c
......................\settings
......................\........\DA2.cspy.bat
......................\........\DA2.dbgdt
......................\........\DA2.dni
......................\........\DA2.wsdt
......................\BoardConfig.h
......................\cry1602.c
......................\cry1602.h
......................\DA2.dep
......................\DA2.ewd
......................\DA2.ewp
......................\DA2.eww
......................\Debug
......................\IIC.c
......................\IIC.h
......................\main.c
......................\settings
......................\........\DA2.cspy.bat
......................\........\DA2.dbgdt
......................\........\DA2.dni
......................\........\DA2.wsdt