Jump to content
43oh

L.R.A

Members
  • Content Count

    599
  • Joined

  • Last visited

  • Days Won

    12

Reputation Activity

  1. Like
    L.R.A reacted to chicken in More C versus C++   
    Here's some more C++ magic which seems applicable to embedded programming.
    I think he optimized for speed instead of space (using tons of mov instead of a loop to initialize sprite bitmaps). But a lot of impressive optimization by the compiler.
    On the downside, I didn't understand half the constructs he was using. I guess I need to relearn C++ 
    via embedded.fm podcast
  2. Like
    L.R.A reacted to bluehash in MultiTasking ultrasonic and color sensor with MSP-EXP432 and Energia.   
    Via Hackster.io
    MultiTasking ultrasonic and color sensor with Texas Instruments MSP-EXP432 and Energia.

     
  3. Like
    L.R.A reacted to chicken in Ken Shirriff's articles about BeagleBone   
    I don't have a BeagleBone, but found these two articles from Ken Shirriff very insightful.
     
    The BeagleBone's I/O pins: inside the software stack that makes them work
    http://www.righto.com/2016/08/the-beaglebones-io-pins-inside-software.html
     
    PRU tips: Understanding the BeagleBone's built-in microcontrollers
    http://www.righto.com/2016/08/pru-tips-understanding-beaglebones.html
     
    Like all his articles, these are long and VERY detailed. Solidly in the "all you ever wanted to know about.."  category.
     
    I suspect (hope) there are more BeagleBone articles coming.
  4. Like
    L.R.A reacted to chicken in PowerBank has a project power supply - minimum current?   
    I've never had issues with a similarly looking power bank.
     
    Haven't tried it in real low power scenarios, but it was happy to feed my AIS receiver at 17mA all day long.
  5. Like
    L.R.A got a reaction from lilyhack in How to store data in TM4C   
    Note that the EEPROM is kinda small compared to the flash.

    The TM4C123 has 2KB and the TM4C1294 has 6KB.

    You access it in blocks of 16 word.

    There is probably a example in Tivaware.

    Here is how I enable it:
     
    bool eeprom_good = false; if(!SysCtlPeripheralReady(SYSCTL_PERIPH_EEPROM0)) { SysCtlPeripheralEnable(SYSCTL_PERIPH_EEPROM0); while(!(SysCtlPeripheralReady(SYSCTL_PERIPH_EEPROM0))); } if(EEPROMInit() == EEPROM_INIT_OK) { eeprom_good = true; } return(eeprom_good); How I read it:
     
    uint32_t temp; EEPROMRead(&temp, address, 4); return temp; And how I write into it:
     
    uint32_t temp; uint32_t result; temp = value; result = EEPROMProgram(&temp,address,4); return(result);
  6. Like
    L.R.A got a reaction from Fmilburn in How to store data in TM4C   
    Note that the EEPROM is kinda small compared to the flash.

    The TM4C123 has 2KB and the TM4C1294 has 6KB.

    You access it in blocks of 16 word.

    There is probably a example in Tivaware.

    Here is how I enable it:
     
    bool eeprom_good = false; if(!SysCtlPeripheralReady(SYSCTL_PERIPH_EEPROM0)) { SysCtlPeripheralEnable(SYSCTL_PERIPH_EEPROM0); while(!(SysCtlPeripheralReady(SYSCTL_PERIPH_EEPROM0))); } if(EEPROMInit() == EEPROM_INIT_OK) { eeprom_good = true; } return(eeprom_good); How I read it:
     
    uint32_t temp; EEPROMRead(&temp, address, 4); return temp; And how I write into it:
     
    uint32_t temp; uint32_t result; temp = value; result = EEPROMProgram(&temp,address,4); return(result);
  7. Like
    L.R.A reacted to Rickta59 in Has anyone tried STM32 F1 series?   
    You might want to check out System Workbench on openstm32.org. It is to st what CCS is to ti.
     
    http://www.openstm32.org/Downloading+the+System+Workbench+for+STM32+installer
     
    It integrates SPL and the CubeMXHal frameworks. It provides updates when they change.
  8. Like
    L.R.A reacted to energia in How is Energia MT organized?   
    Right now EMT is not compiled from source. We link against a pre-compiled binary. Please see hardware/emt/ti/runtime/wiring/msp432/linker.cmd for which precompiled libraries are linked with. The sources of the Wiring framework can be found here: https://github.com/energia/emt.
     
    What we do is we create something called a closure that has all the binaries / headers included. I then take that closure and consume it during the build of Energia.
    We realize that this is not the ideal way to do it since it is very difficult to rebuild the wiring framework from source. For that reason, the next release of Energia based on Arduino 1.6 will utilize the core package management system. With that release the Wiring framework will always be build from source just as we do with the other none emt implementations. SYS/BIOS / TI-RTOS will not be build from source however since that would take way to long when you hit verify on a Sketch. Reason is that it is very unlikely that you would want to change anything in those sources. We will post instructions for how to recreate those binaries if you do want to change things in those sources.
     
    The next release is about a month out.
     
    Robert
  9. Like
    L.R.A got a reaction from cde in Stupidest Thing you had to Troubleshoot?   
    Power 2 launchpads from 1 USB - used jumper wires to connect the USB powered launchpad to the 2nd one - I did GND-3.3V and 5V to 5V or something weird like that... The thing still worked somehow resenting from time to time. I took me while to notice how the launchpad heat up.

    Somehow that launchpad is still going after so many tests and I have just one of those 
  10. Like
    L.R.A reacted to Fmilburn in Have you experienced a chilling effect?   
    I got involved with this community essentially knowing nothing about microcontrollers or C/C++ when I retired as an engineering manager with a mechanical background (in Calgary by the way - one of my  favorite places).  Microcontrollers were  just something that caught my interest after viewing a TED video on Arduino.  And on average, the quality of the projects and the help / discussion just seemed to be on a higher level on 43oh than with the Arduino crowd.
     
    For me, learning this stuff beyond the superficial on my own outside of a classroom setting and without colleagues is hard.  But it has been rewarding and a great experience.  And I have learned something from each of you who have posted above.  So, my thanks to you.
     
    This is just a hobby for me, and it is unlikely anyone developing a commercial product is going to gain much from my advice .  Having said that, I try to give as much as I take. And a good way to learn and hopefully help others has been to read the problems others are having and see if I can solve them.  For those who would like to continue getting that kind of help, here are some tips:
    Don't abuse the goodwill of 43oh members in the manner described above Search and make a real effort to solve it yourself first Post sufficient information for someone to help solve the problem but be as succinct as possible and don't post a 100 lines of code Use the thanks button when someone helps - really, how much effort does that take?  Somebody just spent personal time to help you for free. When your problem is solved, consider editing your first post and put [sOLVED] in the title, or at least follow up with a post that you finally got it to work and how.  The next person with that problem will thank you. My son-in-law has a masters in EE and is now a patent attorney.  I asked him a while back about the practicalities of protecting intellectual property for the small guy or hobbyist.  My interpretation of that conversation was that unless you have money and/or time it is difficult.  A shame, the result is that you must do something like Spirilis suggests and carefully consider/tier responses, help, and what is revealed. 
     
     I appreciate the help past and future, and enjoy hearing about the projects. But, I also understand the sentiments expressed above and don't want to see livelihoods threatened.
  11. Like
    L.R.A got a reaction from zeke in Have you experienced a chilling effect?   
    I feel the exact same Zeke, I got some projects I feel like not sharing as much info as before, or no info at all.

    I get lots of times people asking me to help with a project. Students I usually don't have much problem in helping out just enough but many times it seems to be for products and well, why should I help you? You're getting paid, I'm not - if it was a friend then well I can help a bit

    I feel a bit that with the info on my website. I shared tutorials and all - I must have gotten like 1 thank you in 2 years.
    Once I took the site off - there was the possibility of teaching for payment how to use the TM4C so I didn't want to gave my tutorials out there - I needed to think. Well, then people we're quick to insult me, call my website useless (it was with just projects, with code and tutorials on them mind you) because I took the info off. That's why now I mostly make stuff only for people I know, at least they can buy me a drink or at least say thanks. I even got some to help me out making them.

     
  12. Like
    L.R.A got a reaction from Tieri in Great deals in the TI Store Celebrating Engineers Week!   
    This aren't that great anymore IMO. Just because for me it's 30$ shipping. I need to get a ton of things for it to be worth it.

    3 MSP432 are cheaper to get locally for the normal price than getting from Estore with that discount, especially due to customs.

    Lucky US ppl
  13. Like
    L.R.A got a reaction from tripwire in Great deals in the TI Store Celebrating Engineers Week!   
    This aren't that great anymore IMO. Just because for me it's 30$ shipping. I need to get a ton of things for it to be worth it.

    3 MSP432 are cheaper to get locally for the normal price than getting from Estore with that discount, especially due to customs.

    Lucky US ppl
  14. Like
    L.R.A reacted to Fmilburn in MSP432 and arduino libraries   
    I have had pretty good luck using the MSP432 with the libraries I ported to Energia.  The only problem so far is a GPS library that works fine on the F5529 but not on the MSP432.  It compiles and runs but won't capture data.
  15. Like
    L.R.A reacted to USWaterRockets in Great deals in the TI Store Celebrating Engineers Week!   
    Some good deals here on a number of development tools!
     
    http://www.ti.com/lsds/ti/store/engineers-week-deals.page?DCMP=EngineersWeek2016&HQS=Corp-corpgen-techtalent-engineersweek-thinkinn-20160222-store-deals-wwe
     
    12 great deals there, including the return of the popular $4.32 MSP432 Launchpad!
  16. Like
    L.R.A reacted to cde in Running straight off Battery vs LDO   
    Found a nice app note by TI, and wrote some thoughts on it:
     
    Just recently read an app note that targets your same circumstances. Using power solutions to extend battery life in MSP430 applications By TI's Michael Day. While it uses the MSP430 as its target, the same applies to any MCU.
     
    Depending on the MCU's Current vs Voltage, and Voltage vs Clock Speed, using an LDO with a low Quiescent Current will be much better than powering the MCU directly off the battery. The example uses 2x AA, and a TPS780xx regulator with 0.5
  17. Like
    L.R.A reacted to Rei Vilo in MSP432 and arduino libraries   
    The underlying framework is still Wiring / Arduino, so it includes the same functions.

    Now, the functions you plan to develop may require some RTOS tools if you want to use them with multi-tasking.

    For example, if you have 2 tasks dealing with the same I
  18. Like
    L.R.A got a reaction from Fmilburn in Tiva C Connected PWM - Total PWM Pins?   
    That MCU has 8 timers, each capable of 2 PWM signals with different duties. Then you also have a PWM generator with multiple PWM outputs but I am not sure if Energia implements those
  19. Like
    L.R.A got a reaction from Fmilburn in Workshop with Energia and the Educational Boosterpack MkII   
    DuckLink Screen Capture
  20. Like
  21. Like
    L.R.A got a reaction from fyaman66 in TM4C1294XL PWM for BLDC Motor without delays   
    I don't get why you are even using delays.

    Could you please explain a bit on that? Maybe with a time diagram of the signals?
  22. Like
    L.R.A reacted to Mark Easley TI in Hackster Live   
    Did anyone see the Hackster Live annoucement? They are recruiting ambassadors to host hardware meetups worldwide. If being a local community leader sounds interesting you should consider applying.
     
    https://www.hackster.io/live
     
     
    Also post and share your 43oh projects on Hackster, it is a great platform to get eyes on your work!
     
    https://www.hackster.io/ti-launchpad/
     
  23. Like
    L.R.A got a reaction from Laxmi in Using assembly Code .asm file with energia   
    board being used, which errors occur? how are you importing it?
  24. Like
    L.R.A reacted to roadrunner84 in Atmel bought by Microchip   
    So I read today that Microchip (those who make the PIC MCU) bought Atmel (those who make the ATmega MCU, used on the Arduino boards).
    They paid $3.6 billion (ss) to acquire the company.
    What will this mean for the Arduino companies (yes, there's two of them, and they do not like each other) and their maker supporter base? An ideal opportunity for TI to step in with their Launchpads!
  25. Like
    L.R.A got a reaction from greeeg in TM4C and bootloaders   
    Yay got it working. Now when I build the first firmware it automatically creates a C array of the binary. The bootoader build is configured to search the debug output of the first firmware and include the file.
    Now any updates I do on the first firmware go automatically into the full bootloader
×
×
  • Create New...