2017-09-07 2:42 AM
Hi
I want to know, what is the difference between stmcube and SPL? Has SPL replaced by stmcube? or stmcube is something above the SPL? cause I think there is another thing called HAL library!
Also, when I want to use CMSIS-Core I should use which one of them, If I like to have low level access to registers?
I have stm32f40vg discovery board that I bought 4years ago, and like to use CMSIS-Core for programming, but I understood SPL is outdated and not supported for now! So what is the alternative for SPL? Or can I use SPL yet?
Solved! Go to Solution.
2017-09-07 5:54 AM
Hi,
Have a look to
.If you still have confusion even after that, please let me know what exactly needs clarification.
-Amel
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.
2017-09-07 5:54 AM
Hi,
Have a look to
.If you still have confusion even after that, please let me know what exactly needs clarification.
-Amel
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.
2017-09-07 8:15 AM
HAL replaces SPL, CubeMX is a code generator targetting HAL compatible output.
SPL continues to be supported by those that matter, is doesn't need constant iteration because it isn't packed full of bugs/pitfalls. The SPL for the F4 will continue to work reliably for years to come. If you expect to be building something with a 5-10 year product life, which you will be expected to support/service, where field updates are difficult/impractical, use the SPL, it is far less likely to bite you.
If you enjoy the Microsoft/Adobe software update/delivery model of constant churn and regression, chose HAL
2017-09-07 8:22 AM
Thank you Amel,
But, what about CMSIS? CMSIS is which part of this story?
2017-09-07 10:34 AM
CMSIS header files are available in both packages (Cube and SPL).
Both development approaches allow you to have low level access to register (this wasn't easy to do with HAL -High Abstraction Layer- drivers embedded in the Cube package, but is facilitated since the LL -Low Layer- drivers were added).
-Amel
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.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.