Jump to content


  • Content Count

  • Joined

  • Last visited

  1. @@tripwire Thanks a lot for your help !
  2. A question regarding soldering the crystal: It looks my soldering skills need to be improved... I failed to solder the crystal, and now I need to buy a new one. The crystal which came in the kit is this one: http://www.microcrystal.com/images/_PDF/2_Crystal_Metal-Package/MS3V-T1R_Pd.pdf And according to "how to solder" - "MSP 430 launchpad soldering Crystal" tutorial in YouTube There are 3 points to solder: the 2 legs and the body. My local supplies store has this one in stock: https://www.sparkfun.com/products/540 But this one seem to have only 2 legs, and t
  3. @@tripwire Sorry, I missed your message before. Not yet, this is my next task. Thanks for your help !
  4. @@terjeio Your question "What is your ACLK source" led me to do a small research - I added this line: BCSCTL3 |= LFXT1S_2; and problem solved. Oddly, it was missing from the example I used which was specific to timers. Thanks for your help !
  5. @@tripwire I'm using MSP-EXP430G2, G2553 From main, this is the code which looks relevant to me: // init for oled WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer DCOCTL = CALDCO_16MHZ; // Set DCO for 16MHz using BCSCTL1 = CALBC1_16MHZ; // calibration registers // init for timer TACCTL0 |= CCIE; //Enable Interrupts on Timer TACCR0 = delayCycles; //Number of cycles in the timer TACTL |= TASSEL_1; //Use ACLK as source for timer TACTL |= MC_1; //Use UP mode timer // loop while (1) {
  6. Hi, I have a very simple program, which writes a message to oled, and then start "Timer A" to blink the internal led. The program looks to work fine when I execute it from CCS using "Debug". (Code Composer Studio, Version: But when I just connect it to USB for power, or hit the "reset" button, the program executes the code before the timer, but the timer interrupt is not working. The code for timer was taken from here (2nd example: "Using the Timer") http://www.crash-bang.com/getting-started-msp430-timers-3/ I suspect it is something with the settings of
  7. @terjeio, @yosh I manged to work with the oled with basic tests. Just a reminder - I'm using an I2C oled screen. Then I added Timer A interrupt, as explained here: http://www.crash-bang.com/getting-started-msp430-timers-3/ From the timer interrupt, I manage to toggle the builtin led, but when I try to write to oled (eg "Display7Seg"), The program hangs in : file: oled.c in function : OLED_SendCommand line # 152 in the folliwng code: while(I2CBCount) I suspect the problem maybe with the RST line from screen, which is not connected to board - Any idea where to connect i
  8. @@terjeio, @@yosh Thanks for your help. The next 2 solved the problem: 1) Removed the RST oled line, from the MSP430 2) I changed from SSD1306 to SH1106 by commenting #define SSD1306 1 (Ive tried it before, but the RST oled line was still connected) Now it looks like working fine, Except that the RST oled line is not connected anywhere. Do I need to connect it at all ? Thanks again for your help !
  9. @@terjeio Hi, I've recieved the oled and tried to use it, but with no success. The oled is I2C and comes with the follwing 5 wires: RST,SDA,SCL,GND and 3.3V This is what I did: 1) Connected wires (based on "When using I2C" - http://energia.nu/pin-maps/guide_msp430g2launchpad/ ) RST to RST (above P1.7) SDA to P1.7 SCL to P1.6 GND to GND (near P2.3) 3.3V to VCC (near P2.3) 2) removed jumper on P1.6 3) Commented in oled.h the line of #define SPIMODE 1 Still, nothing happens Any idea what I'm doing wrong ? The board itself should be fine, since I've checked th
  10. @terjeio, @roadrunner84, @yosh, @enl Thanks alot for your time & help !
  11. Hi, @@terjeio, @@roadrunner84, @@yosh, @@enl Thanks alot for your help ! I'm convinced to first try an OLED screen. So as far as I understood, I dont need the ULN2003/ULN2803, and the transisors. So here is my revised list: (Also removed "Crystal 32kHz" as it should arrive with kit) 1) 1 x "TI LaunchPad MSP-EXP430G2" (with breadboard and wires) 2) 1 x "voltage regulator 3.3V" (to use 9V battery): https://www.sparkfun.com/products/526 3) 1 x OLED Regarding the OLED: I need someting in size of 1.3", and I found this one: http://www.amazon.com/SainSmart-Serial-128X64-Module-Arduino/dp/B00M
  12. Hi, Thanks alot for your help ! I've all your read helpful messages. I've decided to do it 2 stages, because I see all these numbers and parts that I know nothing about, so I decided the leave the audio and rotary encoder control to stage 2, and in stage 1 just have a "timer" with seven-segment display (which is prefered to oled because of price) I've put up a list of the stuff I need to buy, with some short questions in the end. The list: 1) 1 x "TI LaunchPad MSP-EXP430G2" (with breadboard and wires) 2) 3 x "7-segement display" - https://www.sparkfun.com/products/8546 3) 1 x "Crystal
  13. Hi, I want to do a small project, and find it difficult to choose the right version of LaunchPad. I hope I can get some help here. I'm looking for the cheapest LaunchPad which can be used for my project. The project is a metronom - the tool that "beats" (vie click/lights) X times in a second, just like this one: (excpet that the "tap" on my project will be using button, not microphone) I just want to try and do one by myself. The requirements are: 1) Internal clock should VERY accurate, with 200 Beats Per Minute. 2) Need to controls 3 "7 segment displays" 3) Need to control 1 led to indi
  • Create New...