|
How to implements SPI slave event handler on zephyr
#spi
Recently I am trying to use nrf52840 to implement SPI slave on zephyr In Nordic's SPIS example, it will go to spis_event_handler when an interrupt occurs In spis_event_handler, judge whether the trans
Recently I am trying to use nrf52840 to implement SPI slave on zephyr In Nordic's SPIS example, it will go to spis_event_handler when an interrupt occurs In spis_event_handler, judge whether the trans
|
By
mfinmuch@...
· #2361
·
|
|
LIS2DW12 over SPI on nRF9160
#driver
#sensor
#spi
#lis2dw12
#nrf9160
Using: Windows 10, nRF Connect v3.5.0, SES v4.52, ncs v1.3.0, zephyr v2.3.0 I have a custom board based on the Nordic Thingy91 and the Asset Tracker application. There is also an LIS2DW12 present on S
Using: Windows 10, nRF Connect v3.5.0, SES v4.52, ncs v1.3.0, zephyr v2.3.0 I have a custom board based on the Nordic Thingy91 and the Asset Tracker application. There is also an LIS2DW12 present on S
|
By
p.swenson@...
· #2237
·
Edited
|
|
#WINC1500 #nrf52832 #spi #driver
#spi
#driver
#WINC1500
#nrf52832
Hi all, I would like to know the status of WINC1500 driver in zephyr. Is this fully tested? We are currently working on a product that uses Nordic's nRF52832 with WINC1500 over SPI. For our developmen
Hi all, I would like to know the status of WINC1500 driver in zephyr. Is this fully tested? We are currently working on a product that uses Nordic's nRF52832 with WINC1500 over SPI. For our developmen
|
By
rdsingh@...
· #2070
·
|
|
Question about the QSPI flash memory in the nrf52840 PCA10056 board
#flash
#nrf52840
#spi
Good afternoon, I'm a zephyr newbie, trying to implement it into an IoT project! I'm aware that there is already a driver for the MX25 flash memory device in the nrf's dev kit, but I wasn't able to im
Good afternoon, I'm a zephyr newbie, trying to implement it into an IoT project! I'm aware that there is already a driver for the MX25 flash memory device in the nrf's dev kit, but I wasn't able to im
|
By
henrique.guimaraes@...
· #1921
·
|
|
Failure of CMD0 sending using STM32F769 + SPI2 for [samples/subsys/fs/fat_fs]
#spi
#fatfs
Instead of adding k_usleep(30), I changed the SPI clock from 210kHz to 406kHz for STM32F769. Then, the problems of A and B are gone. Still I have the problem of C. I receive 0x07 instead of 0x01. From
Instead of adding k_usleep(30), I changed the SPI clock from 210kHz to 406kHz for STM32F769. Then, the problems of A and B are gone. Still I have the problem of C. I receive 0x07 instead of 0x01. From
|
By
@yasokada
· #1833
·
|
|
Failure of CMD0 sending using STM32F769 + SPI2 for [samples/subsys/fs/fat_fs]
#spi
#fatfs
From what I checked: - A. 74 clocks stop with a change in CS without sufficient delay - B. CMD0 (0x40 0x00 0x00 0x00 0x00 0x94) fails to send 0x40... (instead send 0x20...) - C. CMD0 fails to receive
From what I checked: - A. 74 clocks stop with a change in CS without sufficient delay - B. CMD0 (0x40 0x00 0x00 0x00 0x00 0x94) fails to send 0x40... (instead send 0x20...) - C. CMD0 fails to receive
|
By
@yasokada
· #1832
·
|
|
Failure of CMD0 sending using STM32F769 + SPI2 for [samples/subsys/fs/fat_fs]
#spi
#fatfs
My environment: Ubuntu 18.04 LTS STM32L476 Nucleo_64 (hereafter STM32L476) STM32F769 Discovery Kit (hereafter STM32F769) Zephyr 2.1.0-rc1 Project: `samples/subsys/fs/fat_fs` Logic Analyzer: Analog Dis
My environment: Ubuntu 18.04 LTS STM32L476 Nucleo_64 (hereafter STM32L476) STM32F769 Discovery Kit (hereafter STM32F769) Zephyr 2.1.0-rc1 Project: `samples/subsys/fs/fat_fs` Logic Analyzer: Analog Dis
|
By
@yasokada
· #1823
·
|
|
spi_transceive() does not clock out the SCK for receiving
#spi
My Environment: Ubuntu 18.04 LTS Board: STM32F769 Discovery Kit RTOS: Zephyr 2.1.0-rc1 Oscilloscope: Analog Discovery 2 SPI device: SRAM memory (23K256) I am trying to use SPI with my SRAM memory (23K
My Environment: Ubuntu 18.04 LTS Board: STM32F769 Discovery Kit RTOS: Zephyr 2.1.0-rc1 Oscilloscope: Analog Discovery 2 SPI device: SRAM memory (23K256) I am trying to use SPI with my SRAM memory (23K
|
By
@yasokada
· #1789
·
|
|
FAT file system for iotdk: how to add SPI driver support?
#driver
#spi
Hi All, I am working on a project for DesignWare(R) ARC(R) IoT Development Kit; iotdk in short. I'd like to add FAT file system support. When I do "cmake -GNinja -DBOARD=iotdk .." it gives me an error
Hi All, I am working on a project for DesignWare(R) ARC(R) IoT Development Kit; iotdk in short. I'd like to add FAT file system support. When I do "cmake -GNinja -DBOARD=iotdk .." it gives me an error
|
By
ibarcovschi@...
· #1506
·
|
|
Need help in interfacing ENC28J60 to PCA10056
#nrf52840
#spi
Hi, I am trying to interface ENC28J60 module to PCA10056(NRF52840). Below are my pin configurations: ================= =================================== NRF52840 PCA10056 ENC28J60 (pin numbers on th
Hi, I am trying to interface ENC28J60 module to PCA10056(NRF52840). Below are my pin configurations: ================= =================================== NRF52840 PCA10056 ENC28J60 (pin numbers on th
|
By
giriprasad@...
· #1455
·
|
|
SDHC disk doesn't unmount
#driver
#spi
Thanks for the answer. You are right, the problem was solved implementing the fatfs_unmount function that you said. I made some tests and everything is ok. On the weekend I will create a PR.
Thanks for the answer. You are right, the problem was solved implementing the fatfs_unmount function that you said. I made some tests and everything is ok. On the weekend I will create a PR.
|
By
Lucas Peixoto
· #1421
·
|
|
SDHC disk doesn't unmount
#driver
#spi
Lucas, You're right, the unmount operation isn't implemented in the FAT fs_file_system_t struct. It should be possible to implement it easily, though. Something along the lines of: static int fatfs_un
Lucas, You're right, the unmount operation isn't implemented in the FAT fs_file_system_t struct. It should be possible to implement it easily, though. Something along the lines of: static int fatfs_un
|
By
Leandro Pereira
· #1415
·
|
|
SDHC disk doesn't unmount
#driver
#spi
Hello, I'm working on manipulate data in a sdhc disk. My problem is that I can't unmount the disk. When I call the fs_unmount(structfs_mount_t *mp) function I got this error "fs ops functions not set!
Hello, I'm working on manipulate data in a sdhc disk. My problem is that I can't unmount the disk. When I call the fs_unmount(structfs_mount_t *mp) function I got this error "fs ops functions not set!
|
By
Lucas Peixoto
· #1412
·
|
|
SPI function transceive blocks
#spi
Hello, I am trying to use the ADC on my Intel Galielo Gen 2 through the SPI. The problem is that all the calls of spi_transcieve() that I have tried using SPI_0 device seems to block at spi_context_lo
Hello, I am trying to use the ADC on my Intel Galielo Gen 2 through the SPI. The problem is that all the calls of spi_transcieve() that I have tried using SPI_0 device seems to block at spi_context_lo
|
By
...
· #1342
·
|
|
SPI slave support for nRF52-PCA10040
#nrf52-pca10040
#spi
I am not an expert on SPI, but shouldn’t you enable this: https://github.com/zephyrproject-rtos/zephyr/blob/master/drivers/spi/Kconfig#L25 In your .conf: CONFIG_SPI_SLAVE=y
I am not an expert on SPI, but shouldn’t you enable this: https://github.com/zephyrproject-rtos/zephyr/blob/master/drivers/spi/Kconfig#L25 In your .conf: CONFIG_SPI_SLAVE=y
|
By
Carles Cufi
· #1062
·
|
|
SPI slave support for nRF52-PCA10040
#nrf52-pca10040
#spi
Hello at all, i am trying to configure a nrf52-PCA10040 board to act as Slave for SPI but i am running into an issue. When i try to setup the spi device as slave as shown at the end of the post, the s
Hello at all, i am trying to configure a nrf52-PCA10040 board to act as Slave for SPI but i am running into an issue. When i try to setup the spi device as slave as shown at the end of the post, the s
|
By
...
· #1061
·
|
|
How to setup a spi flash?
#spi
#flash
#sst26
Hey, I am playing a bit around with Zephyr and a custom board. This board is based on a stm32f4 arm and connects a Mircochip Flash(SST26) via spi1. I like to figure out how to setup this spi flash? Be
Hey, I am playing a bit around with Zephyr and a custom board. This board is based on a stm32f4 arm and connects a Mircochip Flash(SST26) via spi1. I like to figure out how to setup this spi flash? Be
|
By
Stefan Jaritz
· #1059
·
|