Sinking 5V external LEDs through the 3.3 V MCU on the Freedom board?

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

Sinking 5V external LEDs through the 3.3 V MCU on the Freedom board?

ソリューションへジャンプ
2,419件の閲覧回数
injunear1
Contributor IV

I have four external LEDs connected to pin 10 of J9 (USB +5V). It is my intention to turn them on by providing ground through pins 9, 11, 13, & 15 of J9 (PTE2, PTE3, PTE4 & PTE5 respectively). I am able to turn them on as desired and the logic to turn them off is also working. However, when off they are still dimly lit. Could this be because when high (LED OFF mode) the CPU pins are at 3.3 volts and they are still sinking the LEDs attached to 5V from the USB?

Could this be damaging the CPU?

From what I have read so far, the CPU is engineered very well so I hope this kind of potential electrical error has not baked the silicon.

Nevertheless, is this why my LEDs are still slightly on when I want them to be off?

What would be a good way to work around this issue? Should I source all 4 of them at pin 4 or 8 P3V3? What is the current capability of P3V3?

Thank you.

BTW,   Freescale - I think you have hit a home run with this eval board. That includes the price. I can imagine countless adolescents and wannabees (as well as innumerable professionals) hacking this board to pieces because of its versatility and cost.

(Perhaps you can offer a kit for under $30 that includes headers on the board and an IO box with a few LEDs and switches, and a getting started manual to explain the details of making it all work together.)

0 件の賞賛
返信
1 解決策
2,154件の閲覧回数
JimDon
Senior Contributor III

You should look thru this document to answer your questions. In freescale, the basic electrical specs are in the data sheet:

http://cache.freescale.com/files/32bit/doc/data_sheet/KL25P80M48SF0.pdf?fpsp=1

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
2,154件の閲覧回数
injunear1
Contributor IV

I went ahead and switched my LED sourcing from pin 10 to pin 8, the LEDs worked as expected. I guess that was the problem.

But the question remains: How much can P3V3 source? Where would one find that in the documentation?

Thank you.

2,154件の閲覧回数
peterdvorak
Contributor I

RE:How much can P3V3 source?


The USB limit is up to 500mA

The onboard regulator limit is about 500mA depending on cooling.

The biggest limits are uC I/O pins and total package limits as published in spec sheet.


Peter





0 件の賞賛
返信
2,155件の閲覧回数
JimDon
Senior Contributor III

You should look thru this document to answer your questions. In freescale, the basic electrical specs are in the data sheet:

http://cache.freescale.com/files/32bit/doc/data_sheet/KL25P80M48SF0.pdf?fpsp=1

0 件の賞賛
返信
2,154件の閲覧回数
injunear1
Contributor IV

Thank you for the direction to look. If I am understanding the data sheet correctly, the answer is 100mA total for all output pins and 125mA for all pins and related paraphernalia.

Thank you.