门主老k

    1. 使用MSP430f149单片机和TI的DAC5571产生正弦波 3/3949 微控制器 MCU 2014-01-12
      程序就是上面的程序,我查了网上的很多程序,感觉差不了多少,不知道为什么就是不能实现功能
    2. 使用MSP430f149单片机和TI的DAC5571产生正弦波 3/3949 微控制器 MCU 2014-01-12
      #include #include "IIC.h" #include "IIC.c" uint flag=0; uint tosin[256]={0x80,0x83,0x86,0x89,0x8d,0x90,0x93,0x96,0x99,0x9c,0x9f,0xa2,0xa5,0xa8,0xab,0xae,0xb1,0xb4,0xb7,0xba,0xbc,0xbf,0xc2,0xc5 ,0xc7,0xca,0xcc,0xcf,0xd1,0xd4,0xd6,0xd8,0xda,0xdd,0xdf,0xe1,0xe3,0xe5,0xe7,0xe9,0xea,0xec,0xee,0xef,0xf1,0xf2,0xf4,0xf5 ,0xf6,0xf7,0xf8,0xf9,0xfa,0xfb,0xfc,0xfd,0xfd,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfd ,0xfd,0xfc,0xfb,0xfa,0xf9,0xf8,0xf7,0xf6,0xf5,0xf4,0xf2,0xf1,0xef,0xee,0xec,0xea,0xe9,0xe7,0xe5,0xe3,0xe1,0xde,0xdd,0xda ,0xd8,0xd6,0xd4,0xd1,0xcf,0xcc,0xca,0xc7,0xc5,0xc2,0xbf,0xbc,0xba,0xb7,0xb4,0xb1,0xae,0xab,0xa8,0xa5,0xa2,0x9f,0x9c,0x99 ,0x96,0x93,0x90,0x8d,0x89,0x86,0x83,0x80,0x80,0x7c,0x79,0x76,0x72,0x6f,0x6c,0x69,0x66,0x63,0x60,0x5d,0x5a,0x57,0x55,0x51 ,0x4e,0x4c,0x48,0x45,0x43,0x40,0x3d,0x3a,0x38,0x35,0x33,0x30,0x2e,0x2b,0x29,0x27,0x25,0x22,0x20,0x1e,0x1c,0x1a,0x18,0x16 ,0x15,0x13,0x11,0x10,0x0e,0x0d,0x0b,0x0a,0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x02,0x01,0x00,0x00,0x00,0x00,0x00,0x00 ,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x02 ,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0a,0x0b,0x0d,0x0e,0x10,0x11,0x13,0x15 ,0x16,0x18,0x1a,0x1c,0x1e,0x20,0x22,0x25,0x27,0x29,0x2b,0x2e,0x30,0x33,0x35,0x38,0x3a,0x3d,0x40,0x43,0x45,0x48,0x4c,0x4e ,0x51,0x55,0x57,0x5a,0x5d,0x60,0x63,0x66 ,0x69,0x6c,0x6f,0x72,0x76,0x79,0x7c,0x80 }; uchar sin64[64]={135,145,158,167,176,188,199,209,218,226,234,240,245,249,252,254,254,253,251,247,243,237,230,222,213,204,193,182,170,158,146,133,121,108,96,84,72,61,50,41,32,24,17,11,7,3,1,0,0,2,5,9,14,20,28,36,45,55,66,78,90,102,114,128}; uchar sin40[40]={ 0x7F,0x93,0xA6,0xB9,0xCA,0xD9,0xE6,0xF1,0xF8,0xFD,0xFE,0xFD,0xF8,0xF1,0xE6,0xD9 ,0xCA,0xB9,0xA6,0x93,0x7F,0x6B,0x58,0x45,0x34,0x25,0x18,0x0D,0x06,0x01,0x00,0x01 ,0x06,0x0D,0x18,0x25,0x34,0x45,0x58,0x6B}; uchar sin20[20]={ 0x7F,0xA6,0xCA,0xE6,0xF8,0xFE,0xF8,0xE6,0xCA,0xA6,0x7F,0x58,0x34,0x18,0x06,0x00 ,0x06,0x18,0x34,0x58}; uchar sin60[61]={0x7F,0x8C,0x9A,0xA6,0xB3,0xBF,0xCA,0xD4,0xDE,0xE6,0xED,0xF3,0xF8,0xFC,0xFE,0xFE ,0xFE,0xFC,0xF8,0xF3,0xED,0xE6,0xDE,0xD4,0xCA,0xBF,0xB3,0xA6,0x9A,0x8C,0x7F,0x72 ,0x64,0x58,0x4B,0x3F,0x34,0x2A,0x20,0x18,0x11,0x0B,0x06,0x02,0x00,0x00,0x00,0x02 ,0x06,0x0B,0x11,0x18,0x20,0x2A,0x34,0x3F,0x4B,0x58,0x64,0x72,0x7F}; uchar sin80[80]={ 0x7F,0x89,0x93,0x9D,0xA6,0xB0,0xB9,0xC2,0xCA,0xD2,0xD9,0xE0,0xE6,0xEC,0xF1,0xF5 ,0xF8,0xFB,0xFD,0xFE,0xFE,0xFE,0xFD,0xFB,0xF8,0xF5,0xF1,0xEC,0xE6,0xE0,0xD9,0xD2 ,0xCA,0xC2,0xB9,0xB0,0xA6,0x9D,0x93,0x89,0x7F,0x75,0x6B,0x61,0x58,0x4E,0x45,0x3C ,0x34,0x2C,0x25,0x1E,0x18,0x12,0x0D,0x09,0x06,0x03,0x01,0x00,0x00,0x00,0x01,0x03 ,0x06,0x09,0x0D,0x12,0x18,0x1E,0x25,0x2C,0x34,0x3C,0x45,0x4E,0x58,0x61,0x6B,0x75}; uchar sin50[50]={ 0x7F,0x8F,0x9F,0xAE,0xBC,0xCA,0xD6,0xE1,0xEB,0xF2,0xF8,0xFC,0xFE,0xFE,0xFC,0xF8 ,0xF2,0xEB,0xE1,0xD6,0xCA,0xBC,0xAE,0x9F,0x8F,0x7F,0x6F,0x5F,0x50,0x42,0x34,0x28 ,0x1D,0x13,0x0C,0x06,0x02,0x00,0x00,0x02,0x06,0x0C,0x13,0x1D,0x28,0x34,0x42,0x50 ,0x5F,0x6F}; uchar Write_DAC(uchar wdata); void Clock_Init(); void TimerA_Init(); /******************************************* 函数名称:Write_DAC 功    能:向DAC中写入输出电压数据 参    数:无 返回值  :写入结果:1--成功,0--失败 ********************************************/ uchar Write_DAC(uchar wdata) {     start();     write1byte(0x98);                     //DAC的设备地址     if(check())   write1byte(wdata>>4);   //写控制模式和电压数据的高四位     else          return 0;     if(check())   write1byte(wdata
    3. 有232的接口,但好像没用到,我是直接将51单片机RXD、TXD相连
    4. 试过了,好像没什么效果。。。
    5. 我怀疑是硬件上电平有问题,因为用串口调试助手显示单片机发出来的指令一点错误也没有。
    6. 没有烧。。。还能用
    7. MSP430和TC35之间串口通信的问题 1/3224 微控制器 MCU 2013-10-28
      不知道楼主解决了没,小弟现在也遇到了这样的问题。TC35用51单片机控制没什么问题,换成430连拨号都不行
    8. 430f149与TC35连接,求范例的程序 2/3104 微控制器 MCU 2013-10-28
      lz现在解决了吗!能不能分享下,我们现在也遇到了这样的问题,430貌似不太能控制TC35啊
    9. AD9851的正交问题。 18/5427 电子竞赛 2013-09-06
      本帖最后由 paulhyde 于 2014-9-15 03:08 编辑 还没弄到被测网络,现在连正交都没实现  
    10. 任意波形数据表生成器 827/97427 电子竞赛 2013-08-28
      学习一下
    11. 任意波形数据表生成器 827/97427 电子竞赛 2013-08-28
      学习一下

最近访客

< 1/1 >

统计信息

已有81人来访过

  • 芯积分:--
  • 好友:--
  • 主题:3
  • 回复:11

留言

你需要登录后才可以留言 登录 | 注册


现在还没有留言