Jump to content
43oh

bkb

Members
  • Content Count

    7
  • Joined

  • Last visited

Reputation Activity

  1. Like
    bkb reacted to roadrunner84 in Programming MSP430F2012 uC with Launchpad SBW   
    Note that you MUST remove the DIP chip from the socket, since the 1.27mm header is wired in parallel to the DIP socket!
     
    Note this is actually the socket in parallel, not the emulation part. So when removing jumpers from the programming header, you will disconnect the 1.27mm header as well.
  2. Like
    bkb reacted to energia in Programming MSP430F2012 uC with Launchpad SBW   
    Awesome! This is definitely a huge motivator to look into supporting the F2012 in the next release of Energia.
    $15 for 3 x MSP430F2012 target boards is a pretty good deal. Stick a small battery + NRF24 on it and you have yourself an awesomely small IOT thing.
  3. Like
    bkb reacted to PTB in Stellaris fast analog reads   
    Hi folks,
     
    I would like to do some pretty fast analog reads with the stellaris board. Preferably just from one pin.
     
    I loaded a snippet of code using 100 sequential reads
    .... Sample[0]=analogRead(PE_3); Sample[1]=analogRead(PE_3); Sample[2]=analogRead(PE_3); Sample[3]=analogRead(PE_3); Sample[4]=analogRead(PE_3); Sample[5]=analogRead(PE_3); Sample[6]=analogRead(PE_3); .... etc. And measured the time in microseconds at the beginning and end => and got 1434 microseconds to reel in 100 samples
    Assuming my maths is right, that's ~69,400 samples per second or one sample every 14.4 microseconds.
     
    I would love to get this down to pretty close to 1 sample every microsecond or as close as possible to it.
     
    I am doing the code in energia as this is what I am most comfortable with. I had a play with Code Composer but I have decided that is for smarter folks than me.
     
    Have found some very interesting links for the arduino for speeding up analog reads
    http://forum.arduino.cc/index.php/topic,6549.0.html
     
    Plus some other links using external ADC chips (doesn't suit me as I don't have enough spare pins, Though I could change a few things to get them if it was my only option)
    http://bobdavis321.blogspot.com.au/2013/06/arduino-powered-3-million-samples-per.html
     
    Soooo..... Are there any tricks (Energia style) you folks know of where I could squeeze a bit higher sampling rate?
     
    Its all very early days at the moment and I am just trying to sort out my plan of attack.
    Any advice or suggestions greatly appreciated.
     
    Thanks
     
    PTB (The perpetual Noob)
  4. Like
    bkb reacted to Rei Vilo in Stellaris fast analog reads   
    As @JKabat rightly said, 
     
     
    Please refer to this thread where I've explored the fast read/write operation with Energia.
     
  5. Like
    bkb got a reaction from roadrunner84 in Programming MSP430F2012 uC with Launchpad SBW   
    A have made an instructables about using Launchpad Spy-Bi-Wire to upload program to a MSP430F2012 from Energia. It works in the same way using mspdebug on Linux.
    http://www.instructables.com/id/Programming-MSP430-F2012-uC-with-Launchpad-SBW/
    It's a tutorial for beginners how to solder wires for headers and a first step with F2012.
     
    I've also tried the SpyBiWire with mspdebug and it works perfectly on Linux Ubuntu 13.04.


  6. Like
    bkb got a reaction from energia in Programming MSP430F2012 uC with Launchpad SBW   
    A have made an instructables about using Launchpad Spy-Bi-Wire to upload program to a MSP430F2012 from Energia. It works in the same way using mspdebug on Linux.
    http://www.instructables.com/id/Programming-MSP430-F2012-uC-with-Launchpad-SBW/
    It's a tutorial for beginners how to solder wires for headers and a first step with F2012.
     
    I've also tried the SpyBiWire with mspdebug and it works perfectly on Linux Ubuntu 13.04.


  7. Like
    bkb reacted to fatihinanc in Simple HD44780 Library without driverlib   
    Hello,
     
    I have tested 2x16 LCD and works well. Included pll and systick routines.
    Thist project is wroted withotut any driverlib functions. It will be a good example for "bare-metal coding".
     
    https://github.com/fatihinanc/stellaris-launchpad/tree/master/1602_lcd
     
    HD44780 1602 LCD Connections;
     
    RS -> PB0
    EN -> PB1
     
    D4 -> PD0
    D5 -> PD1
    D6 -> PD2
    D7 -> PD3
     

     
×
×
  • Create New...