Adi_Ebiu_Adjustsdram - Analog Devices VisualDSP++ 5.0 Service Manual

Visualdsp++ 5.0 device drivers and system for blackfin processors
Table of Contents

Advertisement

adi_ebiu_AdjustSDRAM

Description
For the passed system clock (
function calculates and sets the following values for SDRAM: the
,
, and
TRP
TRCD
the
EBIU_SDRRC
values for DDR: the
ter and the
RCD
This function is primarily used by the power management module to
ensure that SDRAM settings are optimal for the processor's current
frequency.
The
adi_ebiu_AdjustSDRAM
if the SDRAM has not been successfully initialized with a call to
adi_ebiu_Init
Prototype
void adi_ebiu_AdjustSDRAM(
);
Arguments
fsclk
Return Value
The function returns the following values in debug or release mode.
ADI_EBIU_RESULT_SUCCESS
ADI_EBIU_RESULT_NOT_INITIALIZED
VisualDSP++ 5.0 Device Drivers and System
Services Manual for Blackfin Processors
External Bus Interface Unit Module
SCLK
values in the
TWR
EBIU_SDGCTL
register. The function calculates and sets the following
,
,
,
RAS
RP
RFC
,
, and
values in the
MRD
WR
function returns without making any changes
.
const u32 fsclk
System clock (SCLK) frequency in MHz
) frequency, the
adi_ebiu_AdjustSDRAM
register and the
, and
values in the
REFI
RC
register.
DDRCTL1
Process completed successfully.
SDRAM has not been successfully initialized, or
SDRAM had not been enabled.
,
TRAS
value in
RDIV
regis-
DDRCTL0
SCLK
4-11

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VisualDSP++ 5.0 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents