Răsfoiți Sursa

Modify the SPI default frequency to 25MHz and the queue size to 2

Evlers 2 ani în urmă
părinte
comite
a271462c71
2 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 2 2
      Kconfig
  2. 1 1
      README.md

+ 2 - 2
Kconfig

@@ -30,7 +30,7 @@ menuconfig RT_USING_ESP_HOSTED
         config ESP_HOSTED_SPI_QUEUE_SIZE
             int "The size for esp-hosted SPI queue"
             range 0 32
-            default 10
+            default 2
 
         config ESP_HOSTED_SPI_BUS_NAME
             string "Set the spi bus name"
@@ -38,7 +38,7 @@ menuconfig RT_USING_ESP_HOSTED
 
         config ESP_HOSTED_SPI_MAX_HZ
             int "Set the maximum spi frequency(Hz)"
-            default 2000000
+            default 25000000
 
         config ESP_HOSTED_SPI_CS_PIN
             int "Set the SPI CS pin"

+ 1 - 1
README.md

@@ -43,7 +43,7 @@ endmenu
 (512) The stack size for esp-hosted SPI thread
 (10)  The size for esp-hosted SPI queue
 (spi2) Set the spi bus name
-(2000000) Set the maximum spi frequency(Hz)
+(25000000) Set the maximum spi frequency(Hz)
 (15)  Set the SPI CS pin
 (39)  Set the data ready pin
 (40)  Set the handshake pin