Jump to content
43oh

wilywyrm

Members
  • Content Count

    35
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by wilywyrm

  1. I assume you mean the 2452 and the 2553? Basically what you said was right, except the 2553 has a USCI (Universal Serial Communication Interface) so you can talk to a computer through the hardware UART or to other chips via SPI or I2C. For chips without a hardware UART, you have to implement it in software, and instead of a USCI, you would have a USI (Universal Serial Interface) for just SPI and I2C communication. EDIT: At 600+ pages, I personally wouldn't print it because eventually you will miss the Ctrl-F ability of a pdf.
  2. Thanks! Fixed it, and since it looked like there was too much free board space, I added current limiting resistors on the low side.
  3. Hi everyone! Haven't posted here in a long time, so I thought I'd share something I'm working on. Picture this: you and your friends have gotten together for some sweet pen-and-paper roleplaying action. It's the first round of combat, and everyone's getting ready to roll initiative. But then disaster strikes! The family dog has eaten the d20, and you were all sharing the same set of dice because YOUR FRIENDS ARE ALL TOO CHEAP TO BUY THEIR OWN! The obvious solution is to buy sets for them and give it to them for Christmas or something, but there's no fun in that. Cue MSPDice, a f
  4. Hi again guys, I got the UART to work thanks to Rickta and pabigot but now am having trouble generating a PWM signal to control my servos. What I'm trying to do is use TA1CCR0 and the timer overflow interrupt to generate a square wave. Instead of CCR0 determining the period length like usual, I'm trying to use a clock of 3MHz (DCO 12MHz / 4) to get a overflow every 65536/3000000 = ~21.8ms for period length and use CCR0 to take care of pulse width. CCR0 should be serviced twice every period, once to start the pulse and another to end the pulse. Every time the CCR0 interrupt is service
  5. They got discontinued after March last year. I guess not enough big manufacturers wanted them anymore. NXP still makes them, though, and I think nobody's link shows what I'm talking about.
  6. To be honest, that makes it sound like TI knew all this and still singled him out...
  7. Today was... a learning experience. I had wanted to use an external crystal to provide a 16MHz MCLK and spent all day trying to figure how, but it looks like the G2553 doesn't even have the capability to use an oscillator above 50kHz! I hope they provide that in a later G-series generation, but in the meantime, I'll have to use the DCO like in Rick's code. Plan is now a 1MHz MCLK, 500kHz SMCLK for the controller's SPI bus, and 32.768kHz for the UART. All the advice and links you gave will definitely help with fully understanding UART functionality, but for now I'll leave good enough alo
  8. pabigot, thanks for the suggestion. I need to try that tomorrow. Rick, thank you SO much for the code. I'm actually getting output now! I did have to modify your code a little and take out some C++ stuff since mspgcc doesn't want to compile the cpp file. I'll post it tomorrow for reference, but it does work and I understand it for the most part. The (comparatively small) trouble now is that I don't get this modulation business. Could you explain the UCA0BR1 register? The datasheet goes a little over my head on the first read, and mainly I want to know how to adjust the registers for dif
  9. Thanks for the help, guys! Still don't have it fixed or really know why, though. Does the code without the change output a single 'a'? I'm using a Rev 1.4 launchpad right now, but I do have a 1.5 also. I don't think the problem is with the jumpers because it works with TI's unmodified code example perfectly. Sorry for not being clear, and "interrupt-based" meant hardware USCI (USCIAB0RX_VECTOR, USCIAB0TX_VECTOR, all that good stuff). If hitting the port with a unsolicited continuous stream of 'a's will kill the port, how do I not kill it without sending something first? The goal
  10. I'm doing a robot arm project for a competition at my school, and I'm having real trouble with getting the g2553 hardware UART to work. For the life of me, I can't figure out why it's not printing anything at all. I compiled the TI code example that I'm modifying and it works just fine on my Linux box with Cutecom, but when I make transmission not interrupt-based, I get nothing! :x The functions I have in there were what I planned to use with a timer to send strings after a TimerA interrupt, but eventually I stripped it down to just writing to the TX buffer. Still nothing. Shouldn't it give
  11. It shouldn't. I imagine they reserved the Launchpad chips from some batch earlier in the year. For what it's worth, I ordered mine on the 22nd and got it today. It's a 1.5!
  12. wilywyrm

    MSP430ware

    I have to say, I don't think typing all that out will save anyone any time.
  13. Well, that's the thing. I think it cost them so much to ship those boxes that they changed all their deals to "free shipping on orders over $50". I may have single-handedly killed that for you guys. :cry:
  14. All this is hilarious and so true. I once ordered from Arrow. They packed the whopping 2 ATMegas I ordered in a full tray designed for 64 chips and wrapped it all in an outrageously cushioned box about 3 feet wide. And don't get me started on Element14. Last year they had a free shipping promotion and I took advantage of it to put in a full E12 set of through-hole and SMD resistors from 10 Ohms to 1M Ohms in one of mine. Individually. Big mistake. They packed each value of resistor in its own padded paper envelope. All 120 of them. That took up so much space they had to send two 6 feet
  15. Glad you like it. I did it in gimp, so its native format would be this xcf, but here's the exported psd. The png is here.
  16. A complete combo-breaker, but
  17. Desktop linux users! WHOOO HIGH FIVES AND PATS ON THE BACK ALL AROUND (Very jealous on the high graphics settings, though. Can't get that without chopping.) Well, if you can't wait for a whole new system, you could always just put in a new video card. Even humble 300W power supplies can take a GT240 or Radeon 5670, as long as you have a PCIe port. My friend and I got the former, plays StarCraft II and TF2 like a dream with the usual caveats. Steam displays your specs under Help > System Information, if I remember correctly. Maybe warning people with older hardware would hurt
  18. Thanks, nuetron! It looks like those aren't the dielectrics after all. The C in C7K might mean a tolerance of +/- 0.25pF, but that's awfully precise... On the other hand, K in K9C might mean +/- 10% tolerance. 104 for sure means 100,000pF = 0.1uF. The yellow one also has markings of 409 and RAN on the back, if that means anything. It's hard to identify what means what in what place without knowing the manufacturer, sorry. All I can be sure of is that they are 2-leaded 0.1uF caps.
  19. Pff I wish! I was hoping someone would want to trade supercapacitors for what I have. The protoboard looks like this. Don't need it anymore since I switched to etching my own boards. I would've posted more pics but it was late last night, and I forgot where I put my camera. Luckily, there are some pictures of the mysterious capacitors here and here. I've just been playing a lot of TF2 since it went free, but since summer sale... I'm going for Magicka, a couple of indie games, and whatever else pops up.
  20. I think it's the temperature coefficient. I remember thinking X7R and all that was the dielectric type, but that seems to be wrong. I'll go edit it. The seller said it was mil-spec, so they might have some special code for it. EDIT: Yeah, Google was pretty useless here. Maybe it's not the coefficient, but they all do check out to be 0.1uF on my meter, too.
  21. wilywyrm

    Atlas project

    More like about $13 from Digikey in one-offs; $7 if you want to go for the less hobbyist-friendy Arrow Electronics. Zeke, you might want to hold off on the nitty-gritty design of this board until TI clarifies their specs. If the BT5190 is limited to 25MHz (pg 38-39 of the datasheet), it's kind of lost its claim to fame.
×
×
  • Create New...