2018-10-17 06:53 AM
I want STM32F103 to I2C mode test
I can control <I2C Master Transmitter & Slave Receiver > mode
But, I need
-. When I2C Slave Mode: Slave Transmitter & Master Receiver example Code.
example)
Slave transmitter
Slave receiver
Master transmitter
Master receiver
#define DMA_Master_Transmit
#define DMA_Master_Receive
#define DMA_Slave_Transmit
#define DMA_Slave_Receive
#define IT_Master_Transmit
#define IT_Master_Receive
#define IT_Slave_Receive
#define IT_Slave_Transmit
#define Polling_Master_Transmit
#define Polling_Master_Receive
Many thanks!!!
2018-10-17 11:47 AM
Do you use some library?
JW
2018-10-19 05:39 PM
I Use "STM32F10x_StdPeriph_Driver".