Chip One Stop - Shopping Site for Electronic Components and Semiconductors
Menu
SELECT YOUR LANGUAGE
SELECT YOUR CURRENCY FOR DISPLAY
关于优惠等级和折扣率

目前的商品价格将适用于以下


・根据顾客的购买情况可以享受优惠和折扣
・关于折扣仅限于从本网站直接下单的订单
・部分产品和阶梯数量不被包含在优惠折扣产品中
・关于优惠等级的详细信息请联系您的销售人员
・不能与其它优惠同时使用

视频中心

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...

相关视频