wl1336412

    1. 过年大家都干嘛啦?好奇中...... 24/4919 聊聊、笑笑、闹闹 2012-01-31
      初三去未来丈人家做客
    2. 发现我团购的板子已发货了 7/3477 微控制器 MCU 2011-11-24
      恩,我的已经收到了
    3. CC430F5137开发板空板免费送 26/8547 微控制器 MCU 2011-11-23
      拍下了,谢谢楼主分享了。:victory:
    4. 团购的板子发货啦! 14/4207 微控制器 MCU 2011-11-22
      效率好高啊, 买的人也很积极啊,眨眼间就有100多件被抢购了。:)
    5. 大学堂之系统初始化及时钟配置 25/14589 微控制器 MCU 2011-11-21
      原帖由 rwogn 于 2011-11-9 10:17 发表 如何将Grace生成的初始化代码移植到IAR form MSP430中。 :tongue:
      比较笨的办法是用CCS调试程序,并单步进入初始化函数即可复制代码,诡异的是怎么也找不到这些程序的目录,退出调试状态这些文件就关闭了
    6. 这么疏懒也有奖励实在是惭愧啊,以后要改变了。
    7. MSP-EXP430FR5739的介绍视频,看一下哈 3/2748 微控制器 MCU 2011-11-21
      为了方便看程序自己给demo程序画了流程图
    8. 新货!新货!MSP-EXP430FR5739开发板 5/3121 微控制器 MCU 2011-11-19
      其它穿孔 LDR 传感器的封装    能问一下这个是什么封装么?
    9. good job:) thank you 劳驾这里改一下,这个看着不爽已经很久了  
    10. MSP430G2关于I2C通信问题 3/3880 微控制器 MCU 2011-10-29
      IO的上拉电阻没设置
    11. 有脾气你用头把它算出来? 6/2589 微控制器 MCU 2011-10-27
      不同编译器出来的结果不一样???都出来三个不同结果了 1:  5*5*5           7*7*8          7*7 2:     5*5*5            6*7*8         6*7 3:      5*6*7           6*7*8         6*7 [ 本帖最后由 wl1336412 于 2011-10-27 20:16 编辑 ]
    12. 有脾气你用头把它算出来? 6/2589 微控制器 MCU 2011-10-27
      b    392 c   125 f      49 程序输出结果
    13. 49件,不知道能抢上不能
    14. 10.16新的一周即将开始,调整一下心情
    15. 请问USI的I2C怎么用? 4/4423 微控制器 MCU 2011-10-16
      群共享上有例程的硬件上集成了I2C,设置相应寄存器就成了,有啥不明白的?   14.2.4.1 I2C Master ModeTo configure the USI module as an I2C master the USIMST bit must be set. In master mode, clocks aregenerated by the USI module and output to the SCL line while USIIFG = 0. When USIIFG = 1, the SCLwill stop at the idle, or high, level. Multi-master operation is supported as described in the Arbitrationsection.The master supports slaves that are holding the SCL line low only when USIDIVx > 0. When USIDIVx isset to /1 clock division (USIDIVx = 0), connected slaves must not hold the SCL line low during datatransmission. Otherwise the communication may fail.14.2.4.2 I2C Slave ModeTo configure the USI module as an I2C slave the USIMST bit must be cleared. In slave mode, SCL is heldlow if USIIFG = 1, USISTTIFG = 1 or if USICNTx = 0. USISTTIFG must be cleared by software after theslave is setup and ready to receive the slave address from a master.14.2.4.3 I2C TransmitterIn transmitter mode, data is first loaded into USISRL. The output is enabled by setting USIOE and thetransmission is started by writing 8 into USICNTx. This clears USIIFG and SCL is generated in mastermode or released from being held low in slave mode. After the transmission of all 8 bits, USIIFG is set,and the clock signal on SCL is stopped in master mode or held low at the next low phase in slave mode.To receive the I2C acknowledgment bit, the USIOE bit is cleared with software and USICNTx is loadedwith 1. This clears USIIFG and one bit is received into USISRL. When USIIFG becomes set again, theLSB of USISRL is the received acknowledge bit and can be tested in software. [ 本帖最后由 wl1336412 于 2011-10-16 17:53 编辑 ]
    16. $('swf_OWI').innerHTML=AC_FL_RunContent('width', '550', 'height', '400', 'allowNetworking', 'internal', 'allowScriptAccess', 'never', 'src', encodeURI('http://www.tudou.com/v/P8keS4VQ-V8/&rpid=5679045/v.swf'), 'quality', 'high', 'bgcolor', '#ffffff', 'wmode', 'transparent', 'allowfullscreen', 'true'); [ 本帖最后由 wl1336412 于 2011-10-16 18:22 编辑 ]
    17. 给楼主一个参考,看看他们怎么用的launchpad的 $('swf_CUJ').innerHTML=AC_FL_RunContent('width', '550', 'height', '400', 'allowNetworking', 'internal', 'allowScriptAccess', 'never', 'src', encodeURI('http://www.tudou.com/v/llE-9QkQEX0/&rpid=5679045/v.swf'), 'quality', 'high', 'bgcolor', '#ffffff', 'wmode', 'transparent', 'allowfullscreen', 'true'); [ 本帖最后由 wl1336412 于 2011-10-15 09:09 编辑 ]
    18. LaunchPad板上资源解读 25/11761 微控制器 MCU 2011-10-13
      受教了,多谢分享:)
    19. MSP430 LaunchPad学习第二记——UART 13/11781 微控制器 MCU 2011-10-12
      用SPI实现uart的发送,,,原文地址:http://www.msp430launchpad.com/2010/08/using-usi-as-uart.html //****************************************************************************** //  MSP430F2013 // //  Description: Continuously sends a counter value over the USI in SPI which //                                 acting as if it were a UART. The sample circuit connects an //                                 FTDI breakout board to the transmit line and reads. The baud //                                 rate is determined by the USI speed, which in this case is //                                 1100000 baud (DCO = 1.1MHz). // //  Nicholas J. Conn //  08-04-2010 //  Built with CCS Version: 4.1.3 //****************************************************************************** #include  "msp430F2013.h" // Function Definitions void transmit(unsigned int); int main( void ) {   WDTCTL = WDTPW + WDTHOLD;             // Stop watchdog timer      //****************************   //   Set up USI - LSB first   //****************************   USICTL0 |= USIPE6 + USIMST + USILSB + USIOE;        // Enable Output, SPI master, LSB first   USICTL1 |= USIIE;                                              // Counter interrupt, flag remains set   USICKCTL = USISSEL_3;                                        // Use SMCLK      USICTL0 &= ~USISWRST;                                 // USI released for operation      //*******************************************************   //   Set initial program varibles and start peripherals   //*******************************************************   unsigned int i = 0;   while(1)   {           transmit(i);           i++;   } } // Transmits one byte (TXData) using the USI as a UART void transmit( unsigned int TXData ) {      //**********************************************   //   Send a byte on the USI as if it were UART   //**********************************************   TXData = TXData
    20. 大家来看看这个二傻子 12/4436 微控制器 MCU 2011-09-30
      是利尔达专卖哦,利尔达官方淘宝店?

最近访客

< 1/1 >

统计信息

已有164人来访过

  • 芯积分:--
  • 好友:--
  • 主题:5
  • 回复:37

留言

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


现在还没有留言