使用stm32f103c8t6平台移植基于SPI通信的LD3320语音控制功能。
接线说明:
SPI MODE 2, CPOL = 1, CPHA = 0 (STM32CubeMx, Clock Polarity(CPOL) = High, Clock Phase(CPHA) = 1 Edge, Prescaler(for Baud Rate) = 256)
SPI MODE Baud Rate need to less than 1.5MHZ
GPIO STM32F103C8T6 : LD3320 (MD to 3.3V)
PA5 : SCK
PA6 : MISO(MI)
PA7 : MOSI(MO)
PB0 : CS
PB1 : RST
PB10 : IRQ
OTHER
LD3320 MD : 3.3V
LD3320 WR : GND
PA9 : UART TX
PA10 : UART RX
1