Jump to content
43oh

KatiePier

Members
  • Content Count

    42
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by KatiePier

  1. Glad to see that my gift made it overseas! :-)
  2. Mine came in, but unsure who my Santa was because Amazon conveniently lost the shipping receipt! :-) My photo didn't look nice so here is a better one: Very fun game! It's a word-association party game. Anomia is the word for when you cannot think of the word for something, and that basically is how the game goes. We played with some friends we had in town this weekend and had a blast. Thank you Santa! :-D -Katie
  3. In addition to @@oPossum 's awesome advice, the final point that always confuses people is that each Timer has TWO different ISRs. One (TIMER0_A0_VECTOR) is a special higher priority one just for TA0CCR0, and its interrupt flag is cleared automatically by entering the ISR at all. The other one (TIMER0_A1_VECTOR) is for all of the other TA0CCRx interrupts and TAIE - this is the one that uses TAIV - its highest-priority pending flag is cleared by reading TAIV. This code example uses both of them, so you can see: http://dev.ti.com/tirex/#/?link=MSPWare%2FDevices%2FMSP430%2FMSP430G2XX%2FMSP430
  4. Hi @@MSPLife, @@enl's summary above is spot on. One or two more additions about BSL - with the BSL password protection, as @@enl mentioned you cannot read out the part unless you provide the correct 32-byte BSL password. Now, if you provide an incorrect password, the part will do a mass erase which should get rid of the code in the part - that is to try to help against someone brute-forcing your password. After your code is erased, there's not anything for them to read anymore of value. This should all be described in www.ti.com/lit/pdf/slau319 The other point I wanted to make was,
  5. Hi @@nickn, Looks like you are using driverlib function calls - great! It is recommended to use the PMM_setVCore() function call from driverlib for setting the Vcore level before you change the clock - this has the most recent implementation of what @@fatihinanc showed you in their code. This will do all the single stepping of the core and required checks for you. For using the UCS functions you mentioned - are you using CCS? If you have CCSv6 with MSP430ware, go to View > Resource Explorer and you can see in MSP430ware under Libraries there is Driver Library, and there should be ex
  6. There's also this app note here: www.ti.com/lit/pdf/slaa513 (Note that it will soon be updated though because of this E2E thread: e2e.ti.com/support/microcontrollers/msp430/f/166/p/403099/1428736#1428736 - so make note. I think this issue shouldn't matter on G2211 though because of its limited pin and timer options) -Katie
  7. @@Optronik, See the datasheet www.ti.com/lit/gpn/msp430g2553 p. 30. You'll see under Test Conditions that the calibration is done at 30C and 3V. The spec to the right then specs what tolerance you'll get off of this 30C/3V calibrated frequency when you use it across the full 0-85C at 3V, or across 1.8-3.6V at 30C, and across both -40-85C and 1.8-3.6V. -Katie
  8. Hi @@Optronik, Just a note - Your mention earlier about using 32kHz with FLL to help set the DCO is actually what is done on some of the other newer MSP430 device families. You may want to take a look at the MSP430FR2033 for example (its big brother with LCD is also found on MSP-EXP430FR4133 Launchpad). This device uses the external crystal as an input to an FLL with the DCO to constantly keep tuning and adjusting the DCO to a specific frequency. Something similar is also done on MSP430F5xx/6xx devices if you ever use those. So what you are asking about is something that is done, it's
  9. Similarly, this will allow you to do the same thing but across all MSP sub-families (2xx, 5xx, FRxx, etc) as well: http://www.ti.com/lsds/ti/microcontrollers_16-bit_32-bit/msp/products.page For more detailed information than what is in this comparison tool online though, it is always best to check the specific device datasheet. The User's Guides cover an entire sub-family and so they include information on every possible module in that sub-family, so to see if a particular module or feature is present in a specific device it is best to check the datasheet. Regards, Katie
  10. Video of it in action: https://www.youtube.com/watch?v=jxUdoCaI04o
  11. Ok I'll fess up - it was me :-) Though I've got to give a hat-tip to @@ILAMtitan for the inspiration (and letting me use his book) hahaha. I'm just disappointed that although I sit right next to you (which makes trolling easier ) I somehow missed the opening of both of these, and thus the reaction. Probably a good thing though, as I really have no poker-face at all and would have smiled and laughed too obviously.
  12. Came home yesterday to this tiny bundle of awesome waiting in my mailbox: Quarter for scale. IT'S SO TINY AND ADORABLE!!! It pretty much looks and sounds like a big bee when you're flying it around. Still working on hovering/landing without wiping out - was starting to get better towards the end of the night. Fortunately it's been pretty durable so far despite all my crash landings. If I can master it maybe we'll get an action shot/video posted up here :-) I will also have to buy my husband one for Christmas now because he can't stop playing with it and is super jealous hahaha.
  13. Yeah unfortunately this is because of different pinouts as you alluded to. There is a board that supports FR4xx - but it is a new one: http://www.ti.com/tool/msp-ts430pm64d. If you want to learn more about the IR module there's also an app note about it: http://www.ti.com/lit/pdf/slaa644 Really fun if you want to make your own remote control :-) Right - currently this device is just sampling engineering samples so people can start designing with it now to be able to go to production at release. Production orders can only be placed later at full release and those parts w
  14. Hi @@mrinverter, There are a few things that jump out at me: 1. Your GPIO setting looks incorrect to me. You are using P2.5 + P2.6 for UCA1TXD/RXD. However, looking at the FR5969 datasheet http://www.ti.com/lit/gpn/msp430fr5969 on p. 88 table 6-52 I see this for the pin setup: You need to have P2SEL1 bit 5 and 6 set to 1, and P2SEL0 bit 5 and 6 set to 0. Right now, it looks like your code does the opposite: P2SEL0 |= RXD + TXD; //Setup the I/O //P2SEL1 |= RXD + TXD; So switch which line is commented out. 2. You are now using FR5969. This device has an eUSCI module (en
  15. As a note, if you have the MSP-FET it will follow the voltage you are providing from the external supply if you connect the pins correctly (it has a pin for inputting to it an external voltage instead of having it provide a voltage to your board). It's not really good to have the debugger and supply at different levels and the communication may not be reliable. ^^This is correct - SBWTDIO is the bidirectional one. There's way more details in www.ti.com/lit/pdf/slau320 - section 1.2.1.3 calls out SBWTDIO as being bi-directional vs SBWTCK which is controlled by the tool. Something you'l
  16. KatiePier

    BSL

    @@thomassss The BSL password is simply the 32-bytes from 0xFFE0 through 0xFFFF (see www.ti.com/lit/pdf/slau319 section 2.4.4.3). Note that this area also contains the interrupt vector table. So if you look at the binary image that your code generates, you'll probably see that at least some of these bytes are already filled in, so by default there is already some of a password (just maybe not a very strong one - most of it might be FFs). You should be able to modify addresses that are not used for pointing to interrupt vectors if you like to have a different password. Safest way to do this wou
  17. For others reference, looks like the same question is here: http://e2e.ti.com/support/microcontrollers/msp430/f/166/t/364546.aspx @@paddukoti could you share how you found to fix your problem in case other people run into the same issue later? -Katie
  18. My vote goes for the firmware update being needed - there's some more links here with more details: http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/364413/1281328.aspx#1281328 Some of the Rev 1.4 launchpads will need updates, others won't, depending on how old they are and which firmware they had: http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/97931/364901.aspx The fact that he was able to program another part (and I'm guessing the other part was the G2231 that came with the older launchpads even though he just said "G223" in this post) that is a G2xx1 device and s
  19. Hey guys, It looks like there were some web issues yesterday as @@pabigot mentioned. But it sounds like it is fixed now - see the comments on the bottom of the announcement page on the MSP430 blog: http://e2e.ti.com/blogs_/b/msp430blog/archive/2014/08/18/gcc-for-msp430-microcontrollers-is-ready-for-primetime.aspx Regards, Katie
  20. KatiePier

    PWM input

    Hi @@guybarash, The family user's guide is definitely where you want to look for more details about timer operation and the registers and bits that control these functions, just as @@roadrunner84 recommended. However, the SLAU144 document is for the 2xx family of devices - for the F5529, you will want to look at SLAU208 which is the user's guide for the F5xx/6xx family of devices. For timer A operation this shouldn't really matter as timer A is pretty much the same across families, but there are other modules that differ between the two families (clock system, power management, etc) so
  21. Not necessarily related to microcontrollers directly, but I have seen several free/inexpensive phone apps out there which are games that introduce basic programming concepts. One that I've played is called light-bot, but I know there are many many others like it - that one you are controlling a robot and telling it what to do by writing a program using a sequence of commands, trying to complete an objective, and it's all done graphically. It starts really basic (commands are basically arrows and symbols for going straight, turning, jumping), but later levels even start to introduce concepts li
  22. If you're going RGB LED + some sort of wireless connection between badges, I think you need to be able to play a group game of Simon on them - one badge per color/button, push it when its your turn in the pattern. Probably would need something to play tones as well. What about a wi-fi detector badge with leds for signal strength?
  23. Hi @@greeeg, Basically, XMS silicon isn't signed off on for use in mass production of end products - you should only use XMS as samples for designing your product, etc, and use production silicon to actually produce any large number of units of a product for public consumption. In addition, the XMS silicon doesn't always have all of the calibration constants in the TLV that are in the production silicon - for example, temperature sensor calibration at 85C might be missing because that clearly requires testing going through a temp chamber and that may not be done for simply these XMS engine
  24. Just as a side-note for others searching for help: if you get one of the parts that has the new eUSCI module (FR57xx, FR59xx, some of the F5xx/6xx parts) it has an option to set the 4th pin up as a true chip select function instead of Slave-Transmit-Enable (STE), so that you don't have to do it on your own with a separate IO anymore. www.ti.com/lit/pdf/slaa522 USCI to eUSCI migration guide Regards, Katie
×
×
  • Create New...