Hi All, the default CPU Frequency for my Zedboard is 667Mhz. I'd like to change it to 50Mhz (the minimum), for instance, for a project I've already generated from XPS.
In XPS, I click on the little green clocking box on the system map to bring up the clocking clock wizard. When the wizard dialog comes up, I change the CPU PLL frequency to 50Mhz, click the validate button (validates fine), and click OK.
I export my hardware design again, and after it finishes, the Xilinx SDK (which is already open) picks up the change by showing a warning (regarding the system files changing), to which I click OK.
I rebuild the whole project, reprogram the FPGA, and send over my program.
I'm testing whether it works using a sleep(10) function call with a printf before and after so I know when it completes. But the CPU does not sleep for 10 seconds--it's more like 1 second or less. So it seems like the CPU frequency was not actually changed--how do I do this???
I checked the macro definition of the CPU frequency in the board support files--the one which sleep should be using. It says 50000000 as I would expect. So somehow the BSP files are updated, but NOT the actual CPU init code???