cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F10x_StdPeriph_Lib, is it worth the trouble?

Fristedt.Jan
Associate II
Posted on March 01, 2010 at 08:13

STM32F10x_StdPeriph_Lib, is it worth the trouble?

#setting-a-bad-example
11 REPLIES 11
Tomas DRESLER
Senior II
Posted on May 17, 2011 at 13:41

Apply for free STM32 training in ST offices and in 2-3 days with hands-on you'll understand the library very well 🙂

Personally, I use the lib examples as copy-paste of different periph. initializations, the rest is application code, where I better use the registry. There are common points, like enabling clocks etc., configuraing GPIO as AF that you may read from other examples.

Btw. don't use I2C examples from FW lib, better look into the AN of I2C usage.
Andrew Neil
Evangelist III
Posted on May 17, 2011 at 13:41

 ''ST's (and they're not alone in this) example projects are rather simplistic and aren't that useful, IMO''

 

 

I'm afraid I'd have to agree with you there!

It seems I'm not alone in that: 

http://embeddedgurus.com/stack-overflow/2010/08/setting-a-bad-example-part-1/