What is a start point for using STM32L162?
Do you have custom board? I cannot see any from the Disco/Nucleo collection.
Download STM32CubeMX, think about IDE you want to use for the development.
Depending the background you have (C, ARM or 8 bits) there are many ways to follow....
Prerequisites - any microcontroller:
For a particular chip, you will need:
ST have a load of training & tutorial stuff on the web, including YouTube
MCU Training Courses - STMicroelectronics
STM32 - YouTube
STMicroelectronics - YouTube
General microcontroller "Getting Started" tips for beginners:
And a lot of free time if this is not a part of your job;)
Neil.Andrew wrote: ST have a load of training & tutorial stuff on the web
ST have a load of training & tutorial stuff on the web
And there is a vast amount of 3rd-party stuff.
in fact, I would venture to suggest that the STM32 is probably the most widely supported of all Cortex-M by 3rd-party stuff ... ?
Cortex-M Learning Platform
You should certainly have a copy of Joseph Yiu's Definitive Guide to the Cortex-M3:
Great book. But I think we spend substantial part of our job on peripherals setup which is not described thoroughly here because it depend on actual vendor.
+1 on Joseph Yiu's books, complement ARM's TRM with an alternate perspective.
Evidence suggests a lot of users here have minimal knowledge about how micro-controllers work, or how data is represented in memory, helps to build your house on a solid foundation.
And critical thinking / troubleshooting skills are important. + Patience.
If someone wants quick results without pain should use the arduino + copy&paste replication approach. It's nice to help someone who is involved, not waiting for a solution. But we touch the Motivation here....
Bogdan Golab wrote:And critical thinking / troubleshooting skills are important. + Patience.
Bogdan Golab wrote:
Indeed - 3rd bullet point in my initial reply.
This is particularly sad as, at at its heart, all engineering - including programming - is fundamentally a problem-solving exercise.
In my field (computer networking) there is a lot of people who pass many exams at the expert level (the question is what the 'expert' means here) who cannot troubleshoot anything. They enjoy themselves when something works from the first time - the real enjoyment comes from solving problems. And understanding comes also comes from 'learning by doing'. STM32 is a hobby for me but I spend many days on troubleshooting just because I like it. Again I think the motivation crucial - why does someone want to spend his/her time on this kind of stuff..
Clive One wrote: Evidence suggests a lot of users here have minimal knowledge about how micro-controllers work, or how data is represented in memory
Clive One wrote:
Evidence suggests a lot of users here have minimal knowledge about how micro-controllers work, or how data is represented in memory
Sadly, that is true; and not just here - it is seen pretty much across all internet forums, AFAIKS.
Even people who say, "I am familiar with Brand-X microcontroller, but not STM32..." - the question usually betrays a lack of understanding of the underlying fundamentals. Seems that "familiar" just means "have followed some cookbook recipes".
Bogdan Golab wrote: we spend substantial part of our job on peripherals setup which is not described thoroughly here because it depend on actual vendor.
we spend substantial part of our job on peripherals setup which is not described thoroughly here because it depend on actual vendor.
Yes, that is true.
This book describes the generic Core features - it needs to be used in conjunction with the specific ST documentation & resources mentioned earlier.
I have two issues with the book mentioned above. One: It is too expensive, and you also need to purchase a second volume if you are working on Cortex-M0 architecture. Two: The book has a print date of 2015 meaning it was written in 2014 which means that the material is 4 years old now. That is a life time in microprocessor architecture. This material is better suited for a Wikipedia (or similar) site that can be updated on at least a quarterly basis.
The fundamentals are still the same. The details are in the ST datasheets / references.
Have both volumes. Worth the price.
Prices for books in the US is often stupidly high, especially college texts. Hohl's book is ridiculous and the first edition was years late.
Get the International version
Joseph Yiu - AbeBooks
To be honest the series covers a lot of the same material, expanding in each edition and for each new part. The CM3/4 one would cover most of the bases.
The CM3 hasn't changed in a decade, and manual describing the core is solid. Tool chains change and evolve.
What evaluation kit is useful for STM32L162RCT?
I can't find out on the web about STM32L162RCT, although ok about STM32L152 series.
The one with STM32L152 below is similar if the AES is not important:
>>Hi, What is a start point for using STM32L162?
Would rather depend on where you're coming from. Some context might be helpful, and your profile is empty.
A STM32L152-DISCO or EVAL board might provide a way to get up to speed on the L1 series. Really depends on what you're attempting to do, and the experiences you're working off.
Retrieving data ...