cancel
Showing results for 
Search instead for 
Did you mean: 

want to send 16 bit data using by spi using cubemx

Sandeep singh
Associate II
Posted on May 25, 2018 at 08:56

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.

1 REPLY 1
Imen.D
ST Employee
Posted on May 25, 2018 at 14:11

Hello

sandy.sandy

,

Have a look to the

in section SPI (from page 187) it can help you onhow to configure SPI using STM32CubeMX .

You may refer to theSPI

example within STM32CubeF0 v1.9.0 firmware package:

STM32Cube_FW_F0_V1.9.0\Projects\STM32F070RB-Nucleo\Examples\SPI

The

http://www.st.com/content/ccc/resource/technical/document/user_manual/2f/77/25/0f/5c/38/48/80/DM00122pdf/files/DM00122pdf/jcr:content/translations/en.DM00122pdf

U

ser manual Description of STM32F0 HAL and low-layer drivers, will helps youto understand the purpose of HAL functions and toknow how the structures are defined.

Best Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen