Hello everyone,
I'm writing to get more details about the configuration of the 480MHz clock for the Portenta H7.
extern uint8_t SetSysClock_PLL_HSI(void);
uint8_t SetSysClock_Value;
void setup() {
#ifdef CORE_CM7
Serial.begin(115200);
while (!Serial);
Serial.println("Core M7 Neptune VLC Board");
SetSysClock_Value=SetSysClock_PLL_HSI();
if (SetSysClock_Value == 0) {
Serial.println("Error: SetSysClock_PLL_HSI");
} else {
Serial.println("SetSysClock_PLL_HSI OK");
}
Serial.println("Core M7 Neptune VLC Board 2");
// Codice per riattivare il core M4
RCC->GCR |= (1<<3);
#endif
}
This is my setup(). I try to use system_clock_override.c but SetSysClock_PLL_HSE not work correctly and my code not print SetSysClock_PLL_HSI OK.
I've followed other discussions on the forum but I can't get my project to work.
system_clock_override.c (11,1 KB)
You're welcome!