Jump to content
43oh

JoeG

Members
  • Content Count

    1
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Like
    JoeG got a reaction from Shuyang in MSP432 with WS2811 LED strip, where to start?   
    Sorry being a newbie to 430oh.com if this is a no-no posting to old threads. 
    But did get the Neopixel Library working with an MSP432 Launchpad (some tweaking of the Cortex-Mx assembly required. Much thanks to the WS2811 driver mentioned here:
    Only problem is I am not the greatest C++ programmer and had to hardcode the GPIO somewhat in Adafruit_NeoPixel.cpp :
    //jg 12/5/17 P1.0 is pin 78. 0x40004C02 YELLOW_LED
    //jg 12/5/17 P2.0 is pin 75. 0x40004C03 RED_LED
    //jg 1/3/18 P3.0 is pin 18. 0x40004C03 - Gets Neopixel off LED jumper on MSP432 LP
    But hooks are in Adafruit_NeoPixel.cpp if someone knows PIN_TO_BASEREG array from \Energia15\packages\energia\hardware\msp432\3.8.0\system\driverlib\MSP432P4xx\gpio.c
    Please see attached 3 files (hopefully all you need to test. The Adafruit_NeoPixel.h file has a very minimal but key change ) and let me know if it works for you.
     
    Adafruit_NeoPixel.cpp
    Adafruit_NeoPixel.h
    strandtest_joe.ino
  2. Thanks
    JoeG got a reaction from bluehash in MSP432 with WS2811 LED strip, where to start?   
    Sorry being a newbie to 430oh.com if this is a no-no posting to old threads. 
    But did get the Neopixel Library working with an MSP432 Launchpad (some tweaking of the Cortex-Mx assembly required. Much thanks to the WS2811 driver mentioned here:
    Only problem is I am not the greatest C++ programmer and had to hardcode the GPIO somewhat in Adafruit_NeoPixel.cpp :
    //jg 12/5/17 P1.0 is pin 78. 0x40004C02 YELLOW_LED
    //jg 12/5/17 P2.0 is pin 75. 0x40004C03 RED_LED
    //jg 1/3/18 P3.0 is pin 18. 0x40004C03 - Gets Neopixel off LED jumper on MSP432 LP
    But hooks are in Adafruit_NeoPixel.cpp if someone knows PIN_TO_BASEREG array from \Energia15\packages\energia\hardware\msp432\3.8.0\system\driverlib\MSP432P4xx\gpio.c
    Please see attached 3 files (hopefully all you need to test. The Adafruit_NeoPixel.h file has a very minimal but key change ) and let me know if it works for you.
     
    Adafruit_NeoPixel.cpp
    Adafruit_NeoPixel.h
    strandtest_joe.ino
  3. Like
    JoeG got a reaction from Fmilburn in MSP432 with WS2811 LED strip, where to start?   
    Sorry being a newbie to 430oh.com if this is a no-no posting to old threads. 
    But did get the Neopixel Library working with an MSP432 Launchpad (some tweaking of the Cortex-Mx assembly required. Much thanks to the WS2811 driver mentioned here:
    Only problem is I am not the greatest C++ programmer and had to hardcode the GPIO somewhat in Adafruit_NeoPixel.cpp :
    //jg 12/5/17 P1.0 is pin 78. 0x40004C02 YELLOW_LED
    //jg 12/5/17 P2.0 is pin 75. 0x40004C03 RED_LED
    //jg 1/3/18 P3.0 is pin 18. 0x40004C03 - Gets Neopixel off LED jumper on MSP432 LP
    But hooks are in Adafruit_NeoPixel.cpp if someone knows PIN_TO_BASEREG array from \Energia15\packages\energia\hardware\msp432\3.8.0\system\driverlib\MSP432P4xx\gpio.c
    Please see attached 3 files (hopefully all you need to test. The Adafruit_NeoPixel.h file has a very minimal but key change ) and let me know if it works for you.
     
    Adafruit_NeoPixel.cpp
    Adafruit_NeoPixel.h
    strandtest_joe.ino
×
×
  • Create New...