Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by oPossum

  1. FET430UIF vs Launchpad FET: - A little faster - Supports all MSP430 chips - Supports JTAG and SBW - Allows Vcc voltages other than 3.6V - Can blow code protect fuse - Works with Linux version of CCS - CCS will automatically upgrade firmware - Status LEDs
  2. It's not what I think - it's not my opinion. I defer to experts like Stroustrup - he has explained the many reasons why use of #define where other C/C++ constucts can be used is very bad practice.
  3. You can skip the checksum validation and tag search if you want. Using #define is really bad practice. typedef struct { unsigned adc_gain; // ADC gain unsigned adc_offset; // ADC offset unsigned ref15; // ADC value of 1.5 volt input when using 1.5 volt reference unsigned t3015; // ADC value of 30C when using 1.5 volt reference unsigned t8515; // ADC value of 85C when using 1.5 volt reference unsigne
  4. How to use the temperature calibration data: http://forum.43oh.com/topic/2027-how-to-use-temperature-calibration-data/
  5. The usual fee is $20, but this is a thesis so it's going to cost $100. The last guy didn't pay - so I'm going to need it up front. Bitcoin or gold bullion are prefered.
  6. oPossum

    PWM led

    PWM LED fade in/out with native code: http://forum.43oh.com/topic/3023-post-your-led-fader-code/?p=25886
  7. You don't see TA0CCRx changing either. Look at the ISR.
  8. /* *** NOTE: THIS IS LICENSED (C)OPYRIGHTED SOFTWARE - DO NOT REMOVE THE FOLLOWING 20 LINES *** Copyright (C) 2013 Kevin Timmerman This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See t
  9. The reset pin must stay within the supply rails for normal operation. Higher voltage on reset may be used to access features such as code protect, device configuration ("fuses"), and to enter program/debug mode. The legacy use of high voltage on reset was to provide the programming voltage for the EEPROM or Flash. Modern chips usually have an internal charge pump for that.
  10. Yes, very good point. If the power supply can not meet the rise time requirements, then the reset must be held until the supply is stable. Failing to do that can cause a wide variety of problems. There are many power supply supervisor chips made to do this, as well as some voltage regulators that have a power good output.
  11. The very short answer is that the reset pin of many microcontoller families will tolerate voltage higher than the supply voltage. That prohibits the use of an ordinary protection diode and pullup resistor within the chip.
  12. VFD were common in automotive because they can operate effectively over a wide temperature range. Passive matrix LCDs typically have problems at temperature extremes. Modern active matrix TFT LCDs with LED backlight are able to handle to automotive temperature range well enough, so they are now widely used in cars.
  13. D+ & D- are backwards on the mini USB B connector. C8 & C11 must be 47 pF.
  14. It does linear interpolation... int realtemp = temptable[i-1][1] + (rawtemp - temptable[i-1][0]) * (temptable[i][1] - temptable[i-1][1]) / (temptable[i][0] - temptable[i-1][0]);
  15. The tags in info segment A can be displayed with this code: http://forum.43oh.com/topic/2026-tlv-data-calibration-parse-and-display/ The only G series chips I have seen with temperature cal is the G2452. Here is code that will read the cal data and use it: http://forum.43oh.com/topic/2027-how-to-use-temperature-calibration-data/
  16. GeekDoc---------1-------USA-----Clear LariSan---------1-------USA-----Black wpaulson--------1-------USA-----Black oPossum---------1-------USA-----Black
  17. I am using CCS 5.3 with a MSP-FET430UIF via JTAG or SBW. Everything is working fine.
  18. The resistance should be at least several hundred ohms - 1k to 10k is a good range to stay within. The MSP430 can only supply limited current on outputs pins, and low value resistors make the circuit require more than what can be supplied to work properly (have expected timing).
  19. It uses CIO by default - part of the streams system supported by CCS. Horrible bloated crap. It is possible to use CIO without using TI's RTS library. Printing via CIO: http://forum.43oh.com/topic/2354-printing-to-the-ccs-debugger-console/ Get time via CIO: http://forum.43oh.com/topic/2356-get-host-time-using-ccs-debugger-cio/
  20. Here is C++ code to open a COM port: static HANDLE com_port = INVALID_HANDLE_VALUE; static unsigned OpenCom(wchar_t * const p, unsigned bps) { wstring port(wstring(L"\\\\.\\") + p); com_port = CreateFile(port.c_str(), GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL); if(com_port == INVALID_HANDLE_VALUE) { const DWORD err = GetLastError(); LPTSTR errmsg; FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, NULL, err, 0, reinterpret_cast<LPTSTR>(&errmsg), 0, NULL); wcout << L"Port " <
  21. oPossum

    WDT as RTC

    A 1000 ms (1 second) period would be fewer interrupts than a 15.625 ms period. Once per second vs 64 times per second. The test for limits of seconds/minutes/hours can be nested for a bit more efficiency as shown here: http://forum.43oh.com/topic/1957-software-real-time-clock-rtc-two-methods/ The limit only has to be tested when the corresponding variable is incremented. if(++counts > 63) { counts = 0; if(++secs > 59) { secs = 0; if(++mins > 59) { mins = 0; if(++hours > 12) hours = 1; } } }
  22. No more Stellaris? I like the name despite not knowing how to pronounce it. Tiva is too close to Tivo - and I am easily confused.
  23. Same TUSB3410 and F1612, but other circuitry is different. Firmware is not compatible.
  • Create New...