-
By default the S32K146 SOC has a fixed clock configuration which is selected here which then compiles the clock configuration (here is the S32K146 for example) It would be nice if the the variable This allows to override the clock configuration and not change the source code for hal_nxp upstream for each different clock configuration I need. Use case: I have a S32 custom board that I need to change clock speed, SPLL source ,etc. for my project requirements. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thanks. It makes sense as a workaround for now. Ideally the clock tree should be described in devicetree to allow reconfiguration, but there are limitations in the HAL API design that prevents this at some extent. I will give it a try and submit a patch for this if all good. |
Beta Was this translation helpful? Give feedback.
Thanks. It makes sense as a workaround for now. Ideally the clock tree should be described in devicetree to allow reconfiguration, but there are limitations in the HAL API design that prevents this at some extent. I will give it a try and submit a patch for this if all good.