Skip to main content
Divya
Associate II
March 17, 2020
Question

Sample code

  • March 17, 2020
  • 1 reply
  • 1068 views

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?

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
March 17, 2020

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 VenmoUp vote any posts that you find helpful, it shows what's working..
Divya
DivyaAuthor
Associate II
March 17, 2020

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

Tesla DeLorean
Guru
March 17, 2020

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 VenmoUp vote any posts that you find helpful, it shows what's working..