![]() ![]() ![]() Thankfully, COSMIC (who produce the C compiler for STM devices), have fully released their compiler without any restrictions for the STM8 devices, while the STM32 devices are still restricted to 32K programming space (this is plenty for most projects anyway). However, there is a downside to ST devices they do not come in hobby-friendly packages, and many compilers/IDEs require purchased licenses. This is where the STM8 series of microcontrollers comes in, being very cheap, powerful, and fast! PIC controllers are typically cheaper than AVR devices, but sacrifice on power and throughput, while AVR devices may be more difficult to program on the go. ![]() ![]() However, simple prototypes may eventually turn into a commercial product, and when this happens, every penny counts. All C compilers include: IDEA Cosmics own integrated development environment for Windows is preconfigured for the compiler it comes with. PIC devices are great thanks to the continual production and support by Microchip while AVR devices contain a very powerful CPU (arguably more of a CISC than a RISC). When choosing a microcontroller for a project or product, it is essential that you pick the right one. In these series of articles we will look at how to use STM8S microcontrollers including the use of the IDE and internal peripherals. At my current level of understanding, I am faced with a few problems I hope STM MCU players can advise: 1) In terms of hardware interfacing, it seems that all STM8/32 require their ST-LINK? And they have so many flavors of it 1) small USB sticks, pink, grey, blue, etc 2) white large dongle 2 versions? There are also china versions "RISYM" types, they look like the small sticks, are these official and work? 2) Then there is only the STM8L discovery version from ST.PIC and AVR controllers are great for small projects, and even some products, but are not necessarily the best commercial choice for mass production. Anybody knows of a better platform (ADC bit-wise, and super low power?) with comparable price? So I went further, trying to acquire some bare MCU on a pinout PCB, and the 4wire type ST-link USB hoping to plug in and start to play, but I found some "glitches". From what I can understand, in the 20-32pin series of MCUs, these are the smallest + lowest power with 12 bit ADC capability? with ebay pricing under US$1.8 for L051 and US$3.9 for L151. But here goes my story/questions as i am truly curious about STM8L series. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |