Jump to content
43oh

juani_c

Members
  • Content Count

    115
  • Joined

  • Last visited

  • Days Won

    3

Reputation Activity

  1. Like
    juani_c reacted to energia in Issue with I2C and Wire   
    Hi @@juani_c, this is what is called a repeated start. We have tried to implement this for the MSP430 but have not been able to get it to work reliably. We are still looking into it but it has been pushed down the list since the majority of the I2C sensors do not need a repeated start.
     
    Robert
  2. Like
    juani_c got a reaction from jazz in Custom EzFet Lite   
    Finally made it. I end up using an adapter board for the MSP430.
     

     
    more pics...
  3. Like
    juani_c got a reaction from bluehash in Custom EzFet Lite   
    Finally made it. I end up using an adapter board for the MSP430.
     

     
    more pics...
  4. Like
    juani_c got a reaction from greeeg in Custom EzFet Lite   
    Finally made it. I end up using an adapter board for the MSP430.
     

     
    more pics...
  5. Like
    juani_c reacted to chicken in Code Composer studio and RAM usage   
    If the overwritten variables are towards the end of the memory map, this indicates that your stack grows too big. If the overwritten variables are locally declared in a function, this can also indicate that your stack grows too big, i.e. starts to overlap with global variables.
     
    Variables declared locally (e.g. within a function) are allocated dynamically on the stack and won't show up in the map file. Stack space is also used to temporarily save registers during function calls. Complex functions like sqrt probably use quite some space to save temporary results.
  6. Like
    juani_c reacted to chicken in Code Composer studio and RAM usage   
    The compiler generates a .map file which contains detailed information about memory allocation. You find it in the Release or Debug folder.
  7. Like
    juani_c reacted to greeeg in Custom EzFet Lite   
    Possible yes. The QFN has a pretty tight pitch. 0.25 track/gap are required. If you are confident in your home PCB etching then go ahead  
    I'm not sire if the G-launchpad will work. But the F5529LP and FR5969LP will be able to program the MSP430F5528
  8. Like
    juani_c reacted to mbeals in Custom EzFet Lite   
    Yes you can. That's what I'm doing with mine. I just made the icsp programming header for the MCU match the pinout on the launchpad.
     
    As for a single sided board, in sure it's possible but it's going to be tough. The QFN footprint would not be fun to home etch
  9. Like
    juani_c got a reaction from eifiu in Hi from Argentina :)   
    jelou!!! y bienvenido
  10. Like
    juani_c reacted to greeeg in FLASH, RAM and usage calculation   
    Often for prototyping it's easiest to just buy the largest family member of the microcontroller you wish to use.
     
    MSP430's make this esspecially easy because the code is compatible between all devices. (may need some device specific module changes)
     
     
     
    Once you're satisfied your code is performing to your application needs you could run a simple memory analysis.
    Fill memory with known values 0xDEAD and 0xBEEF are common filler values. Run your program long enough to have run though all your code, while connected to a debugger. pause with the debugger, and examine the internal memory. You can find the point where the memory was used and no longer is still a 0xDEAD value. If you can see that you have plenty of space free in RAM, you could decide if you want to purchase a cheaper device.
  11. Like
    juani_c reacted to igor in FLASH, RAM and usage calculation   
    In general probably depends on the application.  Some RAM may need to be in use continuously
    (to retain values - e.g. what was the last sector used in file system, previous sensor values used in averaging, etc.)
     
    Look at the libraries to see what global variables they use - it is easiest to figure you need space for all of those
    values.  (If a library only needs the global while it is in operation you might be able to do overlays and make
    it share space with something else, but coding and maintaining may be challenging.)
  12. Like
    juani_c got a reaction from bluehash in Problem with UART and Bluetooth module   
    I'm trying to communicate an MSP430 to my laptop through a KC-21 module. Below is a capture of the data with the msp430 using a 115200 baudrate.
     
     
     
    As you can see it has some issues. I tested a few things:
    Sending data with the msp430 at 115200 and an FT232 => THIS WORKS OK
    Sending data from the computer through the FT232 to the BT module and back to the PC, all at 115200 => THIS WORKS OK
    Sending data with the msp430 at 9600 and the BT module => THIS WORKS OK
     
    So it seems that the problem is isolated to the MCU working at 115200 with the module.
    I had problems in the past with BT modules, the problem was an inprecise baudrate. Could this be the case? The baudrate slowly drift and eventually is bad enough to confuse the module. How do you think I could test to find out if that the case? How do you think I could fix it?

  13. Like
    juani_c got a reaction from Fred in Wolverine Launchpad   
    Just found it:

  14. Like
    juani_c got a reaction from cubeberg in Wolverine Launchpad   
    Just found it:

  15. Like
    juani_c got a reaction from pine in Wolverine Launchpad   
    Just found it:

  16. Like
    juani_c got a reaction from dubnet in Wolverine Launchpad   
    Just found it:

  17. Like
    juani_c got a reaction from RobG in Wolverine Launchpad   
    Just found it:

  18. Like
    juani_c got a reaction from Rickta59 in Killing Zombies with the Launchpad   
    Well, this is my entry for the November 2010 Project of the Month Contest. It is very simple and far less usefull than the others projects. The truth is that I wasn't participating until I saw the Chronos .So i had to come up with something easy and fast to develop. I was plaiyng arround with some leds and photodiodes in front of my pc monitor and I thought that cold be interesting to interact with the screen with the photodiodes or some other ligth sensor. that idea eventually ended up being a shooting game. I wasn't too sure what to shoot at but then i realized that the option was obvious; ZOMBIESS!!!. everybody like killing zombies.The circuit is very simple. the LDR is in a voltage divider with a 10K potentiometer. moving the potentiometer will help with the calibration.It has also a capacitor to stabilize the analog signal. the trigger is a switch in series with a resistor and a capacitor for debouncing. this swicth is in fact in parallel with S2 in the Launchpad so you could just use that one an reduce the number of needed parts. I just use my hand for the gun so I didn't have to make one (it also makes a great human machine interface ).The source code for the MSP430 is basically the same as the "Snake game". every time you pull the trigger the ADC takes 16 samples and send the avarage to the computer. The analog signal is provided by the LDR. the LDR has a different response depending on the wavelength of the incident light (that`s the reason for the funky colors). it isn't very accurate, variations on the ambient light or in screen distance will lead to a misunderstanding between the zombies. Every time you pull the trigger and hit one of them you'll hear a shot and a zombie scream because, well, even zombies don
    LaunchPad-Zombies.rar
  19. Like
    juani_c got a reaction from xpg in Killing Zombies with the Launchpad   
    Well, this is my entry for the November 2010 Project of the Month Contest. It is very simple and far less usefull than the others projects. The truth is that I wasn't participating until I saw the Chronos .So i had to come up with something easy and fast to develop. I was plaiyng arround with some leds and photodiodes in front of my pc monitor and I thought that cold be interesting to interact with the screen with the photodiodes or some other ligth sensor. that idea eventually ended up being a shooting game. I wasn't too sure what to shoot at but then i realized that the option was obvious; ZOMBIESS!!!. everybody like killing zombies.The circuit is very simple. the LDR is in a voltage divider with a 10K potentiometer. moving the potentiometer will help with the calibration.It has also a capacitor to stabilize the analog signal. the trigger is a switch in series with a resistor and a capacitor for debouncing. this swicth is in fact in parallel with S2 in the Launchpad so you could just use that one an reduce the number of needed parts. I just use my hand for the gun so I didn't have to make one (it also makes a great human machine interface ).The source code for the MSP430 is basically the same as the "Snake game". every time you pull the trigger the ADC takes 16 samples and send the avarage to the computer. The analog signal is provided by the LDR. the LDR has a different response depending on the wavelength of the incident light (that`s the reason for the funky colors). it isn't very accurate, variations on the ambient light or in screen distance will lead to a misunderstanding between the zombies. Every time you pull the trigger and hit one of them you'll hear a shot and a zombie scream because, well, even zombies don
    LaunchPad-Zombies.rar
  20. Like
    juani_c got a reaction from bluehash in MSP430TCH5E Haptics-Enabled Mixed-Signal Microcontroller   
    This is kind of cool, see here
    There is also a new boosterpack that looks like a gaming controller
  21. Like
    juani_c got a reaction from roadrunner84 in MSP430TCH5E Haptics-Enabled Mixed-Signal Microcontroller   
    This is kind of cool, see here
    There is also a new boosterpack that looks like a gaming controller
  22. Like
    juani_c got a reaction from petertux in Killing Zombies with the Launchpad   
    Well, this is my entry for the November 2010 Project of the Month Contest. It is very simple and far less usefull than the others projects. The truth is that I wasn't participating until I saw the Chronos .So i had to come up with something easy and fast to develop. I was plaiyng arround with some leds and photodiodes in front of my pc monitor and I thought that cold be interesting to interact with the screen with the photodiodes or some other ligth sensor. that idea eventually ended up being a shooting game. I wasn't too sure what to shoot at but then i realized that the option was obvious; ZOMBIESS!!!. everybody like killing zombies.The circuit is very simple. the LDR is in a voltage divider with a 10K potentiometer. moving the potentiometer will help with the calibration.It has also a capacitor to stabilize the analog signal. the trigger is a switch in series with a resistor and a capacitor for debouncing. this swicth is in fact in parallel with S2 in the Launchpad so you could just use that one an reduce the number of needed parts. I just use my hand for the gun so I didn't have to make one (it also makes a great human machine interface ).The source code for the MSP430 is basically the same as the "Snake game". every time you pull the trigger the ADC takes 16 samples and send the avarage to the computer. The analog signal is provided by the LDR. the LDR has a different response depending on the wavelength of the incident light (that`s the reason for the funky colors). it isn't very accurate, variations on the ambient light or in screen distance will lead to a misunderstanding between the zombies. Every time you pull the trigger and hit one of them you'll hear a shot and a zombie scream because, well, even zombies don
    LaunchPad-Zombies.rar
  23. Like
    juani_c got a reaction from Mrbi in how to speed up Energia?   
    I had a couple of bluetooth com port, first I disabled them and then uninstalled them. Now It seems to run a little bit faster but It's far from optimum. Also updated Java but It was the same.
    I downladed the Energia Enhanced Release for Windows and that one seems to work OK.
  24. Like
    juani_c reacted to Mrbi in how to speed up Energia?   
    I had this problem and solved it by disabling other com ports that not in use at the moment. I've found out that bluetooth dongle com port should be disable while not connected to usb.
    I guess energia refresh or check the available com ports all the time.
  25. Like
    juani_c got a reaction from Automate in Arduino TRE   
    So, now Texas is making* an Arduino;
    http://e2e.ti.com/blogs_/b/toolsinsider/archive/2013/10/03/introducing-arduino-tre.aspx?DCMP=dsp-arm-arduinotre-131003&HQS=dsp-arm-arduinotre-b-e2e'>Most powerful Arduino available to date, powered by Texas Instruments Sitara
×
×
  • Create New...