Jump to content
43oh

MSP430G2312 won't work standalone


Recommended Posts

Hi,

I have small problem, but i didn't start MSP430 uC standalone. On launchpad board everything works perfectly, but now i buld my own PCB, but it's not working.

Everything works fine in debug mode. but if i turn off, and turn on power supply, program doesn't start.

I think problem is /RST pin.

I saw in datasheet, it must be connect to VCC with pullup 47k resistor, and connect to GND with 2.2nF Pulldown capacitor.

My first version was without capasitor, but today i connected capacitor, but still the same problem.

Wachdog is turned off in first code line.

 

What I can try more?

 

Thanks.

Link to post
Share on other sites

You could try pulling the TEST line down to GND. (you should indeed connect the /RST as you did)

 

Do you use a crystal, have you installed it on the other board as well?

I'm using internal oscilator - without external crystal.

 

Ok, will try pulldown TEST line.

 

But yesterday when i meassured voltages on pins (because i thought maybe some problems with voltages) uC starts. Maybe i shorted something. But next time after turn on, the same problem..

Link to post
Share on other sites

As the TEST pin has no output driving, your voltage meter's internal resistor is able to pull it down to a defined ground level. You basically use your meter as the resistor or short to ground.

I'm placed also pullup resistor (10k) on TEST. Maybe that's the problem? need leave TEST pin floating?

Link to post
Share on other sites

With a resistor, so to sum it up:

+---\_/---+
| MSP430G |
|         |
|    /RST |---------------+--[47k]--(+)
|         |               |
|    TEST |--[47k]--+    --- C
|         |         |    ---
+---------+         |     |
                   ===   ===

get it? ;-)

 

Leaving TEST open might work just fine, but you may sometimes boot up and get "stuck" in bootloader/SbW/JTAG mode, pull it down for more robust booting behaviour.

Link to post
Share on other sites

With a resistor, so to sum it up:

+---\_/---+
| MSP430G |
|         |
|    /RST |---------------+--[47k]--(+)
|         |               |
|    TEST |--[47k]--+    --- C
|         |         |    ---
+---------+         |     |
                   ===   ===

get it? ;-)

 

Leaving TEST open might work just fine, but you may sometimes boot up and get "stuck" in bootloader/SbW/JTAG mode, pull it down for more robust booting behaviour.

Now everything is clear. Thanks for help. Tommorow i will try it.

 

Also one question about capacitor: which value is optimal? I'm using 2.2nF, maybe try with 10nF?

Link to post
Share on other sites

Using a larger value does not really matter, unless you're programming the MSP with that capacitor connected. When programming, the capacitor should not exceed 2.2nF. The TEST and /RST lines are used by the programmer to load your firmware, with too large a capacitor, the required clockrate cannot be reached.

Link to post
Share on other sites

Using a larger value does not really matter, unless you're programming the MSP with that capacitor connected. When programming, the capacitor should not exceed 2.2nF. The TEST and /RST lines are used by the programmer to load your firmware, with too large a capacitor, the required clockrate cannot be reached.

ok, thanks. i will try and say it works or not. :)

Link to post
Share on other sites

With a resistor, so to sum it up:

+---\_/---+
| MSP430G |
|         |
|    /RST |---------------+--[47k]--(+)
|         |               |
|    TEST |--[47k]--+    --- C
|         |         |    ---
+---------+         |     |
                   ===   ===

get it? ;-)

 

Leaving TEST open might work just fine, but you may sometimes boot up and get "stuck" in bootloader/SbW/JTAG mode, pull it down for more robust booting behaviour.

Now it's working perfectly. Thanks :)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...