This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Disabling SPI on Thingy91

Hey Nordic Team,

I am trying to disable the SPI module to optimize my project and reduce flash usage. The Zephyr optimization guide refers to disabling unused peripherals so I attempted to set CONFIG_SPI=n in my project configuration (prj.conf). From my research, this should be possible because SPI is only used to control the two accelerometers and if I am not taking advantage of them in my project it follows that I should be able to disable to SPI module completely.

Unfortunately, after setting CONFIG_SPI to n in my project, the board no longer boots when the resulting firmware is flashed.

Is it Nordics understanding that I should be able to disable SPI on the Thingy91 and if so is there any other configuration then CONFIG_SPI=n in my project configuration that I might be missing?

Thanks,
Cody

Parents Reply Children
No Data
Related