CONFIG_SOC_NRF52832_ALLOW_SPIM_DESPITE_PAN_58
Allow enabling the SPIM driver despite PAN 58
Type: bool
Help
Allow enabling the nRF SPI Master with EasyDMA, despite
Product Anomaly Notice 58 (SPIM: An additional byte is
clocked out when RXD.MAXCNT == 1 and TXD.MAXCNT <= 1).
Without this override, the SPI Master is only available
without EasyDMA. Note that the 'SPIM' and 'SPIS' drivers
use EasyDMA, while the 'SPI' driver does not.
When used in conjunction with nRF SPIM Devicetree property
'anomaly-58-workaround' a workaround can be enabled per SPIM
instance. If you are certain that transactions with
RXD.MAXCNT == 1 and TXD.MAXCNT <= 1 will NOT be executed
then nRF52832 PPI and GPIOTE resources can be saved by not
enabling 'anomaly-58-workaround' via the Devicetree.
Direct dependencies
SOC_NRF52832
&& SPI_NRFX
&& SPI
(Includes any dependencies from ifs and menus.)
Defaults
No defaults. Implicitly defaults to n
.
Kconfig definition
At <Zephyr>/drivers/spi/Kconfig.nrfx:13
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:42
→ <Zephyr>/drivers/Kconfig:40
→ <Zephyr>/drivers/spi/Kconfig:76
Menu path: (Top) → Device Drivers → SPI hardware bus support → nRF SPI nrfx drivers
config SOC_NRF52832_ALLOW_SPIM_DESPITE_PAN_58
bool "Allow enabling the SPIM driver despite PAN 58"
depends on SOC_NRF52832 && SPI_NRFX && SPI
help
Allow enabling the nRF SPI Master with EasyDMA, despite
Product Anomaly Notice 58 (SPIM: An additional byte is
clocked out when RXD.MAXCNT == 1 and TXD.MAXCNT <= 1).
Without this override, the SPI Master is only available
without EasyDMA. Note that the 'SPIM' and 'SPIS' drivers
use EasyDMA, while the 'SPI' driver does not.
When used in conjunction with nRF SPIM Devicetree property
'anomaly-58-workaround' a workaround can be enabled per SPIM
instance. If you are certain that transactions with
RXD.MAXCNT == 1 and TXD.MAXCNT <= 1 will NOT be executed
then nRF52832 PPI and GPIOTE resources can be saved by not
enabling 'anomaly-58-workaround' via the Devicetree.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)