Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


StefanSch last won the day on May 2

StefanSch had the most liked content!

1 Follower

About StefanSch

  • Rank

Recent Profile Visitors

261 profile views
  1. StefanSch

    Barebones ADS7142 code for MSP430FR5969

    May have a look at this post: https://e2e.ti.com/support/data-converters/f/73/t/639597?ADS7142-Library-or-I2C-details-for-ADS7142
  2. StefanSch

    Unsigned Long overflow

    Hi, can you provide some example code showing this issue.
  3. StefanSch

    Unable problem with Tiva C connected

    Error says it can not find the executable for DSLite. Have you checked if the file is there. Maybe there was in issue and the tool DSLite did not even got installed.
  4. This line should also not be there. #include <SoftwareSerial.h> The F5529 has a hardware UART for the Serial. The SoftwareSerial.h is only used internally in Energia on devices where a Hardware UART is not available.
  5. StefanSch

    MSP430G2 no communication

    Hi, I2C should now also be solved. The fix is pushed the github. But the master there has a lot of fixes and cleanup so that it is not easy to take the file in put it into the current release as fix. The here attached version should do that but could not test it on the current release version so far. If you like to give it a try i would be happy on any feedback. twi.c
  6. StefanSch

    MSP430G2 no communication

    To solve the UART issue go to the pins_energia.h file for the selected device MSP-EXP430G2452LP and try to update / modify this lines: static const uint8_t DEBUG_UARTRXD = 4; /* Receive Data (RXD) at P1.2 */ static const uint8_t DEBUG_UARTTXD = 3; /* Transmit Data (TXD) at P1.1 */ This seems to be wrong in the current version but i have no idea why this worked before as i could not find an update where this has been changed. To solve the issue with I2C you need to select the other I2C interface with setModule(0); The default mapping of the I2C interface to the pins 8 and 9 change a while ago but with the setModule you still can select the other I2C interface if available.
  7. StefanSch

    Blink example too slow

    Thanks for the feedback. Good to know it is working for you. Having a user not familiar with the syntax of compiler warnings this could be very confusing. So having a shorter reporting makes this easier. As the Energia or Arudino is also targeted for users without great experience on Microcontroller and compiler this makes sense. ~ Stefan
  8. StefanSch

    Blink example too slow

    this issue got already fixed a while ago - unfortunately the fix did not get merged into the master branch. Just did the update there so it will go into the next release. Meanwhile you can fix this locally with patching the wiring.c file. In the function InitClock update the first lines to: void initClocks(void) { #ifdef __MSP430_HAS_BC2__ #if (defined(CAL_BC1_16MHZ) || defined(CALDCO_16MHZ_)) && F_CPU >= 16000000L BCSCTL1 = CALBC1_16MHZ; DCOCTL = CALDCO_16MHZ; #elif (defined(CAL_BC1_12MHZ) || defined(CALDCO_12MHZ_)) && (F_CPU >= 12000000L) BCSCTL1 = CALBC1_12MHZ; DCOCTL = CALDCO_12MHZ; #elif (defined(CAL_BC1_8MHZ) || defined(CALDCO_8MHZ_)) && (F_CPU >= 8000000L) BCSCTL1 = CALBC1_8MHZ; DCOCTL = CALDCO_8MHZ; #elif (defined(CAL_BC1_1MHZ) || defined(CALDCO_1MHZ_)) && (F_CPU >= 1000000L) BCSCTL1 = CALBC1_1MHZ; DCOCTL = CALDCO_1MHZ; #else #warning No Suitable Frequency found! #endif #endif
  9. StefanSch

    Port manipulation on msp-EXP430G2

    On MSP430 device you can access the port with mainly three registers: PxIN : read input from port x (8 Bit) PxOUT : set output level on port x (8 Bit) (only if direction set to output) PxDIR : set direction on port x (0:input 1: output) where x is the port number e.g. Read input inputvalue = P2IN; Set port P2.0 to output high P2DIR = 0x01; P2OUT = 0x01;
  10. Sorry meant : you may can contact.....
  11. Looks like that the variable ucg_font_mode_fnptr is not defined in the library. I may can contact the vendor of the library for support.
  12. StefanSch

    G2553 and i2c slave

    Hi great work to fix this issues. Can you make a branch and push the fixes to the github server? It would be much easier to merge them into the master branch then.
  13. StefanSch

    Energia 1.6.10E18B6 Beta available

    Try that one: ant -f build-energia.xml clean build
  14. StefanSch

    Using HW (not SW) I2C

    Notepad++ but I think this comes from somewhere else.
  15. StefanSch

    Using HW (not SW) I2C

    For the non-iso char in the hardware.cpp file i am responsible but I am also not sure how this characters went in but i am sure that this is related to windows. (for the other files i do not know) I was quite sure that this was already fixed because it was already highlighted a while ago but looks like it got lost. I also did the update for the I2C library and understand that this did break some older codes but forward looking in made the platform for being compatible across all platforms. Therefore i tried to get the option in to select the interface to make an easy switch back to the old pins. Looks i have missed some cases - even if i tested this on all launchpads which was a long and boring work !!! (As already mentioned by Robert this is an open source project and my contribution into this project is done in my private time) Still trying to understand why i have not see the issue with the multi byte and the G2553 register swap not during the testing but thanks a lot for identifying and pushing the fix. There is just on point i would like to clarify - this did not happen on a hidden server: See issue #651 and pull request #686 where this changes has been pushed to git and merge into the master quite a while ago.