A related question is a question created from another question. When the related question is created, it will be automatically linked to the original question.
its probably easiest to just use an oscilloscope to check the DDR CK signal. I think the mechanism to check in linux was still in work, i will check with software team.
Here is an the details of using devmem2 program to directly read the SoC registers and calculate the DDR frequency.
- Use command 'devmem2 0x04060088 w' to read the PLL0_CTRL2 register. It gets value '0x00008004' on the AM62L EVM. Its bit6:0 is HSDIV2, which is 4 on the EVM. - The PLL0 VCO freq is 2GHz, so the DDR freq on the EVM is (2000MHz / (4+1)) * 2 = 800MHz
The register PLL0_CTRL2 information is in AM62Lx TRM, section 14.2.3.1.2.14.