cancel
Showing results for 
Search instead for 
Did you mean: 

reduce I/O speed to save power

GauravK
Senior

Hello, 

Can I know any available settings to reduce I/O speed. The idea is to reduce power consumption by F429. 

CubeMX doesn't allow to change I/O speed.

7 REPLIES 7
SofLit
ST Employee

Hello @GauravK ,

 


@GauravK wrote:

CubeMX doesn't allow to change I/O speed.


How?

SofLit_0-1730985170865.png

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Ozone
Lead II

While you can theoretically change the clock speed settings of most  peripheral units, I doubt it makes any significant difference.

Reduce the core clock or introduce standby/sleep mode.
The power consumption difference this makes is specified (for certain frequencies) in the datasheet.

Peter BENSCH
ST Employee

+1

Reducing the I/O speed actually has less influence on power consumption than on the reduction of EMI.

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hello, thanks for all replies. wanted to know then why cubeMX has below options, which lower consumption by reducing cpu freq

GauravK_0-1731420046291.png

 

Peter BENSCH
ST Employee

You are confusing IO speed with CPU speed. In fact, the current consumption of an MCU depends on the clock frequency, among other things.

However, the IO speed generally refers to the steepness of the edges when switching the IOs (rise time and fall time), which, as already mentioned, mainly has an influence on the interference radiation of the IO, but is almost negligible for the current consumption.

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Hello @Peter BENSCH ,

no confusions,

  1. I want to know how to change IO speed, for that there is no solution provided
  2. There were comments that clock won't affect power consumption, so I found tool showing CPI clock changing power
  3. So Im ok with any other solution helping me reduce power
  4. Any other advice also open
  5. I have tried unused IOs as analog which didnt help 

It depends if the pin is changing state, it's a pin level attribute, worse case you can change in code. Image in SofLits image hard to read/zoom here.

The power draw tends to relate to what you have attached.

Changing unused pins to analogue, if not helping, then likely not the issue.

If you can't pinpoint from schematic remove things attached.

 

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..