Skip to main content
2 of 3
added 858 characters in body
dannyf
  • 4.4k
  • 1
  • 8
  • 9

Very difficult for you NOT to use CMSIS this days.

SPL is being discontinued for future development.

HAL / Cube is the future if you want to stay with ST's libraries.

You have other non-ST solutions, however.

Edit:

People often talk about how buggy the st libraries are and my experience with those claims suggest they are more of a user problem than a code problem. At least with thee "very buggy"SPL. The known problem there is the i2c code for some chips, most often unknown to many people, or known as a hardware problem.

Another example was in the unofficial release of SPL 3.5.

Most of user problem with SPL havee been due to inability to understand how the code works and link thee code to the hardware.

I used OEM libraries often and have found them to be generally of very high quality, certainly better than most code produced by "experts".

So I would suggest that you plunge into it and see if it works for you. Overhead is fairly minimum. And if you structure your code right switching back to your own code from the library is easy.

dannyf
  • 4.4k
  • 1
  • 8
  • 9