Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by ozymandias

  1. i don't have much mounting advice except: -cut a big enough hole. -use enough hot glue. whaddya mean P2? i though this was a G2211?
  2. super sweet! is there a perf. board in a case version coming along?
  3. I was wondering about testing programs with external input in mspdebug's simulation mode. For instance, foo is done in a Port1 ISR or a USI slave ISR. I can see writing to the P1 register to set off the P1 ISR, but in the case of USI would you have to manualy write to the USI in, cycle however many clock steps matches the time elapsed before the next event and write to the register again? Does anybody know of a slicker way to do simulation of a program with real world timing and signals in mind?
  4. Indeed that is the plan, Rick. Once the structure of the data is nailed down, i'll start on using lex-yacc/flex-bison to make a compiler that will take in g-code and spit out a ascii file of characters to transmit.
  5. I've had a Makerbot Cupcake CNC for a while now and have been wanting to convert it from the current arduino-bobino-fee-fi-sanguino controller to lightweight and modular MSP430 subsystems that would be useful in other control and robotics projects. currently i have beta software that takes in UART data from a computer (i'm using GTKterm in linux) to the launchpad, where a G2231 controls chip select bits and resends the byte to (currently 3) other 2231's. What i'm planning to do soon is modify the Makerbot to "close the loop" as far as control. Currently, you only theorectically know wh
  6. Project: control 3 MSP430G2231's using a single G2231 as a bridge/converter/demultiplexer that recieves data through the USB the bridge takes bytes and puts alternately sends them to recievers 1-3. the recievers' P1.0 and P1.6 go to stepper motor controllers to step on rising edge and control direction, respectively. "bridge" part: -recieves bytes from 2400 8N1 input to P1.1 (requires launchpad 'RXD' jumper to be removed and the pin on the FTDI side connected to P1.1) -after reception, transmits each byte out of P1.6 as MOSI and P1.5 as SCLK. -cycles through bringing one
  7. :shock: :shock: It just works! WTF, thats not supposed to happen. Thank you! IOU a drink sir.
  8. So, I have been trying to make a UART to SPI "bridge", so as a first step I'm making a UART echo program to verify that the UART is recieving data correctly. I started with a TI example program which had both TX and RX in one timerA ISR. The program didn't work as it was supposed to, so i kept the TX in the timerA0 ISR and put RX in the timerA1 ISR. This sort-of worked, as it transmitted data back, but the data is invariably 0xFF (though it transmits 0x00 the first time after the chip is programmed). Here is the code, if somebody sees any glaring errors: #include #include #d
  9. Cool cool. Thanks guys. It looks like I have an old version of 430gcc, but it works at the moment for my 2231's, so I'll just wait until a newer version pops up on the YUM repos.
  10. once upon a time i managed to bumble my way into getting programs to correctly compile for the G2231s that i have lying around using the flag -mmcu=msp430x2012 . my first question is, does anybody know why this works, as it seems it shouldn't and second, what would be the proper flag for the FRaunchpad? mspdebug seems to talk to it fine, but i'm not sure how to compile for it just yet. PS. does anybody have the code to the demo program that comes aboard the FRaunchpad? it would be a great reference.
  11. would i be right in saying that the launchpad ONLY has 2 line SBW capability? whats a good option to program MSPs with only 4-wire JTAG?
  12. the links in the E2E link above are dead. I have the links, but i'm too new a user to post them. Thanks for the help, i'll look through them.
  13. can most any msp430 uC be programmed by the launchpad or just the "value line" little tiny ones?
  14. hi all. long time lurker, first time user. I picked up a launchpad a while ago and have enjoyed using the msp430 MUCH more than the Freescale HCS12 that i had to use in my microcontrollers course. It saved my bacon in a embedded controls class insofar as i didn't have to use the 'suggested' Altera DE0 FPGA and its associated crappy software. I'm currently working on using a few 430s to liberate my makerbot from the arduinos it came with.
  • Create New...