2016-07-27 03:01 AM
2018-03-04 06:13 AM
I know it is a bit out of date and maybe it wasn't available 2 years back but currently you can just have a look at the STM Cube code. My advice would be to port that first to your MCU and then you have a reference implementation which you can look up to when things go awry.