Jump to content

All Activity

This stream auto-updates     

  1. Yesterday
  2. Energia Pulse Sensor

    absolutely.
  3. MSP430FR5989: SPI interfacing with ISL23428 digipot

    cannot help you with your code. but happy to offer you an approach. as written, your code has poor reusability -> meaning you or others will have a hard time re-use the code in another project, with all those hard coded pins / ports. 1) read the datasheet thoroughly and understand what's needed to communicate with the device for your application and how the communications work. for example, do you need all CS/SCK/SDI/SDO or just CS/SCK/SDI? ... Form logic pins for those connections. 2) write a basic set of routines that communicate with the device. the datasheet says that it is always one command / instruction byte + data bytes. if you don't mind a little bit of inefficiency, a isl23428_write(cmd, data) + is23428_read(cmd, addr) would work, using logic pins in 1) above 3) with that, you can then write another set of routines writing specific data to dcp channels, or the control register, using routines developed in 2). 4) from there, you can develop your applications.
  4. Last week
  5. Hello All, Brand new Launchpad user here. I have downloaded Energia to use with my MSP432 launchpad. I have tried to download the corresponding driver (xds110_drivers.zip) from the Energia website. I am using Chrome. When I click download, the download will begin and about halfway through, I will get an error that says "Failed - File incomplete". Is this an issue with the driver file? Is there another location where I can download the corresponding driver? Many thanks! MSP432P401R REV B -Conner
  6. RGB_LED_RANDOM not working

    Have a look at the file pins_energia.h under ~/Library/Energia15/packages/energia/hardware/tivac/1.0.3/variants/EK-TM4C1294XL/pins_energia.h for macOS or at https://github.com/energia/tivac-core/blob/master/variants/EK-TM4C1294XL/pins_energia.h.
  7. RGB_LED_RANDOM not working

    Rei, could i ask one more question of you, not relate to the previous, but ill keep it here if thats ok? Im looking at some code that blinks an LED - BlinkWithoutDelay and it contains a line "const int ledPin = GREEN_LED; // the number of the LED pin" Where is the compiler getting the value of GREEN_LED from? I would like to see how this relates to the micro pin and then onto the booster pack pin or expansion port pin. From connecting up its on Pin 85 on the expansion header, but id like to see where this is declared. Thanks
  8. Interfacing MSP430G2553 with MPU6050

    Try the code in Arduino Playground: http://playground.arduino.cc/Main/MPU-6050#short I had a quick look and the simple example reading raw values appeared to stick to Arduino and not use processor specific calls. Don't double post the same topic.
  9. Suggestion: Add a FAQ

    Some topics come aver and over again. Here are the most frequent questions. Wouldn't be nice to have all of them in one single place? Netiquette for Newbies What Information to Provide When Asking for Help I²C Check-List Porting an Arduino library to Energia
  10. Interacing MSP430 and Pulse Sensor

    You’d need to use a library for Arduino and port it to Energia. Please find some useful links: How-To: Porting Libraries Posting a Library for Energia Some Misconceptions about Libraries Energia Pin Naming Generally speaking, all calls to low-level functions related to the MCU are not portable, because they rely on the MCU architecture.
  11. Interacing MSP430 and Pulse Sensor

    Does anybody have working code that interfaces the msp430 and pulse sensor(meant for arduino) to calculate heart beats per minute. Or if you have something through Energia. Anything helps.. Thanks
  12. Interfacing MSP430G2553 with MPU6050

    Does anybody have working code that interfaces the msp and mpu6050. I'm trying to use it as a pedometer. Thanks in advance.
  13. Energia Pulse Sensor

    Does anybody have working code for calculating heart beats per minute for the pulse sensor through energia. Been trying to find some but havent had any luck.
  14. LAUNCHXL-F28069M

    I think the command below would work: pin_2_state = !digitalRead(pin_1); digitalWrite(pin_2, pin_2_state); Keep in mind that this doesn't add dead-time between pin 1 and pin 2 though.
  15. Thanks for your reply. V15.3.0 didn't work for me. It looks like I need to find the right version by trial and error. Ekrem.
  16. error message not shown

    First of all, welcome to the forum. in order for someone to help you, you will need to provide more information. Please see this link for guidance.
  17. error message not shown

    i have been trying to connect the server and client to communicate i am getting an error "Err" without any message how should i debug it ? many thanks
  18. RGB_LED_RANDOM not working

    Energia implements a sub-set of the available features. If you want to uses PWMs, you'd need to work with Code Composer Studio.
  19. RGB_LED_RANDOM not working

    Sorry, im still not getting this! I've attached the pin-outs for the eval board and also the booster pack. The eval board shows PWM assigned to the pins that map to the pins on the boostxl-edumkii RGB LED. To me, this shows that PWM should be available on the pins that map to the RGB LED. If the routine analogWrite(pin,duty) is able to provide PWM to those pins (the micro can) then all should be well.
  20. RGB_LED_RANDOM not working

    Unfortunately answer is the same. BOOSTXL-EDUMKII RGB LED uses pins 37, 38, 39 for PWM. But EK-TM4C1294XL does not provide PWM on pins 37, 38, 39 or pins 77,78,79.
  21. RGB_LED_RANDOM not working

    But those are the LED's that are on the EK-TM4C1294XL board. My query relates to the RGB LED that is on the BOOSTXL-EDUMKII board. The RGB LED is on pins 39,38,37 of the 40 pin stackable connectors. These map to header C1 on the EK-TM4C1294XL pins 2,3,4 which have PWM allocated to them. I'm not convinced the analogWrite(pin,duty) is supported on my board and im also confused as to what i pass in the pin argument - is it 39,38 or 37 or 2,3,4 depending on which pin i want the PWM on? This isn't clear. Thanks for all your help but i think im going to give up on this shortly.
  22. An extra USB for MSP430

    If the usb is really a keyboard interface you could get one of those usb to ps/2 dongles.
  23. An extra USB for MSP430

    MSP430 can be only USB device, not host. For MSP430 USB device, there is open source TI USB dev pack with examples. http://www.ti.com/tool/MSP430USBDEVPACK
  24. An extra USB for MSP430

    Hi! It's my first time using MSP430 and I'm a little bit lost . I want to connect a barcode scanner module with the MSP430. In order to do that, I need an USB port extra. I know that Arduino has a USB Host shield, but MSP430 doesn't have any shields, does it? So, how can I do it? Is there any way to use the USB Shield of Arduino for the MSP430? Thanks!
  25. RGB_LED_RANDOM not working

    The code was for the LM4F120H5QR / TM4C123GH6PM. On the TM4C1294NCPDT, the LEDs aren't PWM. See the pins map! Select pins in violet instead on the pins map.
  26. SSD1308 I2C OLED - Stellaris driver API

    tm4c123g = new name for Stellaris.
  27. SSD1308 I2C OLED - Stellaris driver API

    hello .... will it work for tm4c123g?
  1. Load more activity
×