This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
After succesfull debug of my project with msp430g2553 (not launchpad) I faced with a problem on standalone run.
Due do datasheet, /RST pin pull-uped with 47k resistor to VCC. No success.
Than I pulled-down /RST to GND with 2,2nF capacitor without any effect.
After some googling I also soldered 0,1 uF capacitor between GND and VCC but still circuit don't work out of debug.
During the debug /RST has voltage level 3,1 V, in standalone run - 0. It is obvious that problem is there, but how to pull it up correctly?
UPD I also tried capacitors 100n, 4,7uF and resistors 1k, 10k, 0k (direct wire) and source circuit from battaries but with no luck. In debug mode program works perfectly in any of such RC's.
As a programmer I use Launchpad f5529.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to old_cow_yellow:
So this is the schematics. It is very simple application: using DS18B20 temperature sensor MCU periodically measures temperature and if it higher than needed sends a kind of "TURN ON"command to my A/C via IR LED. As I mentioned above everything works perfect during the debug mode.
Thanks for your reply.
In reply to Sergii Matsiievsky:
The schematics look fine. But you did not show the battery.When all connected in the stand alone mode.1. What is the measured voltage between the battery + and – terminals while in use?2. What is the measured voltage from a to b?3. What is the measured voltage from c to b? 4. What is the measured voltage from d to b?Your first posting says: During the debug /RST (d) has voltage level 3,1 V, in standalone run - 0.
OCY, thanks for your reply. Here is fresh measurements:
ab - 3,57 v
cb - 0 v
bd - 3,39 v. And this looks very strange! During my first measurements it was always 0. May be I was mistaken yesterday somwhere, or it was because the bad soldering... very strange. I checked the circuit several times.
So now I can state that RST pin works as it should. But the problem remains the same and nothig happens out of debug.
Let me say some words about debug. I have an IR-analyzer made with AVR mcu which catch IR pulses and print timings over rs232. This circuit I use few years to decode RCs and make my own controllers for home automation. So out of debug it catches nothing, my problem is not sounds "I CAN'T TURN ON MY AC", just "my MCU circuit does'nt works %-)
Hi Sergii! What type of battery are you using? Is it capable of providing enough current? Look at R4 - without the internal output resistance of P3.3, this path would already draw about 30mA. And HL1 doesn't have any current limiting resistor at all. Maybe while debugging you got additional power from the FET, but the battery has too high input resistance. So when the transistor turns on, the supply for your circuit drops, causing a reset, over and over again. You should add a resistance for HL1 and you should also increase the resistance of R4. If the current gain isn't enough, use a Darlington NPN or a FET. Do you have a bench supply? I would test if the circuit works with a higher current capable supply.
And add some decoupling capacitors to the MSP's supply pins - a 10µF + 0.1µF in parallel would be OK.
VT1 has a wrong orientation, but I think you already noticed that.
In reply to small_stone_head:
In reply to Dennis Eichmann:
Hi Dennis! Thanks for your comment.
I tried to run this circuit with Launchpad's supply pins, CR 2032 battery, Nokia battery BL-5CA (3,58v), 2 AAA elements without any luck.
To check your suggestion about current draw I totally removed transistor, 100 Ohm resistor from its' base, IR LED and even DS18B20 sensor and changed the program to send some number through UART periodically. The result is still the same - the device works only during the debug session. And yes, I added decoupling capacitors to the MSP's supply pins - a 10µF + 0.1µF in parallel. Ufff, this is kinda strange))
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.