Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Don’t forget that the ADC requires specific behavior for the CS line that is connected to the GPIO pin you set. Information for controlling a GPIO pin can be found in the HAL Function APIs (GPIO starts from p196).

Converting ADC value to PWM signal

...

  • Look at the HAL_TIM_ and __HAL_TIM_ functions to access the timer. The HAL User Manual HAL Function APIs will be particularly useful here.

  • For SPI communication look at the SPI IO operation function in the HAL User Manual HAL Function APIs.

  • The electrical schematic is useful for determining which pins should be configured to which peripheral.

  • Don’t be shy to learn from Google or shoot your question in discord if any of the resource provided in this bootcamp document are not helping you.