Jump to content
43oh

Frida

Members
  • Content Count

    27
  • Joined

  • Last visited

Reputation Activity

  1. Thanks
    Frida reacted to bluehash in Server   
    Certificate fixed.
    Thanks.
  2. Thanks
    Frida reacted to Rei Vilo in Energia FAQ   
    Some topics come aver and over again. Here are the most frequent questions.
    Wouldn't be nice to have all of them in one single place?
    Listed questions:
    Netiquette for Newbies What Information to Provide When Asking for Help I²C Check-List  Porting an Arduino library to Energia Use Pins Number instead of Pins Names with Energia Add a New Board to Energia LaunchPad and BoosterPack Pins Maps Boards Supporting the Galaxia Library  
     
    Netiquette for Newbies  What Information to Provide When Asking for Help  I²C Check-List  Porting an Arduino library to Energia  
  3. Thanks
    Frida reacted to Rei Vilo in iMeter BoosterPack   
    The iMeter BoosterPack features the INA226, an iteration of the INA219 I've been using in various projects like the I²C Voltage-Current-Power INA219 Sensor and the Volt-Amp-Watt-Meter for Grove.

    Compared to the INA219, the INA226 operates on the same I²C bus but can now perform the measures on the high- or low-side, when the INA219 could only measure on the high-side.
     

    The library for Energia was then easy to develop thanks to the prior experience with the INA219. 

    I tested the iMeter BoosterPack on a MSP430FR4133 LaunchPad and a MSP430FR6989 LaunchPad with the built-in segmented LCD, leveraging the alpha-numeric LCD to display the units and the buttons to select the different measures (V, A, W) and toggle between units (V, mV). 

     
    References
    INA219 Review INA226 BoosterPack full review Library for Energia
  4. Thanks
    Frida reacted to Peabody in New polling and pin-interrupt routines for rotary encoders   
    I worked on a new servicing routine for my kit oscilloscope's quadrature rotary encoder, and decided to write it all up and post it on Github.  Included are routines for periodic polling and for pin-interrupt servicing.  Hardware switch debouncing is not needed.  The routines are for general use, but I wrote testing code for the MSP430G2231 installed on the Launchpad.  The scope guys have used the "lookup table" state transition routine that most people use today, but it doesn't work very well on the scope, and I haven't found it to work very well generally.  My routines are designed to avoid all effects of switch bouncing, and seem to work very well and efficiently.
    Everything is explained in the PDF file in the repo.  All the testing code is also included, both source code and executable hex files, and I'm afraid it's all in assembler.  But I hope it wouldn't be too difficult to create Energia versions if anyone is interested.  I've provided hex files for both types of encoders - those with the same number of pulses as detents per revolution, and those with half as many pulses as detents.  The code produces one "tick" per detent in both cases.
    https://github.com/gbhug5a/Rotary-Encoder-Servicing-Routines
     
     
  5. Like
    Frida reacted to bluehash in 2018   
    Hello Everyone,
    I would like to wish all of our members and visitors a wonderful new year. Thank you for contributing and answering posts. 
    Keep posting and wish you all the best.
  6. Like
    Frida reacted to Rei Vilo in I²C Check-List   
    Check the usual suspects:
    Is the I²C bus initialised? Wire.begin(); Does the I²C device run at 3.3V? Otherwise, use a logic-level converter.
    Are pull-ups installed? Try 10, 4.7 or 2.2 kΩ for the SDA and SCL lines.
    In case the LaunchPad provides multiple I²C ports, is the correct port selected? Try 
    Wire.setModule(0); // or other port number Wire.begin(); Still nothing? Use a logic analyser to trace the signals on the I²C port.

    (To be continued...)
  7. Like
    Frida got a reaction from bluehash in How do you program the G2553 on Linux nowadays?   
    These days I use http://platformio.org
  8. Like
    Frida reacted to yyrkoon in Code::Blocks + mspgcc how-to.   
    Everything still works fine with the latest version of code::blocks, and the first version of energia on Windows 10 x64 pro. In fact, the launchpad is recognized straight out of the box, without installing drivers. That is, at least for the purpose of flashing binaries to the launchpad.
     
    IN fact I've just flashed three TSSOP-20 parts, using the launchpad using a ZIP socket adapter + 20 pin TSSOP to DIP socket adapter.
  9. Like
    Frida reacted to zeke in Is it just me ?   
    I hear you. 
    I understand.
    You're right.
    I appreciate your honesty.
    Thanks for keeping it real.
  10. Like
    Frida reacted to Rei Vilo in Is it just me ?   
    I faced similar issue, and this experience suggested me to post 
    If the forum is moderated, you should report the offensive post. 
  11. Like
    Frida reacted to yyrkoon in Is it just me ?   
    It's really frustrating. Because I knew the answer to the question asked, and gave most of the answer already. I was just waiting to make sure the problem was as it seemed to be. For this, the person needed to give me some information, that should have already been provided . . .But since young people do not seen to know how to properly ask a question. It's all my fault.
    Yes, yes, yes, I do not know how to properly ask a question myself sometimes. We're all guilty. But you know, I can usually find myself a way out of a wet paper sack . . . We all need help, we're all also not all knowing . . . we're people, and we're all flawed. Great. But at least when I take the time to help you out. Show some appreciation at least . . .
  12. Like
    Frida reacted to yyrkoon in Is it just me ?   
    So, I've been trying to help out for IDK maybe 5 years now on the beagleboard.org google groups. And,I see all kinds of stupid things. Just tonight, I'm trying to help out someone who obviously could not <insert explicitive > with out a link on instructions how to do so . . .
    So, I answer this person, tell him he needs to be more verbose in the explanation of his problem, then proceed to tell him what I think the problem is. This goes on for a few posts . . . Robert Nelson comes on, says the same exact thing I say, but gives this idiot an exact link to something the guy should have already known . . . suddenly, it's fsck all to me and thank you very much Robert Nelson sir . . .
    Make me want to go out and help people spitting on me in the street . . . Yeah, sarcasm definitely.
    EDIT:
     Yeah I probably should have mentioned the point, My point is that, is it just me, or did young people get drastically less . . .intelligent ? Sure seems that way from where I'm sitting. Not only that, if you do not give a link to something, for this younger generation. It seems they can not figure things out on their own. Let along come up with an original idea, or at minimum, any idea that was not handed to them by someone else . . .
  13. Like
    Frida reacted to zeke in Implementing an I2C slave device.   
    It was a bit of a mind bender for me at first but then I just read the I2C spec and it did not specify that the communication *had* to be at 100kHz. 
    The way I choose to understand things is that the I2C slave device has a communication state machine inside of it. All I have to do is put in one bit and turn the crank once. Then repeat. Over and over. Then the slave device will just do its job merrily. 
  14. Like
    Frida reacted to johnsondavies in A compact Lisp interpreter for the MSP430   
    My compact Lisp interpreter, uLisp, now supports the MSP430F5529 and MSP430FR5969 LaunchPads.
    As well as supporting a core set of Lisp functions, uLisp includes Arduino/Energia extensions, making it ideal as a control language for the MSP430.
    For more information see http://www.ulisp.com/.
  15. Like
    Frida reacted to bluehash in FourThreeOh wins TI Community Highlight of the Year Award for 2016   
    Thanks @Rei Vilo.
    To all, the award goes to you too. Thanks for being wonderful members.
  16. Like
    Frida reacted to bluehash in MSP430 analog clock   
    Came across this while browsing.
    MSP430 Analog Gauge Clock

     
     
  17. Like
    Frida reacted to Rei Vilo in Netiquette for Newbies   
    I'm being tired of reading posts by newbies that do not respect the most basic elements of the netiquette.
     
    Some examples:
    No previous search. Questions posted when answers are already available. Topics posted twice or thrice. Rude comments. Topics in capital letters. Twitter-style acronyms instead of fully spelled words. Personal messages duplicating threads.  So the question is:
    How to welcome newbies and keep the 43oh a nice place for everyone? I know netiquette deals with most of these issues. How to make newbies aware of it and enforce it?
  18. Like
    Frida reacted to terjeio in Issue with transforming from port2 to port1   
    @@NurseBob Sure have to do that, from table 8.2 in the user guide:
     
    "Port Select P2SEL 02Eh Read/write 0C0h with PUC"
     
    0Ch means pins 6 and 7 are configured for primary peripheral module function on power up, not i/o.
  19. Like
    Frida reacted to NurseBob in Issue with transforming from port2 to port1   
    I'm wondering, isn't the default configuration for pin 2.6 XIN for a 32kHz clock? I believe you need to change the port to I/O mode via P2SEL?
  20. Like
    Frida reacted to Fmilburn in Introduction to Finite State Machines   
    I recently became interested in Finite State Machines and ended up writing a tutorial which has been posted on the 43oh blog:  http://43oh.com/2017/02/how-to-implement-finite-state-machines-using-energia/
     
    The example uses Energia but adapting it to C / C++ for use with Code Composer Studio or other IDEs would be simple.  While conceptually easy, working through the details and applying the concepts in a more structured manner were instructive for me.  The tutorial is just an introduction but there are additional references at the bottom.  If you are aware of other good resources feel free to post them below.
  21. Like
    Frida reacted to NurseBob in MSP430F5529 + Energia SERIAL PROBLEM   
    @@fredakos,
    >any ideas?<
    Millions. 
     
    Please post the code, or a relevant code snippet.  There's no way to help with the information you've supplied.
     
    Bob
  22. Like
    Frida reacted to LiviuM in To I2C or not to I2C, that is the question...   
    Hello Curtis,
    in my opinion, your pins file has a problem with the (hardware) i2c pins. In my opinion, the TWISDA should be == with TWISDA0 and TWISCL should be == with TWISCL0. In your file there are defined as:
    static const uint8_t TWISDA = 22; /* P1.7 */ static const uint8_t TWISCL = 21; /* P1.6 */ static const uint8_t TWISDA0 = 23; /* P1.7 */ static const uint8_t TWISCL0 = 22; /* P1.6 */ I think they should be
    static const uint8_t TWISDA = 22; /* P1.7 */ static const uint8_t TWISCL = 21; /* P1.6 */ static const uint8_t TWISDA0 = 22; /* P1.7 */ static const uint8_t TWISCL0 = 21; /* P1.6 */ Attached is the pins_energia.h file with the above correction and with some minor "visual" changes - made the correct footprint for the 32 pins chip, aligned the comments...
    pins_energia.h
  23. Like
    Frida reacted to Rickta59 in Basic MSP430 GPIO Macros   
    Do you really know what I'm doing there?  I don't think so. I'm setting P1.4 as output and turning on the SEL bit for it also.  When those two registers are activated, it outputs the SMCLK on the P1.4 pin.  How is that obvious?
     
    more obvious would be a function called:
    __attribute__((always_inline)) static void CPU_output_SMCLK() { P1DIR |= BIT4; P1SEL |= BIT4; } Oh yeah and that PORT/PIN/SEL setting combination is only for the msp430g2553, other chips output the clock on different ports and pins. How is just using the bare registers more readable?
     
    -rick
  24. Like
    Frida reacted to Fmilburn in It's Halloween Again   
    Here are my finished projects for the season...
     
    This is a princess tiara made from the wearable G2553 I posted above.  It drives 3 WS2812 "neopixels" on a tiara that I bought at the dollar store.  The WS2812 were ordered from Aliexpress and I find them difficult to solder up in a chain by hand.  I need to put together a jig or something to hold things in place and make it easier.

    All princesses need a magic wand and this one came with the tiara.  I cut out a star shape from some 4x6 cm 0.1" pitch PCB and soldered a blinking RGB LED, coin cell holder, and a tilt ball type switch to it.  The wand turns off when pointed down and on when lifted up while blinking different colors.  Because of bounce in the switch it kind of randomly blinks itself when shaken which is interesting.  I took a number of pictures to capture the 3 colors shown.

    The big project was the ferry boat.  Here is a photo of one of the many ferry boats that run in the Seattle area:

    I start by choosing a main box to work from and shape it.

    Then lay out more pieces to get an idea of what it will look like.

    Then cut to shape, glue everything up, and paint.  The electronics are more WS2812 and another G2553 wearable.  I had planned to add more electronic gizmos to this but ran out of time.  I guess that leaves me with something to do next year though.

    My grandson has been helping a bit.  He is really into Lego.  He built this pumpkin and then we put an LED into that is just taped to a coin cell.

    Finally, some satisfied customers at the local fall festival parade...


  25. Like
    Frida reacted to chicken in generate pulse with the help of timer   
    Your program doesn't make any sense as is. You have counter variables that are never counted up or down. I think you copied a program that you don't understand. Someone from a forum rewriting it for you won't help you achieve your goal.
     
    My suggestion is to either start from scratch and build the program step by step, or at least try to understand how the original is supposed to work before you change it:
    https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/529768
     
    I see that Dennis tried to be really helpful on E2E but ultimately lost patience. Starting from scratch with Energia or a beginners tutorial might be your best bet.
×
×
  • Create New...