/Zephyr-latest/drivers/spi/ |
D | Kconfig.nrfx | 72 bool "Allow enabling the SPIM driver despite PAN 58" 75 Product Anomaly Notice 58 (SPIM: An additional byte is 78 without EasyDMA. Note that the 'SPIM' and 'SPIS' drivers 80 When used in conjunction with nRF SPIM Devicetree property 81 'anomaly-58-workaround' a workaround can be enabled per SPIM 88 int "Size of RAM buffers for SPIM peripherals" 92 Because of using EasyDMA, SPIM peripherals cannot use transmit and 94 buffers located in certain RAM memories only. Therefore, each SPIM
|
D | spi_nrfx_spim.c | 38 (SPIM: An additional byte is clocked out when RXD.MAXCNT == 1 and TXD.MAXCNT <= 1). \ 77 nrfx_spim_t spim; member 148 void *reg = dev_config->spim.p_reg; in finalize_spi_transaction() 275 /* Limit the frequency to that supported by the SPIM instance. */ in configure() 281 nrfy_gpio_pin_write(nrfy_spim_sck_pin_get(dev_config->spim.p_reg), in configure() 285 nrfx_spim_uninit(&dev_config->spim); in configure() 289 result = nrfx_spim_init(&dev_config->spim, &config, in configure() 307 * Brief Workaround for transmitting 1 byte with SPIM. 322 NRF_SPIM_Type *spim = dev_config->spim.p_reg; in anomaly_58_workaround_setup() local 326 uint32_t tep = (uint32_t)&spim->TASKS_STOP; in anomaly_58_workaround_setup() [all …]
|
/Zephyr-latest/dts/bindings/spi/ |
D | nordic,nrf-spim.yaml | 4 description: Nordic nRF family SPIM (SPI master with EasyDMA) 6 compatible: "nordic,nrf-spim" 14 Enables the workaround for the nRF52832 SoC SPIM PAN 58 anomaly. 21 Indicates if the SPIM instance has the capability of delaying MISO
|
/Zephyr-latest/tests/drivers/spi/spi_error_cases/src/ |
D | main.c | 18 static struct spi_dt_spec spim = SPI_DT_SPEC_GET(DT_NODELABEL(dut_spi_dt), SPIM_OP, 0); variable 46 /* Allocate buffer from spim or spis space. */ 47 static uint8_t *buf_alloc(size_t len, bool spim) in buf_alloc() argument 49 int *idx = spim ? &tdata.spim_alloc_idx : &tdata.spis_alloc_idx; in buf_alloc() 50 uint8_t *buf = spim ? spim_buffer : spis_buffer; in buf_alloc() 51 size_t total = spim ? sizeof(spim_buffer) : sizeof(spis_buffer); in buf_alloc() 70 struct spi_dt_spec spim_invalid = spim; in ZTEST() 86 struct spi_dt_spec spim_invalid = spim; in ZTEST() 92 /* Check that Operation Mode Slave on spim is not supported */ in ZTEST() 104 struct spi_dt_spec spim_invalid = spim; in ZTEST() [all …]
|
/Zephyr-latest/soc/nordic/nrf52/ |
D | CMakeLists.txt | 7 …message(WARNING "Both SOC_NRF52832_ALLOW_SPIM_DESPITE_PAN_58 and an NRF SPIM driver are enabled, t… 13 …message(WARNING "NRF52_ANOMALY_109_WORKAROUND disabled with SPIS, SPIM, TWIM or PWM enabled. This …
|
/Zephyr-latest/dts/common/nordic/ |
D | nrf54l20.dtsi | 105 * This spi node can be either SPIM or SPIS, 107 * compatible = "nordic,nrf-spim" or 110 compatible = "nordic,nrf-spim"; 251 * This spi node can be either SPIM or SPIS, 253 * compatible = "nordic,nrf-spim" or 256 compatible = "nordic,nrf-spim"; 290 * This spi node can be either SPIM or SPIS, 292 * compatible = "nordic,nrf-spim" or 295 compatible = "nordic,nrf-spim"; 329 * This spi node can be either SPIM or SPIS, [all …]
|
D | nrf54l_05_10_15.dtsi | 126 * This spi node can be either SPIM or SPIS, 128 * compatible = "nordic,nrf-spim" or 131 compatible = "nordic,nrf-spim"; 290 * This spi node can be either SPIM or SPIS, 292 * compatible = "nordic,nrf-spim" or 295 compatible = "nordic,nrf-spim"; 329 * This spi node can be either SPIM or SPIS, 331 * compatible = "nordic,nrf-spim" or 334 compatible = "nordic,nrf-spim"; 368 * This spi node can be either SPIM or SPIS, [all …]
|
/Zephyr-latest/dts/arm/nordic/ |
D | nrf91_peripherals.dtsi | 215 * This spi node can be either SPIM or SPIS, for the user to pick: 216 * compatible = "nordic,nrf-spim" or 219 compatible = "nordic,nrf-spim"; 231 * This spi node can be either SPIM or SPIS, for the user to pick: 232 * compatible = "nordic,nrf-spim" or 235 compatible = "nordic,nrf-spim"; 247 * This spi node can be either SPIM or SPIS, for the user to pick: 248 * compatible = "nordic,nrf-spim" or 251 compatible = "nordic,nrf-spim"; 263 * This spi node can be either SPIM or SPIS, for the user to pick: [all …]
|
D | nrf5340_cpuapp_peripherals.dtsi | 126 * This spi node can be either SPIM or SPIS, 128 * compatible = "nordic,nrf-spim" or 131 compatible = "nordic,nrf-spim"; 167 * This spi node can be either SPIM or SPIS, 169 * compatible = "nordic,nrf-spim" or 172 compatible = "nordic,nrf-spim"; 190 compatible = "nordic,nrf-spim"; 221 * This spi node can be either SPIM or SPIS, 223 * compatible = "nordic,nrf-spim" or 226 compatible = "nordic,nrf-spim"; [all …]
|
D | nrf52833.dtsi | 156 * This spi node can be SPI, SPIM, or SPIS, 159 * "nordic,nrf-spim" or 162 compatible = "nordic,nrf-spim"; 192 * This spi node can be SPI, SPIM, or SPIS, 195 * "nordic,nrf-spim" or 198 compatible = "nordic,nrf-spim"; 465 * This spi node can be SPI, SPIM, or SPIS, 468 * "nordic,nrf-spim" or 471 compatible = "nordic,nrf-spim"; 528 compatible = "nordic,nrf-spim";
|
D | nrf52840.dtsi | 144 * This spi node can be SPI, SPIM, or SPIS, 147 * "nordic,nrf-spim" or 150 compatible = "nordic,nrf-spim"; 180 * This spi node can be SPI, SPIM, or SPIS, 183 * "nordic,nrf-spim" or 186 compatible = "nordic,nrf-spim"; 452 * This spi node can be SPI, SPIM, or SPIS, 455 * "nordic,nrf-spim" or 458 compatible = "nordic,nrf-spim"; 525 compatible = "nordic,nrf-spim";
|
D | nrf52811.dtsi | 155 * This spi node can be SPI, SPIM, or SPIS, 158 * "nordic,nrf-spim" or 161 compatible = "nordic,nrf-spim"; 173 * This spi node can be SPI, SPIM, or SPIS, 176 * "nordic,nrf-spim" or 179 compatible = "nordic,nrf-spim";
|
D | nrf52820.dtsi | 156 * This spi node can be SPI, SPIM, or SPIS, 159 * "nordic,nrf-spim" or 162 compatible = "nordic,nrf-spim"; 192 * This spi node can be SPI, SPIM, or SPIS, 195 * "nordic,nrf-spim" or 198 compatible = "nordic,nrf-spim";
|
/Zephyr-latest/samples/boards/nordic/nrfx_prs/src/ |
D | main.c | 31 static nrfx_spim_t spim = NRFX_SPIM_INSTANCE(2); variable 133 * before the SPIM can be used. in switch_to_spim() 158 nrfy_gpio_pin_write(nrfy_spim_sck_pin_get(spim.p_reg), in switch_to_spim() 161 err = nrfx_spim_init(&spim, &spim_config, spim_handler, NULL); in switch_to_spim() 168 printk("Switched to SPIM\n"); in switch_to_spim() 183 err = nrfx_spim_xfer(&spim, &xfer_desc, 0); in spim_transfer() 190 printk("SPIM transfer timeout\n"); in spim_transfer() 220 /* If the SPIM is currently initialized, it must be deinitialized in switch_to_uarte() 224 nrfx_spim_uninit(&spim); in switch_to_uarte() 226 nrfy_spim_int_init(spim.p_reg, 0xFFFFFFFF, 0, false); in switch_to_uarte() [all …]
|
/Zephyr-latest/tests/boards/nrf/dmm/boards/ |
D | nrf5340dk_nrf5340_cpuapp.overlay | 42 compatible = "nordic,nrf-spim"; 51 compatible = "nordic,nrf-spim";
|
D | nrf54h20dk_nrf54h20_cpuapp.overlay | 42 compatible = "nordic,nrf-spim"; 56 compatible = "nordic,nrf-spim";
|
/Zephyr-latest/samples/drivers/led/led_strip/boards/ |
D | nrf52dk_nrf52832.conf | 1 # This driver only uses spi_write() with the SPIM instance it allocates,
|
/Zephyr-latest/samples/boards/nordic/nrfx_prs/ |
D | prj.conf | 8 # This is needed for using another SPIM instance via the Zephyr SPI driver.
|
D | sample.yaml | 20 - "Switched to SPIM"
|
/Zephyr-latest/modules/nrf_wifi/bus/ |
D | device.c | 30 static struct qspi_dev spim = {.init = spim_init, variable 80 return &spim; in qspi_dev()
|
D | spi_if.h | 12 /* SPIM driver config */
|
/Zephyr-latest/samples/boards/nordic/nrfx_prs/boards/ |
D | nrf5340dk_nrf5340_cpuapp.overlay | 45 compatible = "nordic,nrf-spim"; 67 compatible = "nordic,nrf-spim";
|
D | nrf9160dk_nrf9160.overlay | 45 compatible = "nordic,nrf-spim"; 67 compatible = "nordic,nrf-spim";
|
/Zephyr-latest/tests/drivers/spi/spi_controller_peripheral/src/ |
D | main.c | 28 static struct spi_dt_spec spim = SPI_DT_SPEC_GET(DT_NODELABEL(dut_spi_dt), SPIM_OP, 0); variable 67 /* Allocate buffer from spim or spis space. */ 68 static uint8_t *buf_alloc(size_t len, bool spim) in buf_alloc() argument 70 int *idx = spim ? &tdata.spim_alloc_idx : &tdata.spis_alloc_idx; in buf_alloc() 71 uint8_t *buf = spim ? spim_buffer : spis_buffer; in buf_alloc() 72 size_t total = spim ? sizeof(spim_buffer) : sizeof(spis_buffer); in buf_alloc() 94 rv = spi_transceive_dt(&spim, td->mtx_set, td->mrx_set); in work_handler() 99 rv = spi_transceive_signal(spim.bus, &spim.config, td->mtx_set, td->mrx_set, in work_handler() 290 /* SPIM */ in test_basic_zero_len()
|
/Zephyr-latest/boards/raytac/mdbt53_db_40/ |
D | raytac_mdbt53_db_40_nrf5340_cpuapp_common.dts | 171 compatible = "nordic,nrf-spim"; 181 compatible = "nordic,nrf-spim"; 191 compatible = "nordic,nrf-spim";
|