Skip to content

Commit

Permalink
Increase CMT SPI speed to 4 MHz
Browse files Browse the repository at this point in the history
  • Loading branch information
tbnobody committed Apr 15, 2023
1 parent defcc02 commit 035fdbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CMT2300a/cmt_spi3.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <driver/spi_master.h>
#include <esp_rom_gpio.h> // for esp_rom_gpio_connect_out_signal

#define CMT_SPI_CLK 1000000 // 1 MHz
#define CMT_SPI_CLK 4000000 // 4 MHz

spi_device_handle_t spi_reg, spi_fifo;

Expand Down

0 comments on commit 035fdbc

Please sign in to comment.