cancel
Showing results for 
Search instead for 
Did you mean: 

Sample code

Divya
Associate II

Hi!

I'm an intern working with STM32L476 MCU. I am new to embedded system coding and was hoping to use a sample code as reference?

is there any library where I can access some sample code?

3 REPLIES 3

Download and unpack the CubeL4 package

Host of HAL examples, pick a close board

STM32Cube_FW_L4_V1.15.1\Projects\32L476GDISCOVERY\Examples\GPIO\GPIO_IOToggle

STM32Cube_FW_L4_V1.15.1\Projects\NUCLEO-L476RG\Examples\GPIO\GPIO_IOToggle

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

i have downloaded and unpacked the CubeL4 software. However, I did not understand how to proceed further...

Perhaps your supervisor can indicate the tools you should be utilizing. Most of the project examples build directly with Keil or IAR tool chains.

You can navigate the CubeL4 directories with a File Manager of your choice, and perhaps review in a text editor, or static analysis tools

You could try YouTube for Keil and STM32 related videos.

ST had training videos at one time, not sure where on the site they are, quick Google got this

https://www.st.com/content/st_com/en/support/learning/stm32-education/stm32-step-by-step.html

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..