Author Topic: What main gotchas are there going STM32F4xx to STM32H7xx  (Read 2282 times)

0 Members and 1 Guest are viewing this topic.

Offline peter-hTopic starter

  • Super Contributor
  • ***
  • Posts: 4120
  • Country: gb
  • Doing electronics since the 1960s...
What main gotchas are there going STM32F4xx to STM32H7xx
« on: September 17, 2024, 03:27:18 pm »
My project is done on the 32F417 and I see no immediate need to go to the H7, but it does seem to be a way to get a longer product life, as well as getting about 3x more speed.

Looking back over the last few years I recall many gotchas, mainly related to different caching mechanisms. For example

Code: [Select]
{
 __asm volatile( "dsb" ::: "memory" );
 __asm volatile( "wfi" );
 __asm volatile( "isb" );
}

Above is from the FreeRTOS port but IIRC DSB doesn't do anything on the 32F4. Then in the ETH low level I see

Code: [Select]
/* Set Own bit of the Tx descriptor Status: gives the buffer back to ETHERNET DMA */
 //__DMB();
 heth->TxDesc->Status |= ETH_DMATXDESC_OWN;
 /* point to next descriptor */
 //__DMB();
 heth->TxDesc = (ETH_DMADescTypeDef *)(heth->TxDesc->Buffer2NextDescAddr);

where the DMB also does nothing hence is commented-out. But few people seem to really know... Some here: https://community.st.com/s/question/0D73W000001PMYnSAO

I am not planning on doing anything radical like zero-copy ETH/LWIP, which incidentally (for the H7)  I believe is the only 32x code that somebody spent a lot of time on fixing the bugs.

Other things I recall are not going to break code e.g. some H7 chips can do DMA to the CCM, which is nice.

What is news to me is this on the STM website

The STM32H7 single-core and value lines are pin-to-pin compatible with the STM32F7 series and STM32F4 series for the most common packages.

I wonder which chips that is true for?
« Last Edit: September 17, 2024, 06:06:36 pm by peter-h »
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 80x86 90S1200 32F417
 

Offline AndyC_772

  • Super Contributor
  • ***
  • Posts: 4281
  • Country: gb
  • Professional design engineer
    • Cawte Engineering | Reliable Electronics
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #1 on: September 17, 2024, 07:09:55 pm »
The need for ISB / DSB instructions is an important one you've already spotted.

Some areas of memory are cacheable, and some aren't. Maintaining cache coherency is up to you. If you use DMA, it's best to use tightly coupled memory, which isn't cached but does run at full speed IIRC.

Do check the difference in power consumption - H7 gets warm, F4 doesn't to any great degree.

Offline gpr

  • Contributor
  • Posts: 30
  • Country: gb
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #2 on: September 17, 2024, 08:23:11 pm »
If you use DMA, it's best to use tightly coupled memory, which isn't cached but does run at full speed IIRC.
Be careful with that, DTCM doesn't work with DMA, at least on some models of H7. Refer to documentation if unsure.
 

Offline rhodges

  • Frequent Contributor
  • **
  • Posts: 329
  • Country: us
  • Available for embedded projects.
    • My public libraries, code samples, and projects for STM8.
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #3 on: September 18, 2024, 12:24:11 am »
In some thread about cache coherency, I said that MIPS was fun. But that was really sarcastic. Keeping coherency between the cached memory and physical memory needed attention in the device drivers. I have worked with STM32, but not with the advanced cache devices. I suggest care with physical and cached memory.
Currently developing STM8 and STM32. Past includes 6809, Z80, 8086, PIC, MIPS, PNX1302, and some 8748 and 6805. Check out my public code on github. https://github.com/unfrozen
 

Offline peter-hTopic starter

  • Super Contributor
  • ***
  • Posts: 4120
  • Country: gb
  • Doing electronics since the 1960s...
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #4 on: September 18, 2024, 06:22:56 am »
Quote
H7 gets warm, F4 doesn't to any great degree

I am seeing CPU temp +47C with Tamb of +20C, running fairly normal sort of code, RTOS, context here:
https://www.eevblog.com/forum/microcontrollers/freertos-where-should-the-cpu-be-spending-most-of-its-time/msg4965922/#msg4965922
I looked at the H7 specs and it is about 2x the power at 480MHz versus 168MHz for the 32F4.

Quote
Keeping coherency between the cached memory and physical memory needed attention in the device drivers. I have worked with STM32, but not with the advanced cache devices. I suggest care with physical and cached memory.

This seems to be the biggest concern but what kind of code would bite you? One obvious one is moving data using code, with the data being put in RAM by DMA - as in ETH low level code. But looking at the above stuff I posted it seems more subtle.
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 80x86 90S1200 32F417
 

Offline Siwastaja

  • Super Contributor
  • ***
  • Posts: 8775
  • Country: fi
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #5 on: September 18, 2024, 11:24:43 am »
If you use DMA, it's best to use tightly coupled memory, which isn't cached but does run at full speed IIRC.
Be careful with that, DTCM doesn't work with DMA, at least on some models of H7. Refer to documentation if unsure.

But on the other hand the main SRAM behind the AXI bus is really fast, too. IIRC the access is only at half f_cpu (e.g. 240MHz) but then again the bus is 64 bits wide. Enabling data cache for main SRAM is probably such small improvement that it usually isn't worth it. In special cases where it matters, it's a better idea to just use DTCM and not having to think about coherency.

Like this: when DMA is needed or when absolute maximum performance is not necessary --> main AXI SRAM. When DMA is not needed AND maximum performance is needed --> DTCM.

Even just putting stack in DTCM already reduces pressure on the main SRAM (useful if you have on-going DMA) and maximum possible performance for local variables.

Also, these MCUs have so much ITCM you can just put large parts of your program there without having to much think about it. Like, all ISRs and anything that even remotely feels like needing a performance boost. Easy performance increase and again no need to think about caches or flash latency.

So as usual, I advice: i-cache is for running large programs out of external flash (especially slow like SPI flash), d-cache is for data in slow external memory.
« Last Edit: September 18, 2024, 11:35:15 am by Siwastaja »
 

Offline betocool

  • Regular Contributor
  • *
  • Posts: 119
  • Country: au
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #6 on: September 18, 2024, 02:20:50 pm »
I went from an F7 to an H7 years ago.

Gotchas:
- Memory Management Unit, could not get Ethernet working with their example, but there was a workaround.
- DMA is a different beast with the DMAMUX. And memory spaces, gotta be careful where you write what.
- Ended up declaring some spaces in the linker file in memory.

Pros:
- Man that thing is fast. I'm transferring 96KHz 32-bit audio in real time to a PC, no sweat, over TCP. I have a custom built ADC / DAC hat for a nucleo that allows me to record from my stereo in the living room to my PC in the office over LAN.
- Fast... but I already said that.

Mind you, this was a few years ago, I got one of the first H7s when they came out in 2017 I think. Still have the same Nucleo. Still works. Maybe these days it's easier than back then.

The application for me was pretty straightforward, for what I needed and wanted, it's pretty cool.

Cheers,

Alberto
 

Offline Siwastaja

  • Super Contributor
  • ***
  • Posts: 8775
  • Country: fi
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #7 on: September 18, 2024, 02:45:06 pm »
AFAIK MMU is disabled by default so it can only be a pro.

DMAMUX is the greatest thing since sliced bread, finally the correct way to do the DMA mapping. It was more than once before that I painted myself in a corner with STM32 where you have committed to a PCB layout and peripheral mapping just to find out that two unrelated peripherals can't use DMA at the same time because of very limited mapping options. With the H7 you don't have to check beforehand, any peripheral can always use DMA (as long as you don't actually run out of channels but that would be pretty extreme use of DMA).
 
The following users thanked this post: newbrain

Offline peter-hTopic starter

  • Super Contributor
  • ***
  • Posts: 4120
  • Country: gb
  • Doing electronics since the 1960s...
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #8 on: September 18, 2024, 05:29:43 pm »
Quote
maximum possible performance for local variables.

If using RTOS, the task stacks are not on the "general stack"; they are in the RTOS task area. On the 32F4 I am using the 64k CCM for that and that fits well with my ~20 tasks (I have a GUI verification tool for checking stack usage). The main gotcha is that DMA can't access the CCM, so one needs to be careful to not put buffers used for SPI in an RTOS task's local variable stack. The H7 solves this.

Quote
MMU is disabled by default so it can only be a pro.

What is a "pro"?

What is news to me is this on the STM website

The STM32H7 single-core and value lines are pin-to-pin compatible with the STM32F7 series and STM32F4 series for the most common packages.

I wonder which chips that is true for?
« Last Edit: September 18, 2024, 05:53:21 pm by peter-h »
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 80x86 90S1200 32F417
 

Offline Siwastaja

  • Super Contributor
  • ***
  • Posts: 8775
  • Country: fi
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #9 on: September 18, 2024, 06:34:36 pm »

Quote
MMU is disabled by default so it can only be a pro.

What is a "pro"?

I mean betocool listed MMU as a gotcha, as opposed to some "pro"s he listed below. But IMHO because MMU is disabled by default it should not give you any gotcha's, but behave like MMU did not exist like in simpler parts. Then you can, if you so wish, enable it to add some extra protection against programming mistakes (like me accidentally writing to address 0, which on STM32H7 is not an invalid "NULL" pointer, but instead maps to ITCM, IIRC, and thus overwrites some of your program code).

This is I think similar to how some people say caches make parts like STM32H7 series difficult, but again my response is these things boot with caches disabled so they should cause no harm whatsoever. Just like having a JPEG codec or CAN peripheral do not harm you when you don't need them. Start small and add stuff step-by-step, and well-equipped microcontrollers are not that scary after all.
 

Offline peter-hTopic starter

  • Super Contributor
  • ***
  • Posts: 4120
  • Country: gb
  • Doing electronics since the 1960s...
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #10 on: September 18, 2024, 09:17:05 pm »
Surely a data cache is unlikely to make much of a difference, if the RAM is fast.

I know that on the 32F417, running code from RAM is actually a bit slower than from FLASH, because the FLASH cache is so effective. But a code cache is normally very effective.
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 80x86 90S1200 32F417
 

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15339
  • Country: fr
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #11 on: September 18, 2024, 09:38:22 pm »
From what I get, the L1 cache in the STM32H7 (at least for the single-core variants that I had a look at) is only used for Flash access and otherwise external memory (external RAM/Flash), not for internal RAM. So that shouldn't bother you.

I suppose your main interest is something like the STM32H742?
 

Offline peter-hTopic starter

  • Super Contributor
  • ***
  • Posts: 4120
  • Country: gb
  • Doing electronics since the 1960s...
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #12 on: September 18, 2024, 10:32:24 pm »
Probably yes, the VGT6. It is only ten bob more (1k) than the 32F417VGT6.
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 80x86 90S1200 32F417
 

Offline dietert1

  • Super Contributor
  • ***
  • Posts: 2380
  • Country: br
    • CADT Homepage
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #13 on: September 18, 2024, 10:35:23 pm »
Some months ago i implemented a H743 with FreeRTOS and LWIP app (fiber GPIB interface), starting from a http server example in their H7 repository. It went smooth. For somebody used to STM32 development, the H7 won't be much different.
I solved the MCU temperature problem adding a small external switcher for the 1.2 V core supply. I could disable the MCU internal LDO in CubeMX.
Another issue i remember was failure to power on without debugger connected. It did not work until i raised the voltage detection level to 2.85 V. Took me some time, as those settings are well protected.
And of course the usual nitty gritty like RTC battery charging and so on.
Today i received PCBs for making a graphics card for a TFT without video memory. This time it's a STM32H730 whose LTDC peripheral shall generate digital video to drive the TFT.

Regards, Dieter
« Last Edit: September 18, 2024, 10:37:11 pm by dietert1 »
 
The following users thanked this post: AndyC_772

Offline peter-hTopic starter

  • Super Contributor
  • ***
  • Posts: 4120
  • Country: gb
  • Doing electronics since the 1960s...
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #14 on: September 19, 2024, 06:13:20 am »
Good tips - thanks.

Quote
I solved the MCU temperature problem adding a small external switcher for the 1.2 V core supply. I could disable the MCU internal LDO in CubeMX.

I totally forgot about that. That should more than halve the CPU power draw! The LDO is dropping 3.3V to 1.2V (1.8V on the 32F4). But isn't there some issue with rail voltage sequencing? Also, this feature is available only on packages featuring the BYPASS_REG pin i.e. the 176-pin one which is probably why I never did anything with it.
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 80x86 90S1200 32F417
 

Offline Siwastaja

  • Super Contributor
  • ***
  • Posts: 8775
  • Country: fi
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #15 on: September 19, 2024, 06:24:08 am »
Quote
I solved the MCU temperature problem adding a small external switcher for the 1.2 V core supply. I could disable the MCU internal LDO in CubeMX.

I totally forgot about that. That should more than halve the CPU power draw! The LDO is dropping 3.3V to 1.2V (1.8V on the 32F4). But isn't there some issue with rail voltage sequencing? Also, this feature is available only on packages featuring the BYPASS_REG pin i.e. the 176-pin one which is probably why I never did anything with it.

I have done this on many projects involving H750 and H743 and don't remember any problems with power sequencing: basically 3.3V and 1.2V switchers out of common 5V bus. I have been under impression that no ill effects occur even when you feed external power to VCAP pins even with internal regulator operating during the time before you can disable it in your init code. Therefore I never used the BYPASS_REG control pin, and used smaller pin count packages just fine. But please double-check, maybe what I did was wrong and I have been just lucky. Some hundreds of units have worked fine for years anyway.

Whether you save or lose power depends on how much you use low-power modes. For a project which is awake running algorithms most of the time, the savings are obvious with a Vcore switcher. On the other hand if you sleep a lot and wake up for small bursts, then you lose the automagic Vcore voltage reduction / disabling functionality, unless you externally implement all that in your switcher circuit and that would get more complicated.
 

Offline peter-hTopic starter

  • Super Contributor
  • ***
  • Posts: 4120
  • Country: gb
  • Doing electronics since the 1960s...
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #16 on: September 19, 2024, 06:47:31 am »
Interesting. Presumably the ST LDO has a diode on its output, so feeding 1.2V up the output with the 3.3V rail at zero doesn't do damage. Most regulators won't take that; in my current project I am using a Ricoh R1191 to get this diode blocking.

Otherwise one would connect a schottky diode between 1.2V and 3.3V, normally reverse-diased.

https://www.st.com/resource/en/application_note/an4488-getting-started-with-stm32f4xxxx-mcu-hardware-development-stmicroelectronics.pdf suggests that power can be applied via VCAP1+VCAP2 (connected together).

This (32F4) suggests there is not a diode on that LDO output



H7 doc states that all available VCAP pins should be interconnected for external power, and their DISCO board interconnects them anyway. It's a mess and many people are asking questions about it online.

And there are some debugger issues. Anyway, this is digressing, though relevant to the H7 due to the higher power.
« Last Edit: September 19, 2024, 07:52:19 am by peter-h »
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 80x86 90S1200 32F417
 

Offline dietert1

  • Super Contributor
  • ***
  • Posts: 2380
  • Country: br
    • CADT Homepage
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #17 on: September 19, 2024, 07:24:02 am »
Also the F4 didn't have the MPU of the H7. The example i used provided the MPU configuration and CubeMX also supports the MPU.
 

Offline peter-hTopic starter

  • Super Contributor
  • ***
  • Posts: 4120
  • Country: gb
  • Doing electronics since the 1960s...
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #18 on: September 19, 2024, 07:32:04 am »
Probably useful during development but most embedded systems can't tell you what blew up :)

BTW is there no way to make the F4 do a trap on a FLASH write? I know it will do one on invalid address e.g. writing to 0x00000000 - the main null pointer thing. What you can't do is prevent e.g. stack execution but that would be nontrivial with an RTOS unless it reprogrammed the MPU on a task switch..
« Last Edit: September 19, 2024, 08:04:01 am by peter-h »
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 80x86 90S1200 32F417
 

Offline Siwastaja

  • Super Contributor
  • ***
  • Posts: 8775
  • Country: fi
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #19 on: September 19, 2024, 08:06:38 am »
Probably useful during development but most embedded systems can't tell you what blew up :)

BTW is there no way to make the F4 do a trap on a FLASH write? I know it will do one on invalid address e.g. writing to 0x00000000 - the main null pointer thing. What you can't do is prevent e.g. stack execution but that would be nontrivial with an RTOS unless it reprogrammed the MPU on a task switch..

Oh, MMU interrupt handler which writes some debug value (e.g. address which was written to) in a non-cleared piece of RAM, then reboots is not too many lines of code and can really save the day compared to memory corruption. Once you think about it, it's quite obvious to protect code areas after you have initialized them; self-modifying code is very rarely used.
 

Offline wek

  • Frequent Contributor
  • **
  • Posts: 536
  • Country: sk
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #20 on: September 19, 2024, 09:05:26 am »
What is news to me is this on the STM website

The STM32H7 single-core and value lines are pin-to-pin compatible with the STM32F7 series and STM32F4 series for the most common packages.

I wonder which chips that is true for?
Probably none (here see pins 19..49): [EDIT] TBH for this particular package, there is pin compatibility (bar the devil in the details) between 'F7 and 'H7 [/EDIT]
PIN STM32F746VGTx.xml   STM32H742V(G-I)Tx.xml   STM32F427V(G-I)Tx.xml
1 PE02            PE02PE02
2 PE03            PE03PE03
3 PE04            PE04PE04
4 PE05            PE05PE05
5 PE06            PE06PE06
6 VBAT            VBATVBAT
7 PC13            PC13PC13
8 PC14OSC32_IN    PC14OSC32_IN (OSC32_IN)PC14OSC32_IN
9 PC15OSC32_OUT    PC15OSC32_OUT (OSC32_OUT)PC15OSC32_OUT
10 VSS             VSSVSS
11 VDD             VDDVDD
12 PH00OSC_IN      PH00OSC_IN (PH0)PH00OSC_IN
13 PH01OSC_OUT     PH01OSC_OUT (PH1)PH01OSC_OUT
14 NRST            NRSTNRST
15 PC00            PC00PC00
16 PC01            PC01PC01
17 PC02            PC02CPC02
18 PC03            PC03CPC03
19 VSSA            VSSAVDD
20 VREF+           VREF+VSSA
21 VDDA            VDDAVREF+
22 PA00WKUP        PA00VDDA
23 PA01            PA01PA00WKUP
24 PA02            PA02PA01
25 PA03            PA03PA02
26 VSS             VSSPA03
27 VDD             VDDVSS
28 PA04            PA04VDD
29 PA05            PA05PA04
30 PA06            PA06PA05
31 PA07            PA07PA06
32 PC04            PC04PA07
33 PC05            PC05PC04
34 PB00            PB00PC05
35 PB01            PB01PB00
36 PB02            PB02PB01
37 PE07            PE07PB02BOOT1
38 PE08            PE08PE07
39 PE09            PE09PE08
40 PE10            PE10PE09
41 PE11            PE11PE10
42 PE12            PE12PE11
43 PE13            PE13PE12
44 PE14            PE14PE13
45 PE15            PE15PE14
46 PB10            PB10PE15
47 PB11            PB11PB10
48 VCAP_1          VCAPPB11
49 VSS             VSSVCAP_1
50 VDD             VDDVDD
51 PB12            PB12PB12
52 PB13            PB13PB13
53 PB14            PB14PB14
54 PB15            PB15PB15
55 PD08            PD08PD08
56 PD09            PD09PD09
57 PD10            PD10PD10
58 PD11            PD11PD11
59 PD12            PD12PD12
60 PD13            PD13PD13
61 PD14            PD14PD14
62 PD15            PD15PD15
63 PC06            PC06PC06
64 PC07            PC07PC07
65 PC08            PC08PC08
66 PC09            PC09PC09
67 PA08            PA08PA08
68 PA09            PA09PA09
69 PA10            PA10PA10
70 PA11            PA11PA11
71 PA12            PA12PA12
72 PA13            PA13(JTMS/SWDIO)PA13
73 VCAP_2          VCAPVCAP_2
74 VSS             VSSVSS
75 VDD             VDDVDD
76 PA14            PA14(JTCK/SWCLK)PA14
77 PA15            PA15(JTDI)PA15
78 PC10            PC10PC10
79 PC11            PC11PC11
80 PC12            PC12PC12
81 PD00            PD00PD00
82 PD01            PD01PD01
83 PD02            PD02PD02
84 PD03            PD03PD03
85 PD04            PD04PD04
86 PD05            PD05PD05
87 PD06            PD06PD06
88 PD07            PD07PD07
89 PB03            PB03(JTDO/TRACESWO)PB03
90 PB04            PB04(NJTRST)PB04
91 PB05            PB05PB05
92 PB06            PB06PB06
93 PB07            PB07PB07
94 BOOT0           BOOT0BOOT0
95 PB08            PB08PB08
96 PB09            PB09PB09
97 PE00            PE00PE00
98 PE01            PE01PE01
99 VSS             VSSVSS
100 VDD              VDDVDD
                             
                                     

JW
« Last Edit: September 19, 2024, 09:14:54 am by wek »
 

Offline dietert1

  • Super Contributor
  • ***
  • Posts: 2380
  • Country: br
    • CADT Homepage
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #21 on: September 19, 2024, 09:52:50 am »
Even if the MCUs are only 90% pin-to-pin compatible they want developers to think about it. The H7 is a superset of the F4 and one should think about using it - like Peter does. I mean they also have the L4 and the G4 lines and might want to discontinue the F4 sooner or later.

Regards, Dieter
 

Offline peter-hTopic starter

  • Super Contributor
  • ***
  • Posts: 4120
  • Country: gb
  • Doing electronics since the 1960s...
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #22 on: September 19, 2024, 11:39:00 am »
The F407 is made by the chinese too so probably safe for many years. ST currently guarantee 10 years, from now, IIRC. The 417, maybe not as safe, but my box doesn't "need" the fast hardware AES256, and the F4 hardware crypto is usable only for AES; there is no RSA etc support which would make a big difference. Software AES is about 800k bytes/sec which is plenty for embedded work.

Thanks wek - I did wonder :)
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 80x86 90S1200 32F417
 

Online asmi

  • Super Contributor
  • ***
  • Posts: 2799
  • Country: ca
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #23 on: September 19, 2024, 02:00:51 pm »
Most H7 have variants with integrated SMPS, I always pick them as you only need a few extra parts, but get some serious efficiency boost. One thing to watch out for is that in some parts (I encountered it in STM32H747XI) integrated SMPS can not do the full range of VOS and so some run modes might not be available (in abovementioned part "boosted performance" run mode is only available if you use LDO).

Offline peter-hTopic starter

  • Super Contributor
  • ***
  • Posts: 4120
  • Country: gb
  • Doing electronics since the 1960s...
Re: What main gotchas are there going STM32F4xx to STM32H7xx
« Reply #24 on: September 19, 2024, 02:40:33 pm »
Mostly dual core have it, and the 730 has (the one with very little FLASH... I wonder why they did that version?).

An external LC is basically all that's needed.

That probably brings some interesting EM compatibility issues; usually most radiation out of a product is the switching power supply :)
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 80x86 90S1200 32F417
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf