S32K312 Standby Current Consumption about CAN

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

S32K312 Standby Current Consumption about CAN

跳至解决方案
1,264 次查看
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 解答
1,249 次查看
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 回复数
1,259 次查看
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 项奖励
回复
1,253 次查看
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 项奖励
回复
1,250 次查看
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 项奖励
回复
1,232 次查看
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 项奖励
回复
1,230 次查看
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 项奖励
回复
1,226 次查看
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 项奖励
回复
1,223 次查看
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 项奖励
回复