ERIS CORE

◆ setup()

void FLASHMEM AppManager::setup ( )
static

intended to be called from the arduino setup() function, this method initializes and sets up the "ErisCore"

Definition at line 126 of file AppManager.cpp.

126  {
127  //////////////////////////////////////////////////////////////////////////////////////
128  //reset the i2c bus and config the external ADC
129  Serial.println(F("M AppManager::setup Configuring Audio Hardware"));
131 
132  //I2CBusScan();
133  //Reset PSRAM clock to 132 Mhz
134 
135  /*
136  CCM_CCGR7 |= CCM_CCGR7_FLEXSPI2(CCM_CCGR_OFF);
137  CCM_CBCMR = (CCM_CBCMR & ~(CCM_CBCMR_FLEXSPI2_PODF_MASK | CCM_CBCMR_FLEXSPI2_CLK_SEL_MASK))
138  | CCM_CBCMR_FLEXSPI2_PODF(4) | CCM_CBCMR_FLEXSPI2_CLK_SEL(2); // 528/5 = 132 MHz
139  CCM_CCGR7 |= CCM_CCGR7_FLEXSPI2(CCM_CCGR_ON);
140 
141  */
142 }
AudioDirector _ad
Definition: ErisCore.cpp:20
bool initAudioHardware()

References _ad, and AudioDirector::initAudioHardware().

Referenced by setup().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: