Skip to content
Snippets Groups Projects
Commit e615baef authored by schneider's avatar schneider
Browse files

fix(display): Reduce SPI frequency to increase stability

parent 959d4303
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,11 @@
#include <stdint.h>
#include <string.h>
#define SPI_SPEED (15 * 1000 * 1000 * 1) // Bit Rate. Display has 15 MHz limit
/* XXX: The display supports max 15 Mhz, but we have stability issues at that rate.
* Current suspicion is that the SDK is buggy.
*
* At 12 MHz things seem stable*/
#define SPI_SPEED (12 * 1000 * 1000) // Bit Rate. Display has 15 MHz limit
const gpio_cfg_t bhi_interrupt_pin = {PORT_0, PIN_13, GPIO_FUNC_IN, GPIO_PAD_PULL_UP};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment