Jump to content


  • Content Count

  • Joined

  • Last visited

About schen

  • Rank

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

742 profile views
  1. I dug in deeper and I am a bit more confused. When I used "RED LuanchPad w/ msp432 EMT" in Energia IDE, C:\Users\...\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.1\ was used. When I imported the same project into CCS, C:\Users\...\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\ was imported as msp432r_MSP-EXP432P401R_core. I uninstalled "Energia MSP432 boards by Energia version 3.8.0" from Energia Boards Manager then deleted the folder C:\Users\...\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\ I deleted my Energia pr
  2. Thanks, Rei. The patch in your link solves only the initialization problem for HX8353E. There are two issues that require attention: 1. SPI clock phase is inverted for MSP432P104R. It has nothing to do with the errata. The clock phase is defined as inverted for the data modes as compared to the convention. 2. CCS uses a different core library as Energia IDE.
  3. The MSP432P104R SPI mode definitions have opposite polarity as the conventional modes, that is confusing enough. Yet, when I import an Energia project into CCS, the SPI polarities of the modes are reversed. I used tone() built-in function in Energia IDE for MSP432P104R. It had no output. I imported the project into CCS to debug it, the tone() function works under CCS. I am using Energia 1.6.10E18 and did all the updates of the libraries. I am using CCS v8 with all the updates. I also deleted the msp432_MSP-EXP432P401R_core and re-import the project and that did not change anything I
  4. I had the same problem: MSP432 LaunchPad worked fine with energia, used it with CCS and got a firmware update, it does not work with energia anymore (with energia 15 and 16). The error message was "Fatal: CS_DAP_0: Error connecting to the target: (Error -263 @ 0x0) Incompatible XDS110 firmware detected." Just installed Energia 0101E0017 and the problem went away.
  5. It appears that tone() and noTone() were left out in the port of Energia to MSP432. C:\Users\schen\AppData\Local\Temp\build4827627254845353855.tmp/W18_PWM_buzzer.ino:16: undefined reference to `tone(unsigned char, unsigned int)' C:\Users\schen\AppData\Local\Temp\build4827627254845353855.tmp/W18_PWM_buzzer.ino:19: undefined reference to `noTone(unsigned char)' collect2.exe: error: ld returned 1 exit status
  6. I am using Energia 0015 with MSP432 LaunchPad. There are some missing functions in the library. I patched a few of them in the application code to get it to work. I would like to move the patches to the library. Unlike the Energia library for MSP430 or Tiva, the library does not get rebuild every time I hit verify or upload (which is a good thing). But I don't know how the library gets rebuild. Could someone explain it? Much appreciated.
  7. Here is the problem. In C:\energia-0101E0015\hardware\msp432\cores\msp432\wiring_digital.c the pull directions are ignored. GPIO_PinConfig mode2gpioConfig(uint8_t pin, uint8_t mode) { switch (mode) { case INPUT: case INPUT_PULLUP: digital_pin_to_pin_function[pin] = PIN_FUNC_DIGITAL_INPUT; return (GPIO_CFG_IN_PU); case INPUT_PULLDOWN: digital_pin_to_pin_function[pin] = PIN_FUNC_DIGITAL_INPUT; return (GPIO_CFG_IN_PD); case OUTPUT: digital_pin_to_pin_function[pin] = PIN_FUNC_DIGITAL_OUTPUT;
  8. pinMode(n, INPUT_PULLDOWN) does not work on MSP432. The pins seem to function as input and the pull-up is always enabled in any input mode.
  9. Just located C:\energia-0101E0015\hardware\msp432\cores\msp432\SPI.cpp and these methods are empty: void SPIClass::setBitOrder(uint8_t ssPin, uint8_t bitOrder) { } void SPIClass::setBitOrder(uint8_t bitOrder) { } void SPIClass::setDataMode(uint8_t mode) { } void SPIClass::setClockDivider(uint8_t divider) { }
  10. Life would have been easier if it was mentioned somewhere in the installation instructions.
  11. I install Energia at C:\Program Files (x86)\energia-0101E0015\. It has been working fine for TM4C123. When I tried to compile for MSP432, I got the following error messages: C:\Program Files (x86)\energia-0101E0015\hardware\common\Makefile:19: C:\Program: No such file or directory C:\Program Files (x86)\energia-0101E0015\hardware\common\Makefile:19: Files: No such file or directory C:\Program Files (x86)\energia-0101E0015\hardware\common\Makefile:19: (x86)\energia-0101E0015/hardware/msp432/targets/MSP-EXP432P401R/Board.mk: No such file or directory Apparently Energia for MSP432 does
  12. The SPI.setBitOrder() and SPI.setDataMode() function calls seem not to do anything on the MSP432 LaunchPad. They work fine with TivaC LaunchPad.
  • Create New...