cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in SPI transmission of stm32f072cb

Amit Singh
Associate
Posted on July 21, 2017 at 16:34

Hi guys,

I am new to stm32 controller and i am facing a problem in receiving part of spi which is not working can you please explain to me the specific part of the code need to change i am using spi in bidirectional mode and spi_send_8(data) function through std peripheral libraries.

Thanks in advance

#stm32f072cb-spi
1 REPLY 1
Posted on July 21, 2017 at 17:29

Hello!

You can download  the appropriate  library with  examples included 

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32-standard-peripheral-libraries.html?querycriteria=productId=LN1939

You wrote 'I am new to stm32 controller'

As newcomer to STM32 MCUs i personaly suggest to download and to use the

http://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-configurators-and-code-generators/stm32cubemx.html

with the appropriate for your hardware device pack. It has a lot of examples and all information needed for someone who wants to learn.

When you use HAL (LL)  drivers It is easier to find help because std peripheral libraries are past generation (but still mature and fully functional) and is hard to find helpers!

rgrds vf