Jump to content
43oh

KatiePier

Members
  • Content Count

    42
  • Joined

  • Last visited

  • Days Won

    3

Reputation Activity

  1. Like
    KatiePier got a reaction from dubnet in Configuring the f5529lp to run at 25 MHz   
    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 examples here for all the different driver library functions. I remember there is even one specifically for setting the DCO to a desired frequency on F5xx: in Resource Explorer, MSP430ware > Libraries > Driver Library > MSP430F5xx_6xx > Example Projects > UCS > ucs_ex1_DCO12MHz.
     
    If you have questions about how a particular driverlib function call works, you can find documentation built into Resource Explorer under MSP430ware > Libraries > Driver Library > MSP430F5xx_6xx > API Programmer's Guide. This is html-based documentation - you can click Modules to get a list of all the modules in the device family, click on one of them (like ucs) and it will give you a list of all the function calls for that module. Click on a function call, like UCS_initFLLSettle, and it has a full description and a list of all the parameters that you pass to it.
     
    MSP430ware also has some blank driverlib projects that you can use as a starting place. Let me know if you have any more driverlib questions! I like to help people out with these libraries.
     
    Regards,
    Katie
  2. Like
    KatiePier got a reaction from fatihinanc in Configuring the f5529lp to run at 25 MHz   
    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 examples here for all the different driver library functions. I remember there is even one specifically for setting the DCO to a desired frequency on F5xx: in Resource Explorer, MSP430ware > Libraries > Driver Library > MSP430F5xx_6xx > Example Projects > UCS > ucs_ex1_DCO12MHz.
     
    If you have questions about how a particular driverlib function call works, you can find documentation built into Resource Explorer under MSP430ware > Libraries > Driver Library > MSP430F5xx_6xx > API Programmer's Guide. This is html-based documentation - you can click Modules to get a list of all the modules in the device family, click on one of them (like ucs) and it will give you a list of all the function calls for that module. Click on a function call, like UCS_initFLLSettle, and it has a full description and a list of all the parameters that you pass to it.
     
    MSP430ware also has some blank driverlib projects that you can use as a starting place. Let me know if you have any more driverlib questions! I like to help people out with these libraries.
     
    Regards,
    Katie
  3. Like
    KatiePier reacted to Jake in Steve Gibson promotes the TI Launchpad   
    I came from the Arduino side and coming here is like starting over again. But I do like that this is C programming so learning C helps me with everything. (I'm an industrial powerplant electrician.) And I'm working on my electrical engineering degree. I prefer the systems I can modify to suite my needs instead of relying on others for it, or having to accept the way the system works.
  4. Like
    KatiePier reacted to tripwire in Where is a good place to start for C tutorials? And challenges with button push led program   
    This line in your working energia code does three things:
     
     
    It sets the pin to input mode, but also enables an internal resistor that pulls the pin up to VCC.   In the plain C version you only have the pin set to input (which is the default), but the pullup resistor is not enabled.   If you're using the P1.3 button on the MSP430G2 launchpad, for example, you'll need to set P1REN bit 3 to enable the internal resistor, and also set P1OUT bit 3 to make the internal resistor a pullup (rather than pulldown). With that done, P1IN bit 3 will be 1 when the button is not pressed, and 0 when the button is pressed.   Your last C example also had a bug in the "if" condition. if(P1IN = 0b00001000) assigns the value 0b00001000 to P1IN, then checks if its value is nonzero. I think you probably wanted to use the equality operator instead, like this: if(P1IN == 0b00001000). I'd expect CCS to produce a warning about that, since using the assignment operator instead of the equality operator is a common C programming bug.   Finally, you need to be careful how you test P1IN; if(P1IN == 0b00001000) doesn't just require bit 3 to be 1, it also requires all the other bits to be zero (which they might not be). It's best to just check the bit(s) you're interested in: if((P1IN & 0b00001000) == 0b00001000) is only true if bit 3 of P1IN is set, no matter what the other bits are set to.
  5. Like
    KatiePier got a reaction from spirilis in UART Clock Issue / Accuracy / DCO   
    @@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
  6. Like
    KatiePier got a reaction from tripwire in 43oh-TI Secret Santa - 2014   
    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.
  7. Like
    KatiePier got a reaction from spirilis in 43oh-TI Secret Santa - 2014   
    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.
  8. Like
    KatiePier reacted to bluehash in Infrared (IR) BoosterPack Plug-in Module   
    Product link.
    Retails for $19.99, standalone.
    The BoosterPack with the MSP430FR4133 Launchpad retails for $27.99
     
    The BOOST-IR BoosterPack
  9. Like
    KatiePier got a reaction from cubeberg in 43oh-TI Secret Santa - 2014   
    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.
  10. Like
    KatiePier got a reaction from bluehash in 43oh-TI Secret Santa - 2014   
    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.
  11. Like
    KatiePier got a reaction from bluehash in 43oh-TI Secret Santa - 2014   
    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. Dueling micro-copters!
     
    Thanks @@spirilis!!!
  12. Like
    KatiePier got a reaction from tripwire in 43oh-TI Secret Santa - 2014   
    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. Dueling micro-copters!
     
    Thanks @@spirilis!!!
  13. Like
    KatiePier got a reaction from spirilis in 43oh-TI Secret Santa - 2014   
    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. Dueling micro-copters!
     
    Thanks @@spirilis!!!
  14. Like
    KatiePier reacted to ILAMtitan in 43oh-TI Secret Santa - 2014   
    Came home to a new package at my apartment today.  I was expecting some screws for another project I'm working on, but was surprised by a much bigger box.  Inside was a surprising new alarm clock, which is actually a lot cooler than it sounds!  Really jazzes up my workbench.
     

     
    I decided that Vader needed to hop on his ride.
     

     
    Just kidding, he's joined me in at his right full place by my side, on my nightstand.  We'll see how long he stays intact before his power is extended.
     
    Thanks Cubeberg!
  15. Like
    KatiePier reacted to Kat in 43oh-TI Secret Santa - 2014   
    Hahaha didn't know I ordered you one .... might have had it in there for when I was doing some shopping for my daughter ....
     
     
    Sent from my HTC Aria
  16. Like
    KatiePier reacted to bluehash in 43oh-TI Secret Santa - 2014   
    Mine came in today!
    I've been wanting a nice strap for my dslr. Kenneth "KaT" Stewart got me a nice one. Thank you!!
    There was also a Frozen T-Shirt. I'm not sure if trolling or serious.

  17. Like
    KatiePier reacted to spirilis in 43oh-TI Secret Santa - 2014   
    Many thanks to Rachel @ TI! She got me a 12V stepper motor which nicely matches with the DRV8711 boosterpack I bought last month (depicted to the left) on a whim... Time to play!

  18. Like
    KatiePier reacted to bluehash in HO! HO! HO! Get Your Stockings Ready - 2014 43oh Secret Santa   
    Pairings went out today!
    Good luck. Please ship by Dec 15th and thanks for participating.
  19. Like
    KatiePier reacted to roadrunner84 in programming conector   
    The 50 mil headers are not as fragile as they may look.
    Have you noticed that you can drop the outer two pins on the 6 pin 50 mil header to drop uart support in favour of space usage?
    Alternatively you could consider a TagConnect solution, as these fellows have done.
    A small (6-pin) tagconnect is about the same size as 2 to 3 DIP pads.
    This may not seem a big gain, but tagconnect does not require components on the target board, just board space.
    You could place it on the backside and only require space for the three alignment holes though the board.
     
    On this image, the tagconnect is the 6 small pads between the 3 small holes on the 6 o'clock on the board.

  20. Like
    KatiePier reacted to Fred in New Launchpad just dropped   
    and now there's a 10% off deal.
    http://e2e.ti.com/blogs_/b/msp430blog/archive/2014/11/06/get-a-jump-on-black-friday-with-these-early-deals.aspx
  21. Like
    KatiePier reacted to TheCompiler in flash corruption on msp430f5510   
    I'm not sure why one would be needed - the crystal on the schematic is just needed for USB, for the system clocks I want to use the DCO/FLL.
     
    I have posted the same in the TI e2e forums, and there it was pointed out I forgot to increment VCORE. With the default (0), the maximum allowed frequency was 8 MHz, so it's mind-blowing it actually did run that well at all
     
    This solved the issue.
  22. Like
    KatiePier reacted to spirilis in Convert char to integer issue   
    "Why is this? Shouldn't declaring like "char a[2] = {data[9], data[10]};" autoadd the terminating NULL byte at the end?"
     
    Nope.  Only string literals do that, and on top of this, you've only declared char a[] as a 2-byte array, then you do:
      a[2] = NULL;
     
    which is actually referencing a memory location OUTSIDE the declared bounds of char a[] !  This will overwrite something else on your stack which may cause erroneous application behavior from there on.
     
    The right way to do this:
    char a[3] = {data[9], data[10], 0}; // Put in a array + terminating NULL byte.
     
    Likewise with char b[].
  23. Like
    KatiePier reacted to spirilis in Setting CPU speed on F6659   
    It's an F5xxx/6xxx series chip.  Look at the MSP430x5xx/x6xx User's Guide for information on the UCS clock system.  Also look into MSPWare, which has higher-level APIs for configuring it.  Should be plenty of example code on how to do it.  That should be already present within CCS btw.
  24. Like
    KatiePier got a reaction from pine in New MSP430 FRAM - FR41xx/FR2xxx   
    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 will be the final release revision and be MSP430FR4133 not XMS430FR4133. If you look at the product page this is why it says "Preview" next to the part number at the top. It will change to "Active" at full production silicon release. http://forum.43oh.com/topic/5609-ti-msp430-wolverine-now-in-production/?p=48972
     
     
    You can find FR2033 device here: http://www.ti.com/product/msp430fr2033 Pretty similar but no LCD.
     
    Finally, if you want to know more about the differences on this part, there are some migration guides posted too:
    http://www.ti.com/lit/pdf/slaa649 (F2xx/G2xx to FR2xx)
    http://www.ti.com/lit/pdf/slaa648 (F4xx to FR4xx)
  25. Like
    KatiePier 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.
×
×
  • Create New...