Your dirt cheap Cortex-M0 are still significantly more expensive than an equivalently feature-specced STM8.But it will surely take a bunch of marketing before STM8 is seen more widely in use.
Too bad SDCC is pretty poor except for the most trivial projects. More of an iar user I dont find cosmic offers a good enough of a reason to switch. So all you have to do is to get an older compiler (hopefully with an unlimited free license) and give it the latest header files and you are in business. But here goes my storyquestions as i am truly curious about STM8L series. 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 US1.8 for L051 and US3.9 for L151. 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. 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 STM832 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. I am hoping to skip this and go PC - DONGLE - 4wire - MCU, then I read about this post about compiler and went oh shit, they dont give you the IDE to play So how does 1 play software side - what do industry pro use and what doshould hobbyist use (edit: I understand that CHINA has flooded some DG series and so there should be some fake STM clones, will this be a problem like the FTDI bricking crap or there is no such thing as STM fakes) thanks for any replies. They are independently marketed and developed ARM processors that clones the idea and register map of STM32, the silicon implementation is completely independently designed. I am hoping to skip this and go PC - DONGLE - 4wire - MCU, then I read about this post about compiler and went oh shit, they dont give you the IDE to play So how does 1 play software side - what do industry pro use and what doshould hobbyist use I would recommend to Buy the official ST Link2 or alternative the Rlink from Raisonance they have always worked for me personal and professionally and are cheap compared to the programmers for Arm for instance like the Keil or Segger, so no need to buy clones or other manufacturers. If you want to program and debug on target make sure not to use the Swim pin in your design, only use it for programming debugging that makes life much easier. For the IDE to start you can use STs STMVD (STM8s IDE) although not the best or fastest it works directly with Cosmic and will get you going. ![]() To get valid effective extra resolution, you need to dither your input with sub lsb random noise, to purterb the system around its actual value, so sometimes the number bumps up, sometimes down, statistically it settles at its real value. Quote 2) Then there is only the STM8L discovery version from ST. I am hoping to skip this and go PC - DONGLE - 4wire - MCU, then I read about this post about compiler and went oh shit, they dont give you the IDE to play So how does 1 play software side - what do industry pro use and what doshould hobbyist use They are STM8S discovery, the board that started them all - technically Luminary may have started it but STM8S-Discovery is the first that got lots of people interested. Stm8 Cosmic Code Compiled ForQuote (edit: I understand that CHINA has flooded some DG series and so there should be some fake STM clones, will this be a problem like the FTDI bricking crap or there is no such thing as STM fakes) The GD32F103 can use the STM32F103 header file, so code compiled for the STM32F103 runs on GD32F103 - they are some exceptions due to a couple hardware differences (like oscillator settings) so the other way may not work. It actually has a huge onboard ram buffer due to its use of a serial flash. That creates some interesting problems, like excessive time cycles needed to fetch out-of-buffer items from the flash. So GDs spec is both true and false, depending whether the flash cache contains the desired instructions.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |