
gwdeveloper
Members-
Content Count
618 -
Joined
-
Last visited
-
Days Won
22
Everything posted by gwdeveloper
-
Electronics and certification aside, make sure you protect yourself legally too. Lawyer, indemnification... start an LLC or something.
-
You might consider switching to the HIH-5030 as it operates at 3.3v. I never had any luck with accurate readings using a HIH-4000 on the Launchpad.
-
Code Composer Studio v6 now officially released
gwdeveloper replied to chicken's topic in Compilers and IDEs
v6 is working pretty well for me. The beta was a bit clunky and the App Center never worked. After tracking down a proper libudev0 for Ubuntu 13.10 64bit, the release version is functioning quite well. A few years ago, TI gave me a full platinum license and it transferred over to v6 with no issues. -
The MPR121 generates two interrupts, one for press and the 2nd for release. You'll need your code setup to handle both or it gets screwy. EDIT: Since you are using Energia. Maybe try the Arduino library for the MPR121? http://bildr.org/2011/05/mpr121_arduino/ Other links: http://forum.43oh.com/topic/1254-mpr121-interrupt-question/ http://forum.43oh.com/topic/3587-mpr121-touch-sensor-and-i2c-wire-library/
-
Cool. Are you involving him in the project? Also, have you thought about adding a parental alert system? Something simple that sounds an alarm when, for example, said nephew is actually planking between the tub and sink with the toothbrush hanging idly from his mouth instead of brushing. Or maybe that's only my kid...
-
@@wasson65 Super jealous. Worst part of moving from Austin to Indy = no good bbq. I miss Rudy's brisket.
-
3 Floyds' Alpha King Best part of moving from Austin to Indianapolis = the beer in Indy rules.
-
@@MarkusR 1a) Yes, SPI activation is done by the Simpliciti BSP. 1b) You have no connection for GDO0 or GDO2. Check: ./LP_2553/bsp_external/mrfi_board_defs.h There you will find the SPI init macro as well as the pin definitions.
-
@chicken Perfect; that was the library I previously tried but no luck. You've solved the issue with the PxSEL. I'm going to download and try your pins_energia.h. Your pin numbering scheme was different than mine; I followed the same protocol as other boards with starting at 1 going counter clockwise to 18. Also a few extra defines were added for my own convenience. Did you get Fade working with your pins file? I bet we could wrap up this variant pretty quickly.
- 27 replies
-
Is it code you can post here? I'm interested in trying it out.
- 27 replies
-
@chicken No, I surely did not. That's where I was at with the RF2500 when I started having pc issues. From your last post, it seems that you have it working(?) I'll check it out over the weekend.
- 27 replies
-
Galago UltraPro arrived yesterday evening. Very nice machine. The display is bright and crisp. My only complaint is the trackpad is a bit touchy; never been too fond of them anyway so wireless mouse it is. Already up and running with CCS v6 too.
-
@t0mpr1c3 Have you made progress on this?
-
Thanks, that's what I was hoping to hear. Didn't want the trouble removing windows and install linux anyhow. They seemed to offer the best package.
-
Any of you guys have one of their computers? Or know somebody with one? After yesterday's smoky event, I'm in need of a new pc ASAP. Looking at the Galago Ultrapro.
-
I'd help out here but my PC let all the magic smoke out on Sunday morning. You guys will probably sort it out before I'm up and running.
-
Today, I received an order from RobG's Tindie Store; the Ethernet Booster Pack. Thanks @@RobG
-
Help in interfacing cc2541 BLE sensortag with msp430
gwdeveloper replied to Avinashkr's topic in Energia - MSP
Red Bear Lab's BLE Mini? http://redbearlab.com/blemini/ I ordered one the other day to use with a F5529. -
Bad-a** Post the Gerbers for us?
-
I've never had any luck with any of my computers (or msp <-> msp) using the UART on MSP430 devices until I found this https://github.com/glitovsky38412/msp430uartdriver
- 7 replies
-
- MSP-EXP430G2
- UART
-
(and 1 more)
Tagged with:
-
I still don't have a new F5529 Launchpad but wanted to tinker a bit more with Energia. Added another variant to use the MSP-EXP430F5529 http://www.ti.com/tool/msp-exp430f5529 It is not complete but the leds, buttons, i2c, and debug uart are all working. Next is wrapping up the timers then adding drivers for the on-board LCD, SD and Accelerometer. Add this to /energia/hardware/msp430/boards.txt lpmsp430f5529_25.name=exp-msp430f5529 (25MHz) lpmsp430f5529_25.upload.protocol=tilib lpmsp430f5529_25.upload.maximum_size=131072 lpmsp430f5529_25.build.mcu=msp430f5529 lpmsp430f5529_25.build.f_cp
-
Make sure you have this part correct; take note of the &. int sendByte_getBytes( unsigned char reg_to_read, int bytes_to_rx ) { //i = 0; i2c_tx_init(); __delay_cycles(1000); PTxData = ( unsigned char *)®_to_read; //TX ARRAY START ADRESS TXByteCtr = sizeof reg_to_read; //LOAD TX BYTE COUNTER ...
-
I commented out all the code you added. Seems to be working fine now. It runs very slow as you have not set your clock speed, so I believe the default is 1Mhz. Use CCS to watch data for bmp_temp and bmp_pres; you can also check ac1, ac2, ac3... #include <msp430.h> #include <stdlib.h> //BMP085 DEFINES #define BMP180_ADDR 0x77 #define BMP180_CTRL_REG 0xF4 #define BMP180_TEMPERATURE_REG 0x2E #define BMP180_PRESSURE_REG 0x34 //oss = 0 //#define BMP180_PRESSURE_REG_OSS1 0x74
-
@@supamas Grace is just a simple GUI for setting up selected msp430 devices. In the case of the ISR, it's just letting you type in a common function name for your interrupt function and then it adjusts the IV table. Essentially, it just does this: #pragma vector=USCIAB0TX_VECTOR __interrupt void USCI0TX_ISR_HOOK(void) { if (IFG2 & UCB0TXIFG) { /* USCI_B0 Transmit Interrupt Handler */ iic_TX_isr(); /* Enter active mode on exit */ __bic_SR_register_on_exit(LPM4_bits); } else { /* USCI_B0 Receive Interrupt Handler */ iic_RX_isr(); /* Enter active mode on
-
@@atiom that actually sounds like the data is being clocked incorrectly. The bit rate is determined by your mcu's clock speed. I see that you have UCB0BR0 = 12. Check my original code and read the note. Setting the "proper" bit rate has never once worked for me on any msp430 using i2c. Leave those values to zero and data is clocked correctly. Might be something to try as I just tested my original code and it's running fine.