|
How to write a own I2C(slave) driver?
#i2s
#slave
#driver
Hey, I am currently checking the documentation for a "How to do an I2C slave driver" and I did not find some tutorial. Hopefully some guys can quickly tell me how to do it. My hardware setup: custom s
Hey, I am currently checking the documentation for a "How to do an I2C slave driver" and I did not find some tutorial. Hopefully some guys can quickly tell me how to do it. My hardware setup: custom s
|
By
Stefan Jaritz
· #1228
·
|
|
How to write a own I2C(slave) driver?
#i2s
#slave
#driver
Stefan, Is that IC a sensor? Do you need to use interrupt on it? I would suggest you to start taking a look at the code from the sensor https://github.com/zephyrproject-rtos/zephyr/tree/master/drivers
Stefan, Is that IC a sensor? Do you need to use interrupt on it? I would suggest you to start taking a look at the code from the sensor https://github.com/zephyrproject-rtos/zephyr/tree/master/drivers
|
By
...
· #1232
·
|
|
How to write a own I2C(slave) driver?
#i2s
#slave
#driver
Merci! I took the tlv320dac310x audio codec driver as template. Done a very specific driver for the tlv320aic3204 from TI. It is not streamlined with the zephyr audio api. I can send it to you or put
Merci! I took the tlv320dac310x audio codec driver as template. Done a very specific driver for the tlv320aic3204 from TI. It is not streamlined with the zephyr audio api. I can send it to you or put
|
By
Stefan Jaritz
· #1234
·
|
|
How to write a own I2C(slave) driver?
#i2s
#slave
#driver
Great! Make it available and share the link with us. It will be enough for now. "code dump" (+1) Abraço, Rodrigo Peixoto
Great! Make it available and share the link with us. It will be enough for now. "code dump" (+1) Abraço, Rodrigo Peixoto
|
By
...
· #1235
·
|
|
How to write a own I2C(slave) driver?
#i2s
#slave
#driver
Hej ho I like to do polish my stuff before I push it and for that I am asking for your help. So far I created a driver for an audio codec. This codec is controlled via I2C. Setting up like a common dr
Hej ho I like to do polish my stuff before I push it and for that I am asking for your help. So far I created a driver for an audio codec. This codec is controlled via I2C. Setting up like a common dr
|
By
Stefan Jaritz
· #1241
·
|
|
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
...
· #1412
·
|
|
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
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
...
· #1421
·
|
|
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
·
|
|
Have someone a guide to use PPP with the module quectel GSM/GPRS M95?
#protocol
#driver
#ppp
Hello, I'm using a module named Quectel GSM/GPRS M95 to connect to the internet. Until now I'm using it with UART and AT commands, but I'm wondering to use the PPP that released in v2.0.0-rc2 version.
Hello, I'm using a module named Quectel GSM/GPRS M95 to connect to the internet. Until now I'm using it with UART and AT commands, but I'm wondering to use the PPP that released in v2.0.0-rc2 version.
|
By
...
· #1653
·
|
|
Have someone a guide to use PPP with the module quectel GSM/GPRS M95?
#protocol
#driver
#ppp
Lucas, Have a look at the Sara modem driver as a good starting point. drivers/modem Billy..
Lucas, Have a look at the Sara modem driver as a good starting point. drivers/modem Billy..
|
By
William Fish
· #1654
·
|
|
I2C on nRF5340 Issues
#i2c
#driver
#nrf5340
I am attempting to write a basic I2C program using Zephyr, but I am currently unable to sent a single byte over I2C. The program hangs after the first clock falling & rising edge. I'm using external 1
I am attempting to write a basic I2C program using Zephyr, but I am currently unable to sent a single byte over I2C. The program hangs after the first clock falling & rising edge. I'm using external 1
|
By
Marciano
· #1844
·
|
|
I2C on nRF5340 Issues
#i2c
#driver
#nrf5340
After further testing, I found that if I step through each instruction with the debugger the individual messages send correctly, but not if I let the program run regularly. In neither case does the i2
After further testing, I found that if I step through each instruction with the debugger the individual messages send correctly, but not if I let the program run regularly. In neither case does the i2
|
By
Marciano
· #1845
·
|
|
Fix RAM_CONSOLE buffer address to specific address
#driver
Hi all, for a specific design need, I would like to fix the address of the ram_console buffer in RAM_CONSOLE driver. Which is the best way (if feasible) to set it? Thanks, Michele
Hi all, for a specific design need, I would like to fix the address of the ram_console buffer in RAM_CONSOLE driver. Which is the best way (if feasible) to set it? Thanks, Michele
|
By
mdecandia@...
· #1991
·
|
|
Fix RAM_CONSOLE buffer address to specific address
#driver
It's just a character buffer. If you need to pin it to a specific memory address, I imagine you'll have to route it to a special input section that is placed where you want it in memory in the linker
It's just a character buffer. If you need to pin it to a specific memory address, I imagine you'll have to route it to a special input section that is placed where you want it in memory in the linker
|
By
Boie, Andrew P
· #1992
·
|
|
Bluetooth examples failure with native_posix target
#bluetooth
#driver
Hi all, I'm trying to run bluetooth examples on native_posix target an I'm facing this error: zephyr/build/zephyr/zephyr.exe --bt-dev=hci0 *** Booting Zephyr OS build zephyr-v2.2.0-2229-g9b055ecf82c3
Hi all, I'm trying to run bluetooth examples on native_posix target an I'm facing this error: zephyr/build/zephyr/zephyr.exe --bt-dev=hci0 *** Booting Zephyr OS build zephyr-v2.2.0-2229-g9b055ecf82c3
|
By
mdecandia@...
· #1994
·
|
|
Fix RAM_CONSOLE buffer address to specific address
#driver
Hi Andrew, thank you. To modify the linker script, I've seen this configuration option https://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_CUSTOM_SECTIONS_LD.html Is this the correct way to
Hi Andrew, thank you. To modify the linker script, I've seen this configuration option https://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_CUSTOM_SECTIONS_LD.html Is this the correct way to
|
By
mdecandia@...
· #1995
·
|
|
#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
·
|
|
How to write, compile and run in native_posix board with USB-CH341A converter
#driver
Hello, everyone. I am a beginner in zephyr RTOS. I want to make and run SPI driver with USB-CH341(SPI/I2C) programmer. I got the linux driver for it. Here is a link.https://github.com/gschorcht/spi-ch
Hello, everyone. I am a beginner in zephyr RTOS. I want to make and run SPI driver with USB-CH341(SPI/I2C) programmer. I got the linux driver for it. Here is a link.https://github.com/gschorcht/spi-ch
|
By
honestech
· #2081
·
|
|
#driver #api #flash #nrf52832
#driver
#api
#flash
#nrf52832
Hello everyone, Now, I am implementing a Flash-map application for nRF52832. I have already included <storage/flash_map.h> and called flash_area_open() function, but I got an error when compile: undef
Hello everyone, Now, I am implementing a Flash-map application for nRF52832. I have already included <storage/flash_map.h> and called flash_area_open() function, but I got an error when compile: undef
|
By
nhuan.huynhduc1@...
· #2108
·
|