2024-08-09 04:33 AM
Hi,
The datasheet DS13311 rev. 5 defines the max. SPI clock for the OCTOSPI only for VOS0, what is the max. SPI clock for other Power Scale settings (I'm planing to use VOS1)?
best regards
martin
2024-08-09 05:48 AM
Just found this in my source code, reference to RM0468, page 336,
and I'm using a HyperRam at 100 MHz on H733:
/* notes:
* Power:
* - voltage scaling for core:
* VOS0 ~1.36 V - "boosted performance" - highest freq -> highest power
* VOS1 ~1.21 V - "high performance"
* VOS2 ~1.10 V - "medium performance"
* -> in these voltage ranges SAI, I2S, OctoSPI can work with at least up to
* 113 MHz (RM0468, pg 336)
*/
void SystemClock_Config(void)
{
RCC_OscInitTypeDef RCC_OscInitStruct = { 0 };
RCC_ClkInitTypeDef RCC_ClkInitStruct = { 0 };
/* supply configuration update enable */
/* no SMPS on H733 */
HAL_PWREx_ConfigSupply(PWR_LDO_SUPPLY);
/* configure the main internal regulator output voltage */
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
while( 0 == __HAL_PWR_GET_FLAG(PWR_FLAG_VOSRDY) );
...