On Thu, Apr 16, 2020 at 1:16 AM raiden00pl . <raiden0...@gmail.com> wrote:
> > How does the RCC (clock tree) compare?
>
> RCC looks like in G0 family, which is not registers compatible with older
> versions. But clock tree is similar to those found in F4/F7.

On Thu, Apr 16, 2020 at 12:44 AM raiden00pl . <raiden0...@gmail.com> wrote:
> Yes, there are some new features in analogs but if you look at registers
> organization
> and configuration bits, these looks the same as in F3.
>
> Timers: Both have HRTIM, but the STM32F334 has HRTIM IP version 1.0
> > while STM32G474Cxt has HRTIM IP version 2.0. This adds various
> > features and capabilities, described in [2]. Also, the G4 more of the
> > regular resolution timers.
> >
>
> As above, we have new features, but the basic structure is the same.
> The question is when we can talk about completely new IP block and
> when we can talk only about an extended old version.
> In my opinion, when the registers are identical, we have backward
> compatibility but some new functions added - we are dealing with the same
> IP block.
>
> With this approach, we can easily extend existing code with some #ifdefs.

So what's the deciding factor? Should this be in 'stm32' directory
because most peripherals have compatibility? Or a different directory
because RCC is different?

Nathan

Reply via email to