Part Number: TMS320F28388D
Hi,
Does TI have an EMIF_selectMaster() function available for EMIF2?
I checked emif.h in driverlibrary and it seems that this function is only available for EMIF1.
//*****************************************************************************
//
//! Selects the EMIF Master.
//!
//! \param configBase is the configuration address of the EMIF instance used.
//!
//! \param select is the required master configuration for EMIF1.
//!
//! This function selects the master for an EMIF1 instance among CPU1 or CPU2.
//! <em> It is valid only for EMIF1 instance and not for EMIF2 instance. Valid
//! value for configBase parameter is EMIF1CONFIG_BASE. </em> Valid values for
//! select parameter can be \e EMIF_MASTER_CPU1_NG, \e EMIF_MASTER_CPU1_G,
//! \e EMIF_MASTER_CPU2_G or \e EMIF_MASTER_CPU1_NG2.
//!
//! \return None.
//
//*****************************************************************************
static inline void
EMIF_selectMaster(uint32_t configBase, EMIF_MasterSelect select)
{
//
// Check the arguments.
//
ASSERT(EMIF_isEMIF1ConfigBaseValid(configBase));
//
// Sets the bits that enables EMIF1 master selection.
//
EALLOW;
HWREG(configBase + MEMCFG_O_EMIF1MSEL) = (EMIF_MSEL_KEY | (uint32_t)select);
EDIS;
}
Best regards,
Sasaki