• Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by dubnet

  1. The multi-tasking examples are for the MCUs that have the resources (processing power, memory, etc) to handle the TI-RTOS overhead. The value line series (like the 2553 you are using) are not capable of running the real time operating system. The MSP432 is a good example of a MCU that can run the multi-tasking environment.
  2. I have at times used the calculator that comes with windows to do quick hex -> binary as well as binary -> hex. From the view menu of the calculator, choose "Programmer". Once you have moved past the blinking LED and dive further into the wonderful world of microcontrollers, you will appreciate having a logic analyzer with 8-16 channels. They are worth their weight in gold when troubleshooting communication problems.
  3. First off, welcome to the forum. A couple of ideas come to mind. The first is that you might want to consider controlling the power to the SD card with a free I/O line and a transistor, only powering it up when you need to write to it. The other idea is to store multiple samples in an array (which should survive going into low power mode and back) and write them to the SD card every hour or more. How many samples to store between writes to the SD card would depend on your confidence that you wouldn't lose power or have a reset condition before having a chance to move them to the card.
  4. First of all, welcome to the forum. Sounds like it could be thermal shutdown. Are your LEDs current limited? Does the 23017 chip run hot before the LEDs turn off? Does the total load (all four LEDs) exceed the package dissipation specification?
  5. How is the stream of data not suitable? With regard to your question on software serial you may want to search the forum using software serial as the search term. I did so and it produced 123 results. You should be able to confirm an answer on the availability of software serial on any MSP430 devices other than the 430G series that don't have hardware serial capability on the chip.
  6. I used P4_4 and P4_5 for the PC serial console and P3_3 and P3_4 for my RF link. You could remove the jumpers on 4_4 and 4_5 and use them for another hardware device. However, I believe that you will lose the debugging/programming functionality. Shouldn't be an issue once you have programmed the MCU, repurposed the port and have put it in your project. http://energia.nu/wordpress/wp-content/uploads/2014/01/MSP430F5529.jpeg
  7. Assuming by your mention of arduino that you are using Energia. The '5529 supports two hardware serial ports under Energia. IIRC, software serial is not supported in Energia on the '5529 but only on some of the lower end MSP430G devices. In the past I have successfully used the two serial ports (Serial and Serial1) on the '5529, one for the console and the other for a RF link module with a serial interface.
  8. Welcome to the forum!
  9. Energia has had some sensitivity to not only unusual characters that might be in the path but also very long paths. What has worked in the past to is to move the Energia folder to the root of your drive (or one or two folders away from the root) and to use text based folder names, avoiding special characters.
  10. Welcome to the forum!
  11. It sounds like the RAID you are describing is RAID 0 which is non redundant striping, used to increase performance but has no redundancy/failure tolerance. Although single disk backups have simplicity, the risk you run is that drive can fail anytime (usually when you need it most ). It happened once when I was doing a customer workstation upgrade from XP to Win7. Copied the customer's data to a USB hard drive, did the OS install and then during the restore the disk started to fail. After much sweat and coaxing was able to get the restore finished but it was yet another reminder of the frailty of hard drives. RAID 1, 5 or 6 or even some of the RAID xx variants are, however, excellent backup platforms. For customer near line server backups we used 8, 12 and 16 drive SAS and high speed iSCSI based disk arrays, typically configured as RAID 6 with a hot spare. This allowed up to three drive failures before the array became critical (after the 4th drive failure your data is history). While this might sound like overkill in terms of redundancy, it addressed the problem of drives sourced from the same batch that tended to fail at the same time, or a drive failing during rebuild (happens with a weak drive due to the stress of the rebuild process). This gave us a little headroom to get drives replaced and put the array back to optimum status. With regard to controller failure, although I can't say that it never happens, in 20+ years I've had no controller failures but more drive failures (including enterprise drives) than I could even count.
  12. ...and a third monitor (or laptop/PC) for the logic analyzer watching the comms. I can truly relate as I had two laptops and a PC in play debugging comms not too long ago. It is somewhat interesting that we need a handful of computers to play with very inexpensive MCUs.
  13. @NurseBob For your video work where is the bottleneck? If it's the drive subsystem then perhaps an upgrade to SSD would be helpful. Perhaps not for the whole 21TB but maybe as scratch drives for the rendering process. Prices keep dropping and are now at the point, in my opinion at least, where the price difference between spinning drives and SSD is pretty easily justified by the performance gains. I have them in my laptops and main desktop and love the performance boost. In the past I have recommended adding memory, to a point (and you are north of the point with 24GB), as a way to inexpensively increase performance. Now, its a toss up between memory and SSD and I am leaning more toward the SSD and not solely due to lower prices. Reason is that even with less than optimal memory, the swap to virtual memory on the SSD is so much faster it mitigates the need for more system memory.
  14. A kindred spirit! Multi-level, multi-device backups, bravo! Btw, 100% agree on Macrium. It is a great product. It also makes drive upgrades, or switching from spinning drives to SSD, a breeze.
  15. Even at the highest speed (1Mbps) the spec calls out 40M max bus length. Good for stretch limos or buses I suppose. Here is a snippet from a CANBUS page ( http://www.interfacebus.com/CAN-Bus-Description-Vendors-Canbus-Protocol.html ): "A number of different data rates are defined, with 1Mbps (Bits per second) being the top end, and 10kbps the minimum rate. All modules must support 20kbps. Cable length depends on the data rate used. Normally all the devices in a system transfer uniform and fixed bit-rates. The maximum line length is 1Km, 40 meters at 1Mbps. Termination resistors are used at each end of the cable. The worst-case transmission time of an 8-byte frame with an 11-bit identifier is 134 bit times (that's 134 microseconds at the maximum baud rate of 1Mbits/sec)."
  16. Nice test. It would be interesting to see if running energy trace under CCS would yield a similar number.
  17. You could use one the A/D channels connected to VCC and then check that value periodically.
  18. In addition to what @NurseBob said you may also want to take a look at this: http://www.ti.com/product/cc2640?keyMatch=bluetooth&tisearch=Search-EN-Everything
  19. I forgot to mention that the MCU has an internal temp sensor that you could potentially use as part of your design. Mux resistance is listed at 1K (page 32 of the datasheet). If your source impedance gets too high then you run the risk of more noise. If you find your A/D results bouncing around significantly then you may need to drop from 100K to perhaps 50k or less.
  20. If you use the 2553 on your own PCB you will want to replicate the reset circuit (capacitor and resistor) that the Launchpad uses. Otherwise the MCU won't run. On the temperature sensor(s) I was envisioning using something like an LM34 or LM35 placed near the area in the PC enclosure you are interested in keeping cool. If this is done then when the PC is idling along the fans should run slower and when you are pushing it the fans will run at near maximum speeds. I would guess that you have some free four pin power plugs (with 5V) in the chassis. If you add a 3.3V linear regulator to your PCB to drop the 5V then it would resolve your power issue without splicing.
  21. First of all, welcome to the forum! In terms of pin usage you will want to pay attention to pins already used by the Launchpad (e.g.switches and LEDs) to avoid conflicts. With regard to the fan speed control, why not use temp sensor(s) in lieu of the potentiometers fed into the A./D converter? Perhaps just one, or possibly two, would be enough to adequately control the speed of all four fans. Just a thought....
  22. First of all, welcome to the forum! The product you are working with uses an 8052 as it's MCU. This forum primarily deals with the TI MSP43x, TM4C and some of the other general purpose TI MCUs. There may very well be people on the forum with some experience with this chip. However, to increase your odds of an answer you may want to post on the TI E2E forum as well. The following link goes directly to the forum for this product. https://e2e.ti.com/support/interface/usb/
  23. Depending on the length of wire between the master and slave you may need to decrease the pull-ups to about 4.7K or so. Also, your master is sending 4 characters and 1 byte continuously and your slave is looking for those in order. However, you have no synchronization to ensure that the slave is seeing the beginning of a transmission rather than something in the middle. For troubleshooting purposes you may want to simplify the data transmission to just bytes to eliminate that possibility. If you can borrow a logic analyzer (e.g. Saleae) that can go a long way in figuring out what is actually happening on the I2C bus. EDIT: You may also want to try sending some test messages in your code (unrelated to your I2C print routine) via serial.print to ensure that the problem isn't between the slave and the PC.
  24. You can post your code directly into your post by first selecting the "More Reply Options" button at the lower right hand corner of the post reply window. Then click on the icon represented by the less than / greater than symbols < > A window will then pop up that you can paste your code into. It will take care of the formatting (indenting, etc) so the code is readable.
  25. @@Neetee Some suggestions for you so that you can better be helped by the users on the forum: Provide the Launchpad you are using, as well as any Boosterpacks. Provide your code - it is difficult to understand what is happening without this. Explain what is working and what isn't working. And if something isn't working, what exactly is happening and what you have already tried in an attempt to get it working. If you are using any of your own circuits besides the basic Launchpad, please detail that with a schematic. If possible provide a photo of your setup. Sometimes issues have been spotted with this additional information. The upside for you is that you will get more useful information in a shorter time frame. EDIT: Apparently @@chicken posted while I was composing this post.