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) );
...
2024-08-09 07:05 AM
Hi LCE
Nice finding, i would never have search in the reference manual!
So according to this the max. Pclk for the OCTOSPI with VOS1 is 200MHz, but there is no information about the max. SPI clock freqency. Thanks for the information that You have a HyperBus device running at 100MHz, but I whould like a confirm from ST that this is OK, probably I need to open a case.
Martin
2024-08-09 08:13 AM - edited 2024-08-09 08:13 AM
Hello @MHoll.2 ,
The STM32H725 datasheet cited only the max OCTOSPI frequency with VOS0.
As VOS1 is lower than with VOS0, the maximum OCTOSPI with VOS1 will be lower than the maximum OCTOSPI with VOS0.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.