Jump to content


  • Content Count

  • Joined

  • Last visited

About Mihec

  • Rank
  • Birthday 11/29/1986

Profile Information

  • Gender
  • Location
  1. Mihec

    HI from Slovenia

  2. Mihec

    UART RX(0) TX(0) on CC3200

    Hi, thanks for suggestion. It is true, on CC3200 launchpad default pin location for "Serial" is on FLASH jumpers TX and RX (in the middle of the board) and for "Serial1" is on P1.9 (TX) and P1.10 (RX).
  3. Hi, I tried to establish UART communication with output device and CC3200 over pinout RX(0) and TX(0). With RX(1) and TX(1) communication works fine but I use those pins for I2C connection. Is this possible? Is there any "pin change" command in Energia? Thanks for any suggestion! Miha
  4. Mihec

    CC1120 wrong operation

    Hi! What is your value of "CC112X_XOSC2" register?
  5. Mihec

    CC1120 operation

    Hi, I had a similar problem with CC1120. It didn't want to go on Power Down mode when I strobe with "PWD" commannd. Try to strobe with "IDLE" command before "POWERDOWN" strobe command.
  6. Mihec

    Bluetooth device

    BlueGiga BLE112.
  7. If you attempt to use BLE module inside your product, you need to pay Product Listing Fee to SIG organization for using Bluetooth knowledge.
  8. Mihec

    Hello from Slovenia!

    Hey! Pozdravljen!
  9. Mihec

    What are you doing right now..?

    Trying to connect Bluegiga BLE112 module with tablet PC.
  10. It's working:) Thank you! And happy Anniversary National:)
  11. Mihec

    RTC on F53xx - couple minutes drift

    It seems that first day of the week is Sunday! If we look at Example 4 in "Real-Time Clock Alarm Function", there say that Tuesday is "0x02". So, there is no error in two post back mentioned bug in code samples. I usually start week with Monday, so I didn't think of it:) @Level 1: I didn't know that 32k LFXT port has more than one driving options. I'll check that!
  12. Mihec

    RTC on F53xx - couple minutes drift

    Thank you all for all ideas, problem is solved for now! Problem was in software (quartz settings). In the beginning, I used that kind of code (witch is obviously wrong) to initialize 32768 quartz : // Set MCLK, SMCLK, ACLK UCSCTL4 = SELS0 | SELS1 | SELM0 | SELM1;// MCLK = SMCLK = DCO, ACLK = 32kHz // ACLK = 32768kHz P5SEL |= (XIN | XOUT); // P5.4, 5 UCSCTL6 &= ~(XT1OFF); // XT1 On UCSCTL6 |= XCAP_3; // Internal load cap do { UCSCTL7 &= ~XT1LFOFFG; // Clear XT1 fault flags }while (UCSCTL7&XT1LFOFFG); // Test XT1 fault flag After that I found "MSP430F543xA, MSP430F541xA Code Examples (Rev. C)" and right code for initialize 32768 quartz. I also give MCU a little delay to settle down quartz at power on : // Set MCLK, SMCLK, ACLK UCSCTL4 = SELS0 | SELS1 | SELM0 | SELM1 | SELA_0;// MCLK = SMCLK = DCO, ACLK = 32768kHz P5SEL |= (XIN | XOUT); // P5.4, 5 UCSCTL6 &= ~(XT1OFF); // XT1 On UCSCTL6 |= XCAP_3; // Internal load cap delay_ms(100); // Loop until XT1,XT2 & DCO stabilizes do { UCSCTL7 &= ~(XT2OFFG + XT1LFOFFG + DCOFFG); // Clear XT2,XT1,DCO fault flags SFRIFG1 &= ~OFIFG; // Clear fault flags }while (SFRIFG1&OFIFG); // Test oscillator fault flag Now RTC work fine. Deviation of time is in tolerance borders of quartz. After that I dig a little deeper in RTC module. I think I found a little bug in code examples "MSP430F543xA, MSP430F541xA Code Examples (Rev. C)", in "msp430x54xA_RTC_02.c" example, when you initialize "Day Of Week". In data sheet of RTC, for Day Of Week register write that days are marked from 0-6 [0 = Monday, 1 = Tuesday...]. But in code example "msp430x54xA_RTC_02.c" Monday is marked with "0x01". Should Monday be commented by "0x00" ?
  13. Mihec

    RTC on F53xx - couple minutes drift

    RTC time is faster that should be. I've 10 identical PCBs, and there is the same problem at all teen. So could be software? Is possible that RTC didn't work with ACLK (32768Hz), insted that RTC work with DCO or VLC? Thanks for help!
  14. Hi! I program RTC module on MSP430F5342 with code from MSP430F543xA Code Examples. ACLK (32768 quartz) run RTC. After one day running CPU in LPM3 and update RTC time to LCD every minute, I get a couple of minutes error. What could be wrong for so much big error in one day? Internal cup for XTAL is default (12.5pF). I measure quartz and it is in predicted range (32768.xx). Any suggestions or ideas?