L.R.A

Members
  • Content count

    598
  • Joined

  • Last visited

  • Days Won

    12

L.R.A last won the day on December 28 2015

L.R.A had the most liked content!

About L.R.A

  • Rank
    Level 3
  • Birthday 03/15/1995

Contact Methods

  • Website URL
    https://sites.google.com/site/luiselectronicprojects/home

Profile Information

  • Gender
    Male
  • Location
    Portugal

Recent Profile Visitors

1,255 profile views
  1. HI EVERYONE, Long time no see. University has been hard, not time for anything. But I am back into the MCU world! And I am having some problems so I first would like to know if anyone ever tried this. I am using a SD card to save data with FATFS. The problem is that the MCU is also doing other stuff... I've been having writes of a few ms which is normal with FATFS. I am considering of course trying to write 512bytes at a time but also implementing DMA on the SPI. But I am not sure the DMA will help. It seems FATFS f_write and the port function disk_write, want to right away read or write more stuff into the card, meaning I would anyway have to wait the couple of ms... Am I wrong in this? (from what I've seen I probably have to directly write into the SD card after pre-allocating a file if I want the DMA to help)
  2. Just 1 question, there can't be switch of context when pulseIn is occurring, correct?
  3. Hi @@curtis63 I would advise to use Energia. Use Energia libraries when you can. If you need some feature not supported by any Energia libraries (user submitted or core) then use more low level programming (using MSP register headers and things like that). This way you get a mix of both and spend the least time developing software. If you would like some debug power, CCS supports Energia sketches. That said I think you can do everything you want with Energia libraries. Note that some problems you might face are not language wise. Yes many times in CCS you use C instead of C++. But you can use C++ just fine if you want, after all you use it with Energia. The thing is, what you will find different is hardware configuration. See it like making a driver for a piece of hardware. 1. Can Energia robustly and without errors do the above things? It can but you of course have to code the MSP correctly for your purpose. 2. Am I wasting my time getting all of the above accomplished using Energia? For what I understood of what you want to do, you will save time using Energia libraries instead of MSP430 register programming. 3. Should I be using Code Composer Studio? You can use it if you need to use debug tools. Otherwise don't bother. 4. Having NEVER developed ANY controller level code outside of Arduino and Energia, what kind of Learning Curve am I looking at to accomplish the above things? If you are talking about implementing in register programming fashion it's a bit hard to start. You will have to understand about registers in general and then learn the MSP430 register (just the ones that you need) and how to access them (by using the names on the headers). When using register programming a Wire.begin() becomes multiple lines of code configuring registers. Not that hard but when you start it can be discouraging to configure them. You also need to learn how interrupts work and how to use them. It may seem a lot but there are very good workshops and resources for the MSP430. Being a TM4C user it makes me envious! But as I (and @energia) said, you should not need any of that 5. Where is the best place to start learning this? There are a ton of MSP430 tutorials and resources from the TI team. I know most for other MSP430s. Not sure if you can consult the cloud. It has a ton of the software and documents: https://dev.ti.com/ But here is a good one for the MSP430G2553. http://processors.wiki.ti.com/index.php/Getting_Started_with_the_MSP430G2553_Value-Line_LaunchPad_Workshop 6. Where is the best place to look for answers to MSP430 development questions? If you are really interested you can make some questions in this forum or TI E2E. btw, if you came from Arduino, remember all launchpads work with 3.3v and most don't have 5v tolerant pins, including the MSP430G2553. So if you are using i2c with a 5V slave, be careful if you use 5V pull-ups. Hope it helps
  4. I have no idea about those particular examples. Usually when using Energia for that I only needed really simple stuff so I used Serial.available on the receiving end to check if anything was received. The serial library has a buffer and automatically stores what was received (of course there's a limit of how much you can receive before having to start emptying the buffer)
  5. So far I am pleasantly surprised as it is still going and already charged it (well it was not all they way discharged when it came). I would post a video but it doesn't seem to support it. How did you open yours? I want to look inside mine but not sure on how to open the case.
  6. Seriously? what a bummer :/ I've been waiting for another before this one.... since august the 15th (this one that arrived was ordered august the 31st)... let's hope that one works. If it arrives.
  7. At the very least there should be a sense resistor. You can increase it but then you limit the maximum current before it cuts off. If there is a voltage divider setting the minimum current, that would be awesome.
  8. @@Fmilburn It arrived. Tested it and there seems to be a lower limit. I would estimate about 50mA. If you draw less than that it turns off... It will work for this little robot, I could have an LED in it flashing too. But it's a shame, can't use it for a project that only has a bluetooth device, a MCU and a IMU.
  9. I wonder, the PRU can only be programmed in assembly? I see here many times a RPI running ROS, connected to an Arduino, in robotic platforms. The Sitara with those MCUs could probably be used to substitute both.
  10. You said, any path but still I must ask. Does your windows user name have any weird characters like (how are they called in english), the:
  11. @@energia btw, is MSP432 Energia still not supported in CCS so it the debugger can be used?
  12. I'm probably gonna order some for me too after september starts. Plus,of course, some for this project
  13. btw, anyone interested in this base (@@chicken, @Fmilburn)? I'm probably gonna make another version that has places to fit in the launchpads back female headers. It's based on a project by adafruit, so the rest of the parts are there, I just made a different base. open with adobe reader to look around. It's 130x75mm in size. The powerbank box should be about 2cm of the ground. The powerbank box is 120x25x25mm test.PDF
  14. The circuit seems to be pretty much the same for these ones. I don't think there will be any diference in this model relative to that protectiom. I asked a seller and he said there isn't such protection. So if it comes and there is, then I will ask for a refund based on that answer
  15. This will be mostly for using Arduinos and Launchpads like the TM4C with Energia so if 17mA is good then no problem Thank you very much. Then I might be able to order the whole bunch without having to ask for 1, test and then ask for the bunch