External inputs to a microprocessor

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

External inputs to a microprocessor

ソリューションへジャンプ
1,020件の閲覧回数
barrygordon
Contributor I

I'm using a 9S08AC32 in my design.  The board that I'm designing has connectors that external modules can plug-in.  When the modules is inserted, it pulls an I/O pin of the micro (pull-ups enabled) low.  My logic detects if the I/O pin is low then a module is plugged in.  I have 16 of these input pins.  Normally I would route these pins to a parallel load serial shift register and clock the results in.  Hopefully the module would only be inserted in when the power is off.  The connector is pinned so the module can only be plugged in one way.  I have 16 spared I/O pins.

 

Any thoughts and/or opinions on this on going directly to the I/O's.

 

thanks,

 

    Barry

ラベル(1)
0 件の賞賛
返信
1 解決策
845件の閲覧回数
michaelsteffenf
NXP Employee
NXP Employee

Hi Barry,

There is no issues with connecting right to the microcontroller from the outside world, meaning the connector. The only thing that you will want to do is insert a 100 ohm resistor in series with all the spare i/o pins to limit any inrush current. Possibly add a 0.1uF cap to each line as well for filtering. We have many customers doing this in their designs as well.

Mike

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
846件の閲覧回数
michaelsteffenf
NXP Employee
NXP Employee

Hi Barry,

There is no issues with connecting right to the microcontroller from the outside world, meaning the connector. The only thing that you will want to do is insert a 100 ohm resistor in series with all the spare i/o pins to limit any inrush current. Possibly add a 0.1uF cap to each line as well for filtering. We have many customers doing this in their designs as well.

Mike

0 件の賞賛
返信