48-Pin S12ZVCA Total Current on GPIO

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

48-Pin S12ZVCA Total Current on GPIO

ソリューションへジャンプ
3,970件の閲覧回数
aaronlee
Contributor V

Hi,

We have a LED project using 48-Pin S12ZVCA. The LED anode connect to external +5V power supply, and the cathode connect to S12ZVCA GPIO, the current is limit to 15mA by resistor.

We connect each GPIO(PAD0~9,  PS0,1,2,3,7 PT0,1,2,3,4,7 PP0,2,4,5,6 PL0,1) to control 28 pcs LED. How many LED we can driving at the same time?

 

Best Regards,

Aaron

0 件の賞賛
返信
1 解決策
3,930件の閲覧回数
StanoA
NXP TechSupport
NXP TechSupport

Hi Aaron,

The injection current is current flowing through the internal protection diodes when port is not active. The max continuous current for GPIO pins is in Table A-2:

StanoA_0-1631255847975.png

 

That’s the reason I suggest you to calculate max total power loss of the pins driving LEDs. It could cause overheating as I mentioned in my previous answer:

The all LEDs current can increase the package temperature: 28 * 0.015 * 0.8 * 70 = 24°C. So you need take into account whole operating conditions of your application and added temperature rise of MCU from powered LEDs.

The use of the external 5V power supply is OK, but please maintain the good GND connection on PCB between power sources.

Best Regards,

Stano.

元の投稿で解決策を見る

5 返答(返信)
3,965件の閲覧回数
StanoA
NXP TechSupport
NXP TechSupport

Hi Aaron,

As first I suggest you to use the external ballast transistor for VDDX voltage. The current consumption of LEDs is 28 * 0.015 = 0.42A. The ballast transistor must be properly selected due to power loss (12 – 5) * 0.42 = 3W.

The all LEDs current can increase the package temperature: 28 * 0.015 * 0.8 * 70 = 24°C. So you need take into account whole operating conditions of your application and added temperature rise of MCU from powered LEDs.

For the help please see the RM Section A.1.7. Power Dissipation.

I whish you many success in your design.

Best Regards,

Stano.

0 件の賞賛
返信
3,954件の閲覧回数
aaronlee
Contributor V

Hi Stano,

Thanks for your reply.

The external ballast transistor only supply 170mA, so we using external +5V power supply connect to LED +, and GPIO connect to LED -. Is it work? Do you have any recommend?

 

Best Regards,

Aaron

0 件の賞賛
返信
3,944件の閲覧回数
StanoA
NXP TechSupport
NXP TechSupport

Hi Aaron,

It is OK, just calculate the power dissipation and associated temperature rise of MCU.

Best Regards,

Stano.

0 件の賞賛
返信
3,933件の閲覧回数
aaronlee
Contributor V

Hi Stano,

Thanks for your reply.

We found the GPIO inject current  is -2.5 ~ +2.5mA except PP0,2,4,5,6.

InjectCurrent.png

Is it safe to drive the LED in 10~20mA?

 

Best Regards,

Aaron

0 件の賞賛
返信
3,931件の閲覧回数
StanoA
NXP TechSupport
NXP TechSupport

Hi Aaron,

The injection current is current flowing through the internal protection diodes when port is not active. The max continuous current for GPIO pins is in Table A-2:

StanoA_0-1631255847975.png

 

That’s the reason I suggest you to calculate max total power loss of the pins driving LEDs. It could cause overheating as I mentioned in my previous answer:

The all LEDs current can increase the package temperature: 28 * 0.015 * 0.8 * 70 = 24°C. So you need take into account whole operating conditions of your application and added temperature rise of MCU from powered LEDs.

The use of the external 5V power supply is OK, but please maintain the good GND connection on PCB between power sources.

Best Regards,

Stano.