risc-v/bl808: Add SPI driver

This commit implements a driver for SPI0 and SPI1 on the BL808 and introduces an accompanying example configuration.
This commit is contained in:
Henry Rovner
2024-07-06 15:23:51 -07:00
committed by Xiang Xiao
parent b191153cdc
commit 091372069c
14 changed files with 1870 additions and 20 deletions
@@ -143,3 +143,10 @@ adc
This configuration enables support for the general purpose ADC and the adc example app.
By default, the ADC will scan external channels 3, 4, 6, 7 and 9 (GPIO pins 11, 6, 12,
13 and 18). Serial Console is enabled on UART3 at 2 Mbps.
spi
---
This configuration enables support for SPI0 and spitool.
By default, GPIO14 is MISO, 13 is MOSI, 15 is SCLK and 12 is SS.
Serial Console is enabled on UART3 at 2 Mbps.
@@ -51,7 +51,7 @@ GPIO Yes
I2C No
I2S No
PWM No
SPI No
SPI Yes
Timers No
UART Yes
USB No