Add USB_SPI

This commit is contained in:
2022-09-05 17:21:38 +03:00
parent fcf5e03338
commit bbf855b054
19 changed files with 1928 additions and 0 deletions

11
F1:F103/USB_SPI/Readme Normal file
View File

@@ -0,0 +1,11 @@
USB PL2303 emulation. Send data to SPI and read answer.
Protocol:
"F - change SPI flags (F f val), f== l-LSBFIRST, b-BR [18MHz/2^(b+1)], p-CPOL, h-CPHA\n"
"G - get SPI status\n"
"I - reinit SPI\n"
"R - software reset\n"
"S - send data over SPI\n"
"T - show Tms value\n"
APB2 clock is 18MHz