PM Module Operation – Getting Started
Step 2:
Initialize the power module by calling
ters for the hardware configuration used. For example, the following code
configures the ADSP-BF533 EZ-KIT Lite.
ADI_PWR_COMMAND_PAIR power_init_table[] = {
{
ADI_PWR_CMD_SET_PROC_VARIANT,(void*)ADI_PWR_PROC_BF533SKBC600 },
{ ADI_PWR_CMD_SET_PACKAGE,(void*)ADI_PWR_PACKAGE_MBGA },
{ ADI_PWR_CMD_SET_VDDEXT, (void*)ADI_PWR_VDDEXT_330 },
{ ADI_PWR_CMD_SET_CLKIN,
{ ADI_PWR_CMD_END,
};
adi_pwr_Init(power_init_table);
Step 3:
Decide on the power management strategy to implement. For example,
the following code segments demonstrate how to configure the PM mod-
ule for optimal speed or optimal power consumption.
Optimal Speed
The following statement requests the PM module set the core and system
clock frequencies to the maximum values possible.
adi_pwr_SetFreq(
0,
0,
ADI_PWR_DF_ON
);
3-4
adi_pwr_Init
/* 600 MHz ADSP-BF533 variant */
/* in MBGA packaging */
/* 3.3 V External supplied
to voltage regulator */
(void*) 25 },
/* 25 MHz clock in */
0 }
/* no more commands after this */
// Core clock frequency (MHz)
// System clock frequency (MHz)
// Do not adjust the PLL input divider
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
, passing the parame-
Need help?
Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?