Jump to content

benbergman

Members
  • Content Count

    5
  • Joined

  • Last visited

About benbergman

  • Rank
    Noob Class

Profile Information

  • Gender
    Not Telling
  1. benbergman

    [Energia Library] Capacitive Touch library

    Will this library + examples work with the new MSP432 launchpad when coupled with the 430BOOST-SENSE1 boosterpack? It seems the 432 has cap sensing on all GPIO.
  2. I'm working on a board that will use an MSP430 to drive a number of WS2811 LEDs based on commands sent to it over I2C plus a single capacitive touch sensor. With the tight timing requirements, is it still possible to run I2C slave and capsense functions while writing to the LEDs? Likely the LEDs will only update after one of these is detected, but I might have functionality where these inputs affect a constantly running pattern.
  3. Thanks for looking into this. That CCS/IAR compatibility header sounds mighty useful. Do you have a link where I could download it?
  4. Here is the demo code, straight from TI's website[1]. I was trying to compile the files found in /Source/CapTouch_BoosterPack_UserExperience/ as they appeared to be what comes on the chip with the booster pack. This is the makefile I was trying[2]. The only real changes I made to the make file were adding all the .c files to the sources line and changing the references to reflect my particular chip. The includes in the source were also changed. I tried refering to my particular chip as well as the generic msp430.h but got the same errors. When I get home, I can send the exact files I was trying with, including the modifications. [1]http://www.ti.com/litv/zip/slac490 from http://www.ti.com/tool/430boost-sense1 [2]http://sourceforge.net/apps/mediawiki/mspgcc/index.php?title=Example:Makefile
  5. I'm relatively new to msp430 dev. I'm on Linux and intend to use mspgcc as my compiler. I see the demo code for the cap touch booster pack has a directory for CCS and IAR, but no makefile or anything for gcc. I found a generic msp430 makefile and added all the source files from the demo to it. I'm using the msp430g2152 and have updated all references accordingly. I'm still getting a bunch of errors like CapTouchBoosterPack_UserExperience.c|172| relocation truncated to fit: R_MSP430_16 against symbol `TimerA_UART_tx' defined in .text section in uart.o CapTouchBoosterPack_UserExperience.c|173| relocation truncated to fit: R_MSP430_16 against symbol `TimerA_UART_shutdown' defined in .text section in uart.o || CapTouchBoosterPack_UserExperience.o: In function `CapTouchIdleMode': CapTouchBoosterPack_UserExperience.c|205| relocation truncated to fit: R_MSP430_16_BYTE against symbol `proximity_sensor' defined in .rodata section in CapacitiveTouchLibrary/structure.o CapTouchBoosterPack_UserExperience.c|205| relocation truncated to fit: R_MSP430_16 against symbol `TI_CAPT_Custom' defined in .text section in CapacitiveTouchLibrary/CTS_Layer.o || CapTouchBoosterPack_UserExperience.o: In function `MeasureCapBaseLine': CapTouchBoosterPack_UserExperience.c|225| relocation truncated to fit: R_MSP430_16_BYTE against symbol `wheel' defined in .rodata section in CapacitiveTouchLibrary/structure.o CapTouchBoosterPack_UserExperience.c|225| relocation truncated to fit: R_MSP430_16 against symbol `TI_CAPT_Init_Baseline' defined in .text section in CapacitiveTouchLibrary/CTS_Layer.o CapTouchBoosterPack_UserExperience.c|226| relocation truncated to fit: R_MSP430_16_BYTE against symbol `wheel' defined in .rodata section in CapacitiveTouchLibrary/structure.o CapTouchBoosterPack_UserExperience.c|226| relocation truncated to fit: R_MSP430_16 against symbol `TI_CAPT_Update_Baseline' defined in .text section in CapacitiveTouchLibrary/CTS_Layer.o CapTouchBoosterPack_UserExperience.c|227| relocation truncated to fit: R_MSP430_16_BYTE against symbol `middle_button' defined in .rodata section in CapacitiveTouchLibrary/structure.o CapTouchBoosterPack_UserExperience.c|227| additional relocation overflows omitted from the output Has anyone managed to compile this demo with mspgcc? Alternatively, does anyone have an alternative demo using the captouch booster pack that does work with mspgcc? I've searched through the forums a bit, but did not notice anything matching the above. Thanks!
×