cancel
Showing results for 
Search instead for 
Did you mean: 

Anyone help me ? i want to connect two STM32f103c8t6 by using SPI protocol! but i can not do anyone give me code for cubemx!

GPate.5
Associate
 
3 REPLIES 3

>>Anyone help me ?

Probably not with CubeMX, isn't that a point and click interface?

This is a Master/Slave SPI demo program using HAL

STM32Cube_FW_F1_V1.6.1\Projects\STM32VL-Discovery\Examples\SPI\SPI_FullDuplex_ComPolling\readme.txt

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Yes i am using cubemx and i try code from stm32cubef1 but I don't get any result. Can you help me further ?​

Start by being more specific about your board/hardware.

Define which pins you are using.

Start with the Master, send continuous patterns and review signals with a scope or analyzer.

#ShowYourWork​ 

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..