Chip One Stop - Einkaufsstandort für elektronische Komponenten und Halbleiter
Menu
SELECT YOUR LANGUAGE
SELECT YOUR CURRENCY FOR DISPLAY
About Preferential Rank / Discount

Current price of Item(s) have been applied below.
 


・Preferential Rank and Discount rate will be applied according to your usage of our web service.
・Discount is only applicable to orders from chip1stop web site.
・Discounts may not be applicable to all products and may be subject to MOQ.
・Please contact your representative for details of Preferential Rank.
・No other coupons may be used in conjunction with this discount.

Videos

STM32C0 workshop - 07 RAM code execution lab

STMicroelectronics
We will create an application code and then we will move part of the code to RAM.

Code to be added:
in main.c:

/* USER CODE BEGIN 2 */  
   LL_USART_EnableIT_RXNE(USART2);
   LL_USART_EnableIT_ERROR(USART2);
...

/* USER CODE BEGIN 4 */
void USART_CharReception_Callback(void)
{
   uint8_t received_char;
   received_char = LL_USART_ReceiveData8(USART2);
   if ((received_char == 'E') || (received_char == 'e')) {
      LL_GPIO_TogglePin(LED_GPIO_Port, LED_Pin);
   }
   LL_USART_TransmitData8(USART2, received_char);
}

in main.h:

/* USER CODE BEGIN EFP */
void USART_CharReception_Callback(void);
/* USER CODE END EFP */

in stm32c0xx_it.c:

/* USER CODE BEGIN USART2_IRQn 0 */
USART_CharReception_Callback();
/* USER CODE END USART2_IRQn 0 */

in STM32C031C6TX_FLASH.ld:

*/Drivers/*(.text*) 
*main.o(.text.MX_GPIO_Init)
*main.o(.text.MX_USART2_UART_Init)
*main.o(.text.USART_CharReception_Callback)

______
The STM32C0 series is our new general purpose 32-bit microcontrollers offering simplicity and affordability. 
Designers will especially appreciate its pin-to-pin compatibility with the STM32 family and its comprehensive development ecosystem.

Who should attend this course?
- Engineers looking for a general purpose microcontroller for their embedded applications
- Engineers who wish to better understand the STM32C0's innovative architecture and embedded smart peripherals
- Engineers looking to design applications using a user-friendly development ecosystem

Prerequisites:
- NUCLEO-C031C6 board
- type A to type B micro USB cable
- Laptop PC running Windows® 7, 8, 10 or 11 with administrator rights and with preinstalled software from below link:

Complete list of prerequisites is available within the below link:
https://drive.google.com/file/d/1EtLC...

Materials:
Workshop presentations in pdf format are available here:
https://drive.google.com/file/d/1Wnav...

In case of any questions, suggestions, feel free to contact us at our forum at:
https://community.st.com

Please share with us your feedback on this MOOC using anonymous survey at:
https://www.surveymonkey.com/r/STM32C...

Related