How to set Jetson nano CPU frequency

Hi
When changing power mode from 10W to 5W by using command sudo nvpmodel -m1, the CPU max frequency has been changed from 1479000 to 921600.
My question is: how to set Jetson Nano power mode at 5W, but the CPU frequency at 1479000?
Thanks

You need to setup a custom mode in the configuration file and set it up, then you can switch modes to your newly added one.

/etc/nvpmodel.conf is your configuration file.
/usr/sbin/nvpmodel -q to view what mode you are in.
/usr/sbin/nvpmodel -m (MODE) to change mode

Here are a couple modes I made to prevent using max voltage i’ve supplied to the nano, this is to help moments of spike and prevent the mode from being automatically switch to undervolted mode.

< POWER_MODEL ID=2 NAME=10pW >
CPU_ONLINE CORE_0 1
CPU_ONLINE CORE_1 1
CPU_ONLINE CORE_2 1
CPU_ONLINE CORE_3 1
CPU_A57 MIN_FREQ 0
CPU_A57 MAX_FREQ 1200000
GPU_POWER_CONTROL_ENABLE GPU_PWR_CNTL_EN on
GPU MIN_FREQ 0
GPU MAX_FREQ 850000000
GPU_POWER_CONTROL_DISABLE GPU_PWR_CNTL_DIS auto
EMC MAX_FREQ 1500000000

< POWER_MODEL ID=3 NAME=Low4core >
CPU_ONLINE CORE_0 1
CPU_ONLINE CORE_1 1
CPU_ONLINE CORE_2 1
CPU_ONLINE CORE_3 1
CPU_A57 MIN_FREQ 0
CPU_A57 MAX_FREQ 1000000
GPU_POWER_CONTROL_ENABLE GPU_PWR_CNTL_EN on
GPU MIN_FREQ 0
GPU MAX_FREQ 850000000
GPU_POWER_CONTROL_DISABLE GPU_PWR_CNTL_DIS auto
EMC MAX_FREQ 1400000000