|
Re: 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
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
|
By
Marciano
·
#1845
·
|
|
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
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
|
By
Marciano
·
#1844
·
|
|
DHCPV4 and CONFIG_NET_SOCKETS_SOCKOPT_TLS
Hi,
using zephyr-v2.1.0
I have build the mqtt_publisher sample application for the stm32f746g_disco and it works fine.
I have build the dhcpv4_client sample application for the stm32f746g_disco and it
Hi,
using zephyr-v2.1.0
I have build the mqtt_publisher sample application for the stm32f746g_disco and it works fine.
I have build the dhcpv4_client sample application for the stm32f746g_disco and it
|
By
Denv E
·
#1843
·
|
|
API meeting: agenda
Hi all,
This week we will focus on RFCs and GPIO:
- RFC: API Change: PWM: add support for inverted PWM signals. We will try to close on this today.
-
Hi all,
This week we will focus on RFCs and GPIO:
- RFC: API Change: PWM: add support for inverted PWM signals. We will try to close on this today.
-
|
By
Carles Cufi
·
#1842
·
|
|
Re: NRF52 and timing - actual state and what functions to use?
#nrf52-pca10040
Hi Martin,
Nrf52832 has 3 RTC's. RTC0 is used for Bluetooth, RTC1 for system clock and RTC2 is usually available for application. You can use RTC2 with counter driver API (see counter.h). Then you
Hi Martin,
Nrf52832 has 3 RTC's. RTC0 is used for Bluetooth, RTC1 for system clock and RTC2 is usually available for application. You can use RTC2 with counter driver API (see counter.h). Then you
|
By
Chruściński, Krzysztof
·
#1841
·
|
|
Re: NRF 802.15.4 driver without networking?
Hi Axel,
I've found the following configuration to be the minimal needed to use the Zephyr ieee802154 radio driver w/o the networking stack:
CONFIG_IEEE802154=y
CONFIG_NETWORKING=y
Hi Axel,
I've found the following configuration to be the minimal needed to use the Zephyr ieee802154 radio driver w/o the networking stack:
CONFIG_IEEE802154=y
CONFIG_NETWORKING=y
|
By
Lubos, Robert
·
#1840
·
|
|
Re: #i2c How to configure Atmel samd21 to use sercom3
#i2c
I forgot to include the overlay file…here it is.
I forgot to include the overlay file…here it is.
|
By
Robin Callender <robin@...>
·
#1839
·
|
|
#i2c How to configure Atmel samd21 to use sercom3
#i2c
We are trying to understand how to configure sercom3 to allow I2C support.
The I2C device is the adafruit_oled_featherwing.
I believe I have the I2C, SSD1306, framebuffer (cfg), and display.
Below
We are trying to understand how to configure sercom3 to allow I2C support.
The I2C device is the adafruit_oled_featherwing.
I believe I have the I2C, SSD1306, framebuffer (cfg), and display.
Below
|
By
Robin Callender <robin@...>
·
#1838
·
|
|
Re: NRF52 and timing - actual state and what functions to use?
#nrf52-pca10040
Dne 06.01.2020 v 18:31 Andy Ross napsal(a):
is it 1000ms timeout = 33 cycles, or 1ms timeout = 33 cycles? This is acceptable for short-term timeouts.
When this gets into 2.2, can I use
Dne 06.01.2020 v 18:31 Andy Ross napsal(a):
is it 1000ms timeout = 33 cycles, or 1ms timeout = 33 cycles? This is acceptable for short-term timeouts.
When this gets into 2.2, can I use
|
By
Martin Kozusky
·
#1837
·
|
|
Re: NRF52 and timing - actual state and what functions to use?
#nrf52-pca10040
Periodic k_timer's do not work in fractional ticks, no. If you
schedule a 1000ms timeout it will be rounded up internally to exactly
33 hardware cycles, and that process will repeat each cycle. So
Periodic k_timer's do not work in fractional ticks, no. If you
schedule a 1000ms timeout it will be rounded up internally to exactly
33 hardware cycles, and that process will repeat each cycle. So
|
By
Andy Ross
·
#1836
·
|
|
NRF52 and timing - actual state and what functions to use?
#nrf52-pca10040
Hi,
I understand that there are some problems because of 32768Hz RTC (I am now using NRF52-DK and want to use NRF52832 in my new HW) as referenced here:
Hi,
I understand that there are some problems because of 32768Hz RTC (I am now using NRF52-DK and want to use NRF52832 in my new HW) as referenced here:
|
By
Martin Kozusky
·
#1835
·
|
|
NRF52 and timing - actual state and what functions to use?
#nrf52-pca10040
Hi,
I understand that there are some problems because of 32768Hz RTC with NRF52832 as referenced here: https://github.com/zephyrproject-rtos/zephyr/issues/9904 , there are some already merged PRs
Hi,
I understand that there are some problems because of 32768Hz RTC with NRF52832 as referenced here: https://github.com/zephyrproject-rtos/zephyr/issues/9904 , there are some already merged PRs
|
By
Martin Kozusky
·
#1834
·
|
|
Re: 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
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
|
By
@yasokada
·
#1833
·
|
|
Re: 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
·
|
|
Re: "in-tree" builds > its meaning
Dear Marti
Thank you very much for your reply.
I can understand the difference now.
Best regards
Yasuhiko Okada
Dear Marti
Thank you very much for your reply.
I can understand the difference now.
Best regards
Yasuhiko Okada
|
By
@yasokada
·
#1831
·
|
|
NRF 802.15.4 driver without networking?
Hi,
I should probably start by saying that I’m brand new to Zephyr and that I’m pretty sure I’m missing something obvious or just overlooked parts of the (great!) documentation.
I’m trying to
Hi,
I should probably start by saying that I’m brand new to Zephyr and that I’m pretty sure I’m missing something obvious or just overlooked parts of the (great!) documentation.
I’m trying to
|
By
axel+zephyr@...
·
#1830
·
|
|
NRF 802.15.4 driver without networking?
Hi,
I should probably start by saying that I’m brand new to Zephyr and that I’m pretty sure I’m missing something obvious or just overlooked parts of the (great!) documentation.
I’m trying
Hi,
I should probably start by saying that I’m brand new to Zephyr and that I’m pretty sure I’m missing something obvious or just overlooked parts of the (great!) documentation.
I’m trying
|
By
Axel Schlueter <axel@...>
·
#1829
·
|
|
Re: cannot find "__device_[device name]"
#api
Hi Justin,
"Justin Huang via Lists.Zephyrproject.Org"
<justin.y.huang=live.com@...> writes:
DEVICE_GET() might not be the right thing here. Are you trying to get a
pointer to
Hi Justin,
"Justin Huang via Lists.Zephyrproject.Org"
<justin.y.huang=live.com@...> writes:
DEVICE_GET() might not be the right thing here. Are you trying to get a
pointer to
|
By
Bolivar, Marti
·
#1828
·
|
|
Re: "in-tree" builds > its meaning
Hello,
"yasokada via Lists.Zephyrproject.Org"
<yasokada=gmail.com@...> writes:
That is not correct.
An "in-tree" build is when build artifacts (object files, generated
code,
Hello,
"yasokada via Lists.Zephyrproject.Org"
<yasokada=gmail.com@...> writes:
That is not correct.
An "in-tree" build is when build artifacts (object files, generated
code,
|
By
Bolivar, Marti
·
#1827
·
|
|
cannot find "__device_[device name]"
#api
Hi,
I am building a device driver for Zephyr and when calling the macro, DEVICE_GET(), likeDEVICE_GET(my_dev), I get a build error complaining about undefined__device_my_dev.
I tried to locate where
Hi,
I am building a device driver for Zephyr and when calling the macro, DEVICE_GET(), likeDEVICE_GET(my_dev), I get a build error complaining about undefined__device_my_dev.
I tried to locate where
|
By
Justin Huang
·
#1826
·
|