-
Content Count
35 -
Joined
-
Last visited
-
Days Won
2
estratos last won the day on June 18 2018
estratos had the most liked content!
About estratos
-
Rank
Advanced Member
Contact Methods
-
Website URL
http://www.panstamp.com
Profile Information
-
Gender
Not Telling
-
Location
Badajoz (Spain)
Recent Profile Visitors
1,107 profile views
-
I was trying to port all the panStamp NRG project done for Arduino IDE to Energia-1.6.10E18. I initially wanted to port it as a separate hardware under .energia15/packages/hardware/ so I simply copied the project from ./arduino15/packages/panstamp_nrg/hardware/msp430/1.0.7/ to .energia15/packages/energia/hardware/panstamp_nrg/1.0.7/ The problem is that the boards listed in panstamp_nrg/1.0.7/boards.txt are not displayed under Energia->Tools->Board. Is adding new hardware cores disabled for Energia? Adding new variants under msp430/1.0.3/ works perfect. Thanks for
-
For anyone interested, adding the following piece of code in pins_energia.h enables Serial1: static const uint8_t AUX_UARTRXD = 14; /* Receive Data (RXD) at P2.5 */ static const uint8_t AUX_UARTTXD = 15; /* Transmit Data (TXD) at P2.6 */ #define AUX_UARTRXD_SET_MODE (PORT_SELECTION0 | INPUT) #define AUX_UARTTXD_SET_MODE (PORT_SELECTION0 | OUTPUT) #define AUX_UART_MODULE_OFFSET 0x20 #define SERIAL1_AVAILABLE 1
-
OK, I'm now seeing that SERIAL1_AVAILABLE is not defined in pins_energia.h for this MCU, probably to avoid conflicting with the SPI port.
-
Is Serial1 (pins P2.5/UCA1RXD and P2.6/UCA1TXD) available on the MSP430FR2433 from Energia? If yes, is Serial1 already pre-instantiated or do we need to create the object in the sketch from the HardwareSerial class? Thanks!
-
Thanks Jazz, nice board. That TSSOP package is perfect even for manual assembly.
-
Thanks Fmilburn. The MSP430G2955 is a very good option as well. Did you notice any problem on any of the peripherals ? The variants + boards.txt approach is very simple but perfect if it works. I remember having had to add some specific core code for the CC430F5137 when I created the panStamp NRG project. Thanks Rei. Is this an ongoing project? Is there any list of third party boards (json files) supported by Energia as with the Arduino project? https://github.com/arduino/arduino/wiki/unofficial-list-of-3rd-party-boards-support-urls Regards.
-
Dear colleagues, It's been a while since I used Energia and MSP's (other than my loved CC430's) to develop a project so I've just installed the latest version of the IDE and updated from Boards->Manager. I was a bit surprised to see that the list of supported devices is still quite short. What is people doing when developing for platforms not appearing in the list? Are they creating their own board cores? Do they fork from similar boards? My project is quite simple and could probably be solved with a bare MSP430F2553 but I wanted to stay a bit more conservative so I was looking in
-
JSON file for installation on the Arduino IDE?
estratos replied to estratos's topic in Energia - MSP
Thanks Rei -
JSON file for installation on the Arduino IDE?
estratos replied to estratos's topic in Energia - MSP
Sorry to pump this thread up again but I found this json file: http://www.energia.nu/packages/package_index.json And wonder whether this file can be used from the Arduino IDE to install the Energia cores. If yes, are the cores up-to-date? Thanks! -
I found that commenting Clock_start() out and setting clkParams.startFlag = TRUE does make the clock periodically call the user function: #include <ti/sysbios/knl/Clock.h> #include <ti/sysbios/BIOS.h> Clock_Params clkParams; Clock_Struct clkStruct; Clock_Handle clkHandle; void clkFxn(UArg arg0) { digitalWrite(RED_LED, !digitalRead(RED_LED)); } void setup() { pinMode(RED_LED, OUTPUT); digitalWrite(RED_LED, HIGH); Clock_Params_init(&clkParams); clkParams.period = 5000000/Clock_tickPeriod; clkParams.startFlag = TRUE; Clock_construct(&clkStruct, (Cloc
-
Hi Rei, The compiler complained about some lacking .h resources for the MSP432 but I was building for the CC1310 in fact. Yes, I've posted the question in the TI forum but they are suggesting that probably Energia was overwriting some of the functions. I'm now going to open an issue on GitHub. Thanks again Rei for your time, Daniel.
-
Hi Rei, I was never able to try with Galaxia library due to some compiling problems. In any case, I've verified that you are following the same strategy as me to drive the Clock function. First you fill clkParams, then create or construct the clock object and finally start the clock. The only difference is that you are directly entering msec into clkParams.period and ClockTimeOut_ms. This is weird in fact since I've verified that ClockTimeOut needs to be specified in microseconds/Clock_tickPeriod. What happens after running clock_start() is that the callback function is called after C
-
I'm trying to test the clock functionality available on TIRTOS for the CC1310 SOC from Energia but I'm finding difficulties to make the clock trigger periodically (every 5 seconds in the example). This is what I'm doing so far: #include <ti/sysbios/knl/Clock.h> #include <ti/sysbios/BIOS.h> Clock_Params clkParams; Clock_Struct clkStruct; Clock_Handle clkHandle; Clock_Params_init(&clkParams); clkParams.period = 5000000/Clock_tickPeriod; clkParams.startFlag = FALSE; /* Construct a periodic Clock Instance */ Clock_construct(&clkStruct, (Clock_FuncPtr)clkFxn, 5000
-
Can we ask Energia to include an external ino file (located in an external folder) in the ino2cpp build process? This would be like using an external library with an ino file inside. This would be a on time change so editing platform.txt might be the perfect solution. Thanks!
-
Nope, I didn't. Is this the library being used by Energia? Do you know whether the task management is available anywhere in the Energia code? I've not been able to find any rtosSetup function in the Energia project. Thanks!