Author Topic: microcontroller board  (Read 2620 times)

0 Members and 1 Guest are viewing this topic.

Offline a.solimanTopic starter

  • Newbie
  • Posts: 7
microcontroller board
« on: April 06, 2015, 07:45:10 am »
Hello all,
I want to ask about the proper hardware design for a microcontroller board...  tips and tricks for the power rails, input and output protection and anything that I should be aware of to ensure the operation stability

Thanks in advance
 

Offline Ian.M

  • Super Contributor
  • ***
  • Posts: 13415
Re: microcontroller board
« Reply #1 on: April 06, 2015, 08:46:30 am »
That is incredibly dependent on the microcontroller family chosen. Many have special requirements.

However there are a few common factors:

* Ground plane - don't try to do without it if there are external signals with less than 1us between edges.  You may be able to get it to work with faster signals without one but its not good practice.

* Connect *ALL* supply and ground pins unless the datasheet says otherwise - internal power bus metalisation between different sections of the chip is often not sized to carry the full rated supply current.

* Decouple *ALL* Vdd supply pins as close to the pin as possible.

* Keep supply tracks short and wide - don't snake one round the board edge to avoid a wire link or a few vias.

* Keep any external crystal connections close to the chip and clear of other signals.

For the rest, if there is a manufacturer's demo board or reference design, STUDY IT, otherwise study the datasheet till you can quote it in your sleep!
 
 

Offline poorchava

  • Super Contributor
  • ***
  • Posts: 1673
  • Country: pl
  • Troll Cave Electronics!
Re: microcontroller board
« Reply #2 on: April 06, 2015, 08:53:49 am »
Unless your uC has internal slew rate limiting,  you may want to connect a small resistor (47-100R would be a good start)  in series with every output pin.  This will decrease the amount of ringing and also protect the uC a little bit in case of short circuit.

Make sure that traces from crystal to the uC are as short as possible,  preferably far from other signal traces.

Make sure to include at least one larger cap somewhere nearby the uC for bulk filtering.

Make sure that the reset pin is treated exactly as outlined in the datasheet. Use weak pull-up in case the uC doesn't have one internally (100k would be good start)

I love the smell of FR4 in the morning!
 

Offline a.solimanTopic starter

  • Newbie
  • Posts: 7
Re: microcontroller board
« Reply #3 on: April 08, 2015, 11:25:27 am »
Thank you guys  :-+ :-+
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf