mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-15 05:01:56 +00:00
According to data sheet of dw_spi, ser reg is used to select spi device/slave. one bit in ser maps to one spi device/slave, i.e.. cs 0 ---> bit 0 cs 1 ---> bit 1 cs 2 ---> bit 2 the original code has a bug. the config->slave cannot directly be written into ser. It should be mapped to the correct bits through 1 << config->slave. Signed-off-by: Wayne Ren <wei.ren@synopsys.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.dw | ||
Kconfig.mcux_dspi | ||
Kconfig.nrfx | ||
Kconfig.sam0 | ||
Kconfig.stm32 | ||
spi_context.h | ||
spi_dw_quark_se_ss_regs.h | ||
spi_dw_regs.h | ||
spi_dw.c | ||
spi_dw.h | ||
spi_handlers.c | ||
spi_intel_regs.h | ||
spi_intel.c | ||
spi_intel.h | ||
spi_ll_stm32.c | ||
spi_ll_stm32.h | ||
spi_mcux_dspi.c | ||
spi_nrfx_spi.c | ||
spi_nrfx_spim.c | ||
spi_nrfx_spis.c | ||
spi_sam0.c |