IOC Configuration

USART2

Basic Parameters

Don’t touch Advanced Parameters

Advanced Features

note

USART is UART with Sync option, meaning you can utilize a clock as a reference frame for data.

USART is UART with Sync option, meaning you can utilize a clock as a reference frame for data.

DMA Configuration

NVIC Settings

Getting Code Running

Add these lines of your code to main.cpp.

/* USER CODE BEGIN 2 */
  SBus sbus_data;
  RCControl control_data;
  /* USER CODE END 2 */

  /* Infinite loop */
  /* USER CODE BEGIN WHILE */
  while (1)
  {
    /* USER CODE END WHILE */
  	sbus_data = sbus_pointer->GetSBUS();
  	control_data = sbus_pointer->GetRCControl();
  	/* USER CODE BEGIN 3 */
  }
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
#include "SBUSReceiver.hpp"
#include "RCReceiver_config.hpp"
/* USER CODE END Includes */

To Do

Questions

Unit Testing Logic