SPRACZ5 December 2021 DRA821U , DRA821U-Q1 , DRA829J , DRA829J-Q1 , DRA829V , DRA829V-Q1 , TDA4VM , TDA4VM-Q1
To set the C7x clock frequency to 500 MHz, device ID for C7x = 16 and CLK_ID = 1 use the following command on the Linux command line:
root@j7-evm:~# k3conf set clock 16 1 500000000
|----------------------------------------------------------------------------------------|
| Device ID | Clock ID | Clock Name | Status | Clock Frequency |
|----------------------------------------------------------------------------------------|
| 16 | 0 | DEV_C71SS0_MMA_PLL_CTRL_CLK | CLK_STATE_READY | 500000000 |
| 16 | 1 | DEV_C71SS0_MMA_MMA_CLK | CLK_STATE_READY | 500000000 |
To reduce the R5F clock frequency from 1GHZ to 500 MHz, device ID for MAIN_R5FSS0_CORE0 = 245 and CLK_ID = 0 use the following command on the Linux command line:
root@j7-evm:~# k3conf set clock 245 0 500000000
|---------------------------------------------------------------------------------------------|
| Device ID | Clock ID | Clock Name | Status | Clock Frequency |
|---------------------------------------------------------------------------------------------|
| 245 | 0 | DEV_R5FSS0_CORE0_CPU_CLK | CLK_STATE_READY | 500000000 |
| 245 | 1 | DEV_R5FSS0_CORE0_INTERFACE_CLK | CLK_STATE_READY | 500000000 |
| 245 | 2 | DEV_R5FSS0_CORE0_INTERFACE_PHASE | CLK_STATE_READY | 500000000 |