-
Content Count
171 -
Joined
-
Last visited
-
Days Won
6
Reputation Activity
-
B@tto got a reaction from energia in MSP430 reduce clock speed
Hi,
If I'm not wrong, F_CPU is defined in boards.txt
-
B@tto got a reaction from energia in MSP430G2553 Power Monitoring
There is a dedicated channel on ADC with VCC/2.
You have to select 2,5v analog ref and select internal channel : analogRead(128 + 11) (if I remember well)
128 + X force energia to select the specific hardware channel X on analog multiplexer without mapping.
-
B@tto reacted to brelliott18 in I2C - MSP430 to MSP430 problems
SUCCESS !
using Mods as above plus twi.c and twi.sw.c from this link :-
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/529036/1924562#1924562
plus adding :-
Wire.setModule (0) before Wire.begin() in Void Setup() in both Master and Slave :-
I have managed to send two characters from the Master to turn off the Red Led in a loop on the Slave.
BIG Thanks again to B@TTO.
Wouldn't it be perhaps a good idea if these files were updated and placed in the Energia GitHub Repository ? How is this process carried out ?
-
B@tto got a reaction from anwar1506 in GPS + GSM on MSP430 using Energia
Hi,
You can get Fona module with SIM808 : the GNSS is integrated so you only need one UART to manage GSM and GNSS.
-
B@tto got a reaction from Fmilburn in GPS + GSM on MSP430 using Energia
Hi,
You can get Fona module with SIM808 : the GNSS is integrated so you only need one UART to manage GSM and GNSS.
-
B@tto got a reaction from tripwire in MSP430G2553 LPM4 works by current doesn't go bellow ~ 75 ?A
Hi,
Did you get off all jumpers ? Some current can be drown throught serial connexions.
-
B@tto got a reaction from dubnet in [Energia library] Wiznet W5100/W5200/W5500
Hi,
As it seems to work on MSP430 device like MSP430F5529, I share it here too :
http://forum.43oh.com/topic/9858-energia-library-wiznet-w5100w5200w5500/
Ethernet_Wiznet.zip
-
B@tto got a reaction from dubnet in [Energia library] Wiznet W5100/W5200/W5500
Hi all,
It was a real pain in the ass to find information about interfacing LP + Wiznet ethernet chip with energia so I'm here to share my work.
I was looking for a library for ethernet chips from Wiznet (W5100,W5200,W5500) for TivaC series LP. The first problem I met was that as TM4C129 LP already has an ethernet.h library, I simply could not copy a new ethernet.h library for non-ethernet
Ethernet_Wiznet.zip
-
B@tto got a reaction from Fmilburn in [Energia library] Wiznet W5100/W5200/W5500
Hi,
As it seems to work on MSP430 device like MSP430F5529, I share it here too :
http://forum.43oh.com/topic/9858-energia-library-wiznet-w5100w5200w5500/
Ethernet_Wiznet.zip
-
B@tto got a reaction from reaper7 in [Energia library] Wiznet W5100/W5200/W5500
Hi,
As it seems to work on MSP430 device like MSP430F5529, I share it here too :
http://forum.43oh.com/topic/9858-energia-library-wiznet-w5100w5200w5500/
Ethernet_Wiznet.zip
-
B@tto got a reaction from reaper7 in [Energia library] Wiznet W5100/W5200/W5500
Hi all,
It was a real pain in the ass to find information about interfacing LP + Wiznet ethernet chip with energia so I'm here to share my work.
I was looking for a library for ethernet chips from Wiznet (W5100,W5200,W5500) for TivaC series LP. The first problem I met was that as TM4C129 LP already has an ethernet.h library, I simply could not copy a new ethernet.h library for non-ethernet
Ethernet_Wiznet.zip
-
B@tto got a reaction from Fmilburn in MSP432 and SWD
Re-up
EDIT : finally got it
modify this file energia-0101E0017\tools\common\DSLite\MSP432P401R.ccxml adding the red line :
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configurations XML_version="1.2" id="configurations_0">
<configuration XML_version="1.2" id="Texas Instruments XDS110 USB Debug Probe_0">
<instance XML_version="1.2" desc="Texas Instruments XDS110 USB Debug Probe_0" href="connections/TIXDS110_Connection.xml" id="Texas Instruments XDS110 USB Debug Probe_0" xml="TIXDS110_Connection.xml" xmlpath="connections"/>
<connection XML_version="1.2" id="Texas Instruments XDS110 USB Debug Probe_0">
<instance XML_version="1.2" href="drivers/tixds510cs_dap.xml" id="drivers" xml="tixds510cs_dap.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds510cortexM.xml" id="drivers" xml="tixds510cortexM.xml" xmlpath="drivers"/>
<property Type="choicelist" Value="1" id="SWD Mode Settings"/>
<platform XML_version="1.2" id="platform_0">
<instance XML_version="1.2" desc="MSP432P401R_0" href="devices/msp432p401r.xml" id="MSP432P401R_0" xml="msp432p401r.xml" xmlpath="devices"/>
</platform>
</connection>
</configuration>
</configurations>
-
B@tto got a reaction from dubnet in MSP432 and SWD
Re-up
EDIT : finally got it
modify this file energia-0101E0017\tools\common\DSLite\MSP432P401R.ccxml adding the red line :
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configurations XML_version="1.2" id="configurations_0">
<configuration XML_version="1.2" id="Texas Instruments XDS110 USB Debug Probe_0">
<instance XML_version="1.2" desc="Texas Instruments XDS110 USB Debug Probe_0" href="connections/TIXDS110_Connection.xml" id="Texas Instruments XDS110 USB Debug Probe_0" xml="TIXDS110_Connection.xml" xmlpath="connections"/>
<connection XML_version="1.2" id="Texas Instruments XDS110 USB Debug Probe_0">
<instance XML_version="1.2" href="drivers/tixds510cs_dap.xml" id="drivers" xml="tixds510cs_dap.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds510cortexM.xml" id="drivers" xml="tixds510cortexM.xml" xmlpath="drivers"/>
<property Type="choicelist" Value="1" id="SWD Mode Settings"/>
<platform XML_version="1.2" id="platform_0">
<instance XML_version="1.2" desc="MSP432P401R_0" href="devices/msp432p401r.xml" id="MSP432P401R_0" xml="msp432p401r.xml" xmlpath="devices"/>
</platform>
</connection>
</configuration>
</configurations>
-
B@tto reacted to terjeio in G2553 and i2c slave
Here are my interrupt handlers, I read data into a buffer in TX_ISR and process them when a STOP interrupt is raised in RX_ISR. I am not using Energia so cannot replicate your code, but this approach may be of help?
#pragma vector = USCIAB0TX_VECTOR __interrupt void USCIAB0TX_ISR(void) { if(IFG2 & UCB0TXIFG) { if(i == 0) xmitbuffer = x ? transfer.x : transfer.y; UCB0TXBUF = xmitbuffer & 0xFF; if(++i == 4) { i = 0; x = !x; } else xmitbuffer = xmitbuffer >> 8; } if(IFG2 & UCB0RXIFG) { if(i2cRXCount < 3) { x = UCB0RXBUF; *pi2cData++ = x; i2cRXCount++; } } } #pragma vector = USCIAB0RX_VECTOR __interrupt void USCIAB0RX_ISR(void) { unsigned char intstate = UCB0STAT; if(intstate & UCGC) { // General call? UCB0STAT &= ~UCGC; // Clear interrupt flag return; // and return } if(intstate & UCSTTIFG) { x = 1; i = 0; i2cRXCount = 0; pi2cData = i2cData; transfer.x = new.x; // read current position transfer.y = new.y; // into transfer copy } if((intstate & UCSTPIFG) && i2cRXCount) { switch(i2cData[0]) { case 1: // Reset counters P1OUT |= CLR; current.x = 0; current.y = 0; previous.x = 0; previous.y = 0; P1OUT &= ~CLR; break; case 2: // Set pulse width if(i2cRXCount == 3) pulseuS = (i2cData[1] | (i2cData[2] << 8)) * 16; break; case 3: // Set PPI if(i2cRXCount == 3) { ppi = (i2cData[1] | (i2cData[2] << 8)); ppiDist = PPICORE / ppi; } break; case 4: // Enable laser if(i2cRXCount == 2) enabled = i2cData[1]; break; } i2cRXCount = 0; } UCB0STAT &= ~intstate; // Clear interrupt flags } -
B@tto reacted to spirilis in G2553 and i2c slave
That will work, actually. The "static" keyword when used inside a function tells the compiler to persist its value across subsequent executions of the function. The variable then actually gets allocated within the bss/global space, rather than the function's stack (where it would get re-initialized every execution of loop()). In this usage, the assignment is done only the first time the function runs (and/or might actually be done during the C init runtime phase, before main() runs, i.e. before the function ever does run).
-
B@tto got a reaction from tripwire in Energy Trace issue
All I have done here was in Energia in CCS, but I imagine I would be the same ...
When I worked on porting CC430 playing with ez430 Chronos kit, I had in Energia standAlone nearly the same consumption that TI mentionned in th user guide.
But on my module I fought a day to find where are the leaks of current (
-
B@tto got a reaction from spirilis in FR5969LP update programmer
Hummm files were exactly where you said But .... I did the update via Energia, my LP since bricked now ... "Interface Communication error (error = 35)"
I tried in CCS too, same error and no other option available ...
EDIT : It works ! I just restarted my computer and it was good
Thx
-
-
-
B@tto reacted to Fmilburn in Energy Trace issue
Hi @@B@tto
Did you use "Free Run" under the Run tab? If I remember correctly this disables some of the debug capability that would otherwise use energy.
-
B@tto got a reaction from tripwire in MSP432 and SWD
Hi,
I designed a custom board with an MSP432, and when I did it, I thought I could use the J103 header on the MSP432 LP to program it. But after my uploads failed, I made some investigations and found that LP use a full JTAG and not SWD to program the embeded MSP432. I finally found how to change the XDS110 mode to SWD in CCS :
(on the right, "JTAG/SWD/cJTAG Mode")
But how to do it in Energia IDE ? The MSP432 file organization is completely different from msp430 and I simply don't know at all where it could be changed ...
Thanks
-
B@tto got a reaction from yosh in MSP432 and SWD
Hi,
I designed a custom board with an MSP432, and when I did it, I thought I could use the J103 header on the MSP432 LP to program it. But after my uploads failed, I made some investigations and found that LP use a full JTAG and not SWD to program the embeded MSP432. I finally found how to change the XDS110 mode to SWD in CCS :
(on the right, "JTAG/SWD/cJTAG Mode")
But how to do it in Energia IDE ? The MSP432 file organization is completely different from msp430 and I simply don't know at all where it could be changed ...
Thanks
-
B@tto got a reaction from energia in CCS simple vs Energia IDE
Hi,
I have a strange problem : I'm working on porting MSP430F5510 to Energia. I use this
-
B@tto reacted to energia in CC1310 radio library
We do have plans to provide a library for the radio. It will be very similar to the one for the CC110L BoosterPack.
-
B@tto got a reaction from Rei Vilo in [Energia Library] Very Basic Software Serial TX Only Library
Hi Rei,
I just tested your library, I had to tune delays :
#define DELAY_START_BIT 95///< start bit #define DELAY_SEND_BIT 93 ///< data bits #define DELAY_STOP_BIT 93 ///< stop bit */ Maybe because digitalWrite() is a little bit faster since you wrote this. But note that my timing are just base on my experiment, I didn't any measure, just experiment different timings. This ones worked.