Jump to content

abecedarian

Members
  • Content Count

    1,711
  • Joined

  • Last visited

  • Days Won

    23

Reputation Activity

  1. Like
    abecedarian reacted to spirilis in New MSP430 FRAM - FR41xx/FR2xxx   
    Looks like TI's expanded the MSP430 FRAM line to include a lower-end (16KB FRAM max) but high GPIO line with LCD - FR4133 (http://www.ti.com/product/msp430fr4133)
     
    In addition to this we've seen teasers of an FR2xxx in the msp430-elf-gcc header files (msp430fr2032.h, msp430fr2033.h) which Will alluded to in the blog video - http://e2e.ti.com/blogs_/b/msp430blog/archive/2014/10/07/more-new-fram-microcontrollers-provide-the-lowest-power-lcd-and-maximum-flexibility.aspx
     
    The FR41xx's main feature is the LCD_E peripheral which boasts ~1uA power draw while keeping the LCD enabled and with a built-in charge pump running, and additionally the LCD function pins are software reconfigurable.
     
    Capabilities from the msp430fr4133.h header file:
    #define __MSP430_HAS_MSP430XV2_CPU__ /* Definition to show that it has MSP430XV2 CPU */ #define __MSP430_HAS_ADC__ /* Definition to show that Module is available */ #define __MSP430_HAS_ADC_CHANNELS_10__ #define __MSP430_HAS_BACKUP_RAM__ /* Definition to show that Module is available */ #define __MSP430_HAS_CAP_TOUCH_IO_0__ /* Definition to show that Module is available */ #define __MSP430_HAS_CRC__ /* Definition to show that Module is available */ #define __MSP430_HAS_CS__ /* Definition to show that Module is available */ #define __MSP430_HAS_FRAM__ /* Definition to show that Module is available */ #define __MSP430_HAS_GC__ /* Definition to show that Module is available */ #define __MSP430_HAS_LCD_E__ /* Definition to show that Module is available */ #define __MSP430_HAS_PMM_FRAM__ /* Definition to show that Module is available */ #define __MSP430_HAS_PORT1_R__ /* Definition to show that Module is available */ #define __MSP430_HAS_PORT2_R__ /* Definition to show that Module is available */ #define __MSP430_HAS_PORTA_R__ /* Definition to show that Module is available */ #define __MSP430_HAS_P1SEL0__ /* Define for DriverLib */ #define __MSP430_HAS_P2SEL0__ /* Define for DriverLib */ #define __MSP430_HAS_PASEL0__ /* Define for DriverLib */ #define __MSP430_HAS_PORT3_R__ /* Definition to show that Module is available */ #define __MSP430_HAS_PORT4_R__ /* Definition to show that Module is available */ #define __MSP430_HAS_PORTB_R__ /* Definition to show that Module is available */ #define __MSP430_HAS_P3SEL0__ /* Define for DriverLib */ #define __MSP430_HAS_P4SEL0__ /* Define for DriverLib */ #define __MSP430_HAS_PBSEL0__ /* Define for DriverLib */ #define __MSP430_HAS_PORT5_R__ /* Definition to show that Module is available */ #define __MSP430_HAS_PORT6_R__ /* Definition to show that Module is available */ #define __MSP430_HAS_PORTC_R__ /* Definition to show that Module is available */ #define __MSP430_HAS_P5SEL0__ /* Define for DriverLib */ #define __MSP430_HAS_P6SEL0__ /* Define for DriverLib */ #define __MSP430_HAS_PCSEL0__ /* Define for DriverLib */ #define __MSP430_HAS_PORT7_R__ /* Definition to show that Module is available */ #define __MSP430_HAS_PORT8_R__ /* Definition to show that Module is available */ #define __MSP430_HAS_PORTD_R__ /* Definition to show that Module is available */ #define __MSP430_HAS_P7SEL0__ /* Define for DriverLib */ #define __MSP430_HAS_P8SEL0__ /* Define for DriverLib */ #define __MSP430_HAS_PDSEL0__ /* Define for DriverLib */ #define __MSP430_HAS_RTC__ /* Definition to show that Module is available */ #define __MSP430_HAS_SFR__ /* Definition to show that Module is available */ #define __MSP430_HAS_SYS__ /* Definition to show that Module is available */ #define __MSP430_HAS_T0A3__ /* Definition to show that Module is available */ #define __MSP430_HAS_T1A3__ /* Definition to show that Module is available */ #define __MSP430_HAS_EUSCI_A0__ /* Definition to show that Module is available */ #define __MSP430_HAS_EUSCI_B0__ /* Definition to show that Module is available */ #define __MSP430_HAS_WDT_A__ /* Definition to show that Module is available */ #define __MSP430_HAS_TLV__ /* Definition to show that Module is available */
  2. Like
    abecedarian reacted to SixSixSevenSeven in New MSP430 FRAM - FR41xx/FR2xxx   
    I like the addition of a 5v pad on the launchpad. Wasnt entirely needed but its a nice touch. LED1 shared with TX though, yes I see the utility of it but I would have preferred the user LED to not be shared with the TX pin and instead to have a separate TX LED. But from what I can see, neither of the 2 user buttons or LED2 share connections with the LCD or boosterpack headers which is also a very nice feature to me, no interfering of buttons with boosterpack functionality or LCD functionality and no random blinking of the LED unexpectedly when interacting with boosterpacks or the LCD.
     
    I believe the IR functionality previously referred to is the format used by TV remotes which are not IrDA. Also a nice feature to have though.
     
     
     
     
     
    Dunno if I am going to pick one up, but I like it.
  3. Like
    abecedarian got a reaction from tripwire in New MSP430 FRAM - FR41xx/FR2xxx   
    @@Fred - it appears it does support IrDA encode / decode with the eUSCI_A0 module. See slau445.pdf, page 441.
  4. Like
    abecedarian reacted to Lgbeno in ESI Project: Water Usage Monitoring   
    Interesting project, I'm actually doing something similar with cc110l and msp430G2553. I call it "droplet". It runs off of a cr2450 battery, sleeps most of the time then wakes up sends measurements to a Hub that is wall powered and the hub ships the data to data.sparkfun.com. Here's the droplet:
     

     
    And here is a hub prototype (just ordered a real pcb for it)
     

     
    You can see the electric imp that receives data via uart the pushes it to sparkfun.
     
    My web app project imp.guru fetches the data from sparkfun to view, here's the data imp.guru/f1
     
     
    I'm willing to share any/all of this work for your project if interested. My recommendation would be to skip the whole energy harvesting thing and use batteries. With the right design you should last years on a pair of AA's.
     
    I've seen projects on hack a day where people use Hall effect sensors to pick up the spinning magnet in their utility water meter. I think this is it:
     
    http://hackaday.io/project/1460-Remote-Water-Consumption-Display
  5. Like
    abecedarian reacted to zeke in Roaming rats   
    Or put some type of special tape on the ground and have the robot rats follow it.
  6. Like
    abecedarian reacted to greeeg in Roaming rats   
    Place a small IR pair in the rats nose?
    I'm thinking reflectance sensor. (tiny 2x2mm ones)
     
    You could give it stiff wire whiskers that travel through a small metal ring, when deflected slightly the whisker creates a switch with the ring?
  7. Like
    abecedarian reacted to Fred in ESI Project: Laser coolant monitor   
    The first part of the ESI I've looked at is the Processing State Machine. The best explanation seems to be in section 4.7 of slaa639 which explains the LC base quadrature encoder example. It's particularly good at showing how to create the PSM table from your state machine design (4.7.2). The PSM is also explained is section 28.2.8.3 of the slau367e but I don't think it's done as clearly.
     
    Note that if you're looking at both the LC design and the MSP430Ware quadrature example, these do things slightly differently. For instance the LC one uses Q6 and Q7 interrupts and the MSP430Ware one doesn't. They're fairly similar, but not quite the same. As this is just a list of 16 hex constants it's not easy to tell!
     
    One thing that isn't obvious is what's done with the bits reflecting the current and new state of the two inputs. These are in a fixed order and hence tell you which of the 16 PSM bytes you're dealing with.
     
    My flow sensor actually has two magnet on the rotating disc and uses a "N" to set the output high and a "S" to set it low again. I could add a second sensor to make it a quadrature encoder, but to avoid too much unnecessary modification I'm going to try adapting to code to fit instead. I'll try to convert the ESI quadrature code to accept a simple single pulse input.
     
    Stay tuned to see how it goes...
  8. Like
    abecedarian got a reaction from tripwire in TI now will require .EDU or corporate Email addresses for samples.   
    Not a problem for me, and I do appreciate why they'd go this way.
  9. Like
    abecedarian got a reaction from tripwire in TI now will require .EDU or corporate Email addresses for samples.   
    I was only sharing the gist of the email I'd received.
     
    Freescale hasn't locked down things so much, yet.
    I haven't requested anything from ST... so can't say much there, and Maxim, Atmel and AMS aren't locked down yet, as far as I can tell.
    Cypress and others are actively filtering, and some are even charging at least for shipping.
     
    Maybe, all I'm saying, is be kind and don't abuse the vendors' generosity.
  10. Like
    abecedarian got a reaction from tripwire in Wolverine Launchpad update for early purchasers   
    Getting my wife to be impressed with my skills required barbecuing a pot roast.
     
    Beyond that, any mention of chips makes her ask "where's the salsa?"
  11. Like
    abecedarian reacted to Fred in Wolverine Launchpad update for early purchasers   
    That's exactly what I did. The big question - can Fred manage to solder QFN? And the answer is YES.  One solder bridge and a couple of pins that needed a bit more solder applied, but my v1.6 Launchpad is now happy again.
     
    I suspect that a home etched QFN board might be pushing my luck. I'll try a LQFP board soon but may draw the line there.
     
     
    I just proudly showed showed my wife. She was so unimpressed. 
  12. Like
    abecedarian reacted to novice430 in hardware UART at high bit rates?   
    I'm advising a group of students who are atempting to sample audio from a guitar pickup, perform a FFT to determine the fundamental frequency being played on the guitar, determine the musical note corresponding to that fundamental frequency, and play that note on the MIDI keyboard with a selectable "voice."  At the moment, the group is hung-up on implementing the FFT.  We'll see how they do!
  13. Like
    abecedarian got a reaction from bluehash in msp430 with 5110 screen   
    Using this display has been covered a lot on 43oh.
     
    http://www.google.com/#safe=off&q=nokia+5110+site:forum.43oh.com
  14. Like
    abecedarian reacted to rockets4kids in Program MSP430 from memory card   
    All of the MSP430 parts are fully self-programmable.  All you need to is read blocks from the SD card and write them into the MSP430's flash memory.
  15. Like
    abecedarian reacted to L.R.A in just a quick (really important) note on TM4C1294 I2C   
    Source: http://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/368493.aspx
     
    Just wanted to share something that i think it's important to note and some of you might not know, i sure didn't.
  16. Like
    abecedarian reacted to tml in MSP430-based solar-powered weather station   
    Hi Folks,
    Some time ago in a thread http://forum.43oh.com/topic/5550-simple-msp430f5529-bootloader/
    I shared my bootloader that I wrote for my weather station project.
    I'd like to share some info on the project that I have completed and that its now operating in the field.
     
    Link to the description: http://eltomek.blogspot.com/2014/10/diy-weather-station.html
     
    All comments are welcome. Thanks all from this forum who helped me in numerous posts where I had no idea how to get out of technical issues!
     
    Best Regards,
    Tomek
     

  17. Like
    abecedarian reacted to cde in hardware UART at high bit rates?   
    Computer -> Launchpad USB -> MSP430, limited to 9600 (hardcoded in the launchpad).
     
    Midi Device -> MSP430, limited to greater than 115200, according to the family guide.
     
    The hardware uart is fast, the bottle neck is the launchpad to usb connection, which you won't need.
     
    In that case, you remove the two serial jumpers. You won't have the serial connection to the computer, but you will still have the debugging interface.
  18. Like
    abecedarian got a reaction from zeke in Altium - free version   
    @@traxman = What does Win8.1 have to do with this?
     
    And I agree that not permitting local saves is ridiculous. What happens if their servers crash or are hacked? Where's the backup?
    It's like saying, "Here's my car. You can drive it all you like. We'll even put the gas in it. BUT you have to park in our garage and can only use these roads here, unless you pay for these other roads you want to drive on.
     
     
    *edit- added "to drive on".
  19. Like
    abecedarian got a reaction from alchy75 in Programming/debugging MSP430(G2553) while not common ground   
    ADuM1250/1251 are dual I2C opto-isolators: 1250 is bi-directional on both SCL and SDA; 1251 is bi-directional only on SDA. Only other thing needed would be isolating any other inter-connections. Perhaps either would be useful?
  20. Like
    abecedarian got a reaction from alchy75 in Programming/debugging MSP430(G2553) while not common ground   
    Haven't done it myself, but the idea is called galvanic isolation.
  21. Like
    abecedarian reacted to Fred in Quadcopter BoosterPack   
    Some more info and a video featuring Trey over on Hackaday
    http://hackaday.com/2014/09/22/freescale-and-texas-instruments-goodies-and-world-maker-faire/
  22. Like
    abecedarian reacted to Fred in Scan Interface Applications - Five Members Win A Target Board And An MSP-FET   
    MSP-FET arrived here in the UK. TI are bloody awesome, aren't they? 
  23. Like
    abecedarian reacted to bobnova in Scan Interface Applications - Five Members Win A Target Board And An MSP-FET   
    Got mine too. Also a new job.
    Would like to get started this weekend, we'll see how it goes.
  24. Like
    abecedarian reacted to Automate in Scan Interface Applications - Five Members Win A Target Board And An MSP-FET   
    Got my target board today so need to get in gear and start my project log this weekend.
  25. Like
    abecedarian got a reaction from TechIO in Add more LEDs with Fading   
    The code posted uses PWM, as well as the RED LED connected by default to P1.0; that pin doesn't support PWM.
    The GREEN LED connected to P1.6 does however, which is what the code uses "BIT6".
     
    So you need to find another pin that supports PWM, which on the G2553 LP means P1.2, and connect the LED to that, easily done by removing the jumper above the LED and running a jumper from the pin closest the LED to the LP pin next to the label "P1.2 (UART1)". Now, by adding BIT6 to BIT2, you can have both fading, albeit both do so in parallel.
     
    @@oPossum is a wizard and often makes things which do not make sense somehow work.
     
    Then,

    #include <msp430.h> #include <stdint.h> void main(void) { WDTCTL = WDTPW | WDTHOLD; DCOCTL = 0; BCSCTL1 = CALBC1_16MHZ; DCOCTL = CALDCO_16MHZ; P1DIR = P1SEL = BIT2 + BIT6; // BIT2 = P1.2 / BIT6 = P1.6 TACCTL1 = OUTMOD_7; TACTL = TASSEL_2 | MC_2 | TAIE; _EINT(); } #pragma vector = TIMER0_A1_VECTOR __interrupt void timer_a1_isr(void) { static uint32_t x = 0x00100000L; static unsigned d = 1; TACCR1 = x >> 16; volatile unsigned z = TAIV; if(d) { x += (x >> 7); if(x > 0xF8000000L) d = 0; } else { x -= (x >> 7); if(x < 0x00200000L) d = 1; } }
×
×
  • Create New...