
juani_c
Members-
Content Count
115 -
Joined
-
Last visited
-
Days Won
3
Everything posted by juani_c
-
I'm trying to comunicate with a FXOS8700CQ. (Energia 13-MSP430G2553) When I use this code: Wire.beginTransmission(0x1E); // Initialize the Tx buffer Wire.write(FXOS8700CQ_OUT_X_MSB); // Put slave register address in Tx buffer Wire.endTransmission(false); // Send the Tx buffer, but send a restart to keep connection alive Wire.requestFrom(0x1E, 6); // Read bytes from slave register address i=0; while (Wire.available()) { dest[i++] = Wire.read(); } I get what it's seen in the bottom of the image. The second time the addres is sent it should be a "read" inste
-
That's a good idea! Either that or some sort of box.
-
Finally made it. I end up using an adapter board for the MSP430. more pics...
-
The variables are globally decleared. Here are some screen captures of the before and after the sqrt() function, the stack is close so that's probably the problem. Thanks!
-
That file shows the same values that I see in the Memory Allocation. The thing is why it shows me only 344 bytes, from that I get that I still have RAM to do other things...
-
I wasn't using the HM. I enable it now and the code seems to use the same amount of memory. The execution is faster, from aprox. [90]ms to 13[ms] (@default DCO = ~625 KHz)
-
I'm testing Mahony's algorithms for attitude estimation and I'm using a Launchpad with a MSP430g2553. In the code I'm using there are two functions; one calculate the attitude from accelerometer and gyro data (IMU) and the other one add magnetometer data (AHRS). I tested first the IMU and worked OK. Then I tested the AHRS and I couldn't make it work. What I could find through debugging was this: In the top of the program there are four variables q0=1, q1=0, q2=0 and q3=0 and in the algorithm there is a sqrt() function, it seems that for some reason the sqrt() function overwrite the values i
-
I should have been clearer, I have an MSP-430EXPG2 rev 1.3. I use it a while ago to program an MSP430F5510 wich I think is newer than the F5528, so I think it should work.
-
If I made this programmer, can I use a Launchpad to upload the firmware to the MSP430F5528? Do you think it is possible to make a single side board design? thinking in a homemade pcb....
-
jelou!!! y bienvenido
-
Suppose you have an application like SimpliciTi that says:" low memory needs(<8kB flash and 1kB RAM depending on the configuration)", you also have in your program the Petit FAT file system: "Very small RAM consumption (44 bytes work area + certain stack), Very small code size (2K-4K bytes)", finally you have some inertial sensors to calculate some angles, like in Nine-Axis Sensor Fusion Using the Direction Cosine Matrix Algorithm on the MSP430F5xx Family AppNote, where you need RAM ~ 0.75 kB, Flash ~ 11.7 kB. Summarizing: flash 8kB + RAM 1 kB flash 4kB + RAM 44 B flash 11.7
-
Yes, I did. The default baud rate is 115200 anyway, and that's the one that is giveing me problems. I migth have to settle for 9600.
-
Yes, 9600 worked OK. 19200 showed some spikes, but much less than the picture (thats spikes are just the way the graphic software interprets the wrong data). For a few moments in one of my many test it worked OK with 115200. I just have to find out what I did different...
-
I'm trying to communicate an MSP430 to my laptop through a KC-21 module. Below is a capture of the data with the msp430 using a 115200 baudrate. As you can see it has some issues. I tested a few things: Sending data with the msp430 at 115200 and an FT232 => THIS WORKS OK Sending data from the computer through the FT232 to the BT module and back to the PC, all at 115200 => THIS WORKS OK Sending data with the msp430 at 9600 and the BT module => THIS WORKS OK So it seems that the problem is isolated to the MCU working at 115200 with the module. I had problems in the pas
-
http://www.extrapixel.ch/processing/gifAnimation/ http://code.compartmental.net/tools/minim/
-
All the code examples are the same as any other MSP430, the haptic library is not available yet. Since there is no dedicated haptic hardware It shoul work the same with any MSP430, rigth? It looks like a marketing thing.....
-
This is kind of cool, see here There is also a new boosterpack that looks like a gaming controller
-
I had a couple of bluetooth com port, first I disabled them and then uninstalled them. Now It seems to run a little bit faster but It's far from optimum. Also updated Java but It was the same. I downladed the Energia Enhanced Release for Windows and that one seems to work OK.
-
I don't think is a memory problem, I only have this problem with Energia. IIRC I used to have the same issue with Arduino, can't remember if I fixed that...
-
Hi there! is there a way to speed up Energia? I use Win7 and is kind of a pain, the main problem is the menu, when I want to drop down a menu I have to wait a while and the software stop responding. Is there an easy way to solve this?
-
So, now Texas is making* an Arduino; http://e2e.ti.com/blogs_/b/toolsinsider/archive/2013/10/03/introducing-arduino-tre.aspx?DCMP=dsp-arm-arduinotre-131003&HQS=dsp-arm-arduinotre-b-e2e'>Most powerful Arduino available to date, powered by Texas Instruments Sitara
-
You need to download that library, here: http://www.extrapixel.ch/processing/gifAnimation/ and added to Processing's libraries folder
-
http://www.ti.com/ww/en/analog/dataconverters/inductance-to-digital-converter/index.html
-
Energia + LaunchPad MSP430G without on-chip UART?
juani_c replied to swampdonkeykami's topic in Compilers and IDEs
A few days ago I was doing some testing and programed a MSP430F2013 using a ez430-f2013 but only uploaded a "blink" sketch. I select the board "LaunchPad w/ MSP430G2231 1Mhz". If you look in the devices datasheets you'll see that both have the configurations registers (at least the for Port1 and 2) at the same address. Also both chips have the same device ID, so I'm thinking that some code will be compatible. As semicolo said you program the chips using the Spy-By-Wire interface (that is RESET and TEST) it has nothing to do with the UART