I m totally new to stm32 , I am using stm32f0rb nucleo board ,now I want to connect ic using SPI and send 16 bit data to ic can anyone guid in proper way , I want to generate code using stmcubemx.
Hello Sandeep singh ,
Have a look to the HAL_labs.pdf in section SPI (from page 187) it can help you on how to configure SPI using STM32CubeMX .
You may refer to the SPI example within STM32CubeF0 v1.9.0 firmware package:
The UM1785 User manual Description of STM32F0 HAL and low-layer drivers, will helps you to understand the purpose of HAL functions and to know how the structures are defined.
Retrieving data ...