S32K312 Standby Current Consumption about CAN

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

S32K312 Standby Current Consumption about CAN

ソリューションへジャンプ
1,003件の閲覧回数
kjy106906
Contributor IV

Hello @danielmartynek 

Thanks for your help.

https://community.nxp.com/t5/S32K/S32K312-Standby-Current-Consumption/m-p/1503807/highlight/false#M1...

I have more questions.

kjy106906_0-1660731049004.png

 

Here, I additionally set CAN and entered Standby, and the current consumption is high.(about 300uA)

(Low current consumption (about 50uA) when there is only GPIO)

please tell me the cause.

Best Regards

 

0 件の賞賛
1 解決策
988件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @kjy106906,

If the port is routed to the FlexCAN modele, it cannot be controlled like GPIO.

This is really application-dependant, but if you see higher power consumption, you can reconfigure it to GPIO and set it as needed to eliminate any additional current there.

 

BR, Daniel

元の投稿で解決策を見る

0 件の賞賛
7 返答(返信)
998件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @kjy106906,

In general, input pins should be driven or pulled to either VSS or VDD to avoid leakage current on that pins.

Outputs should not drive any external load.

Not sure what is the state of the pins in the low power mode of your application, I haven't seen the schematic.

 

BR, Daniel

 

 

0 件の賞賛
992件の閲覧回数
kjy106906
Contributor IV

Thank you @danielmartynek 

The moment CAN TX is port inited, the pin is set to High.
Is there a way to set this to Low when going to Standby?

Best Regards

0 件の賞賛
989件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @kjy106906,

If the port is routed to the FlexCAN modele, it cannot be controlled like GPIO.

This is really application-dependant, but if you see higher power consumption, you can reconfigure it to GPIO and set it as needed to eliminate any additional current there.

 

BR, Daniel

0 件の賞賛
971件の閲覧回数
kjy106906
Contributor IV

Thank you @danielmartynek 

The S32K1XX SDK shows the appropriate function.
PINS_DRV_SetMuxModeSel
But I can't find a suitable function in the S32K3XX RTD.
Can you recommend a suitable function for the S32K3XX RTD?

Best Regards

0 件の賞賛
969件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @kjy106906,

Have a look at Siul2_Port_Ip.c

Siul2_Port_Ip_SetOutputBuffer()

Siul2_Port_Ip_SetInputBuffer()

 

BR, Daniel

 

 

0 件の賞賛
965件の閲覧回数
kjy106906
Contributor IV

Thank you @danielmartynek 

The pin configuration has various parameters.
Is there any problem if I just call that function?

Siul2_Port_Ip_SetOutputBuffer

kjy106906_0-1661245654992.png

I am concerned about the differences as follows.

kjy106906_1-1661245729361.png

Best Regards

0 件の賞賛
962件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

From the S32K3xx RM:

danielmartynek_0-1661246322694.png

So, you need to disable the input buffer provided it is enabled.

 

BR, Daniel

 

0 件の賞賛