Spi protocol memo

drivers/spi/spi.c

1
2
3
4
5
6
7
8
9
spi_write_then_read
 __spi_sync
 
spi_transfer_one_message
 spi_set_cs
 stm32_spi_transfer_one
 
 rspi_dma_transfer
 rspi_pio_transfer

SPI: Serial Peripheral Interface
CS(SS): Chip Select
SCLK: Serial Clock
PTP: Precise Time Protocol

refer to:
https://blog.csdn.net/faihung/article/details/81839825