|
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
·
|
|
cannot find "__device_[device name]"
#api
Hi,
I am building a device driver for Zephyr and when calling the macro, DEVICE_GET(), like DEVICE_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(), like DEVICE_GET(my_dev), I get a build error complaining about undefined __device_my_dev.
I tried to locate where
|
By
Justin Huang
·
#1825
·
|
|
NVS on flash with erase page size 64k or larger
#nvs
Hi there
In my application I try to use NVS on an external SPI flash (M25P16) which has an erase page size of 64k.
As I realised, NVS seems to have some limit on its maximum sector size of just below
Hi there
In my application I try to use NVS on an external SPI flash (M25P16) which has an erase page size of 64k.
As I realised, NVS seems to have some limit on its maximum sector size of just below
|
By
Marco
·
#1824
·
|
|
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
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
|
By
@yasokada
·
#1823
·
|
|
It worked > Re: SPI2 definition is not found for STM32L476 device tree. How to add?
Dear Yannis
(I have sent private reply, but for other people, I send this reply again).
Thank you very much.
I added the description for &spi2 in an overlay file.
It worked.
I appreciate it.
Dear Yannis
(I have sent private reply, but for other people, I send this reply again).
Thank you very much.
I added the description for &spi2 in an overlay file.
It worked.
I appreciate it.
|
By
@yasokada
·
#1822
·
|
|
Private: Re: [Zephyr-users] SPI2 definition is not found for STM32L476 device tree. How to add?
-------- Forwarded Message --------
Subject: Private: Re: [Zephyr-users] SPI2 definition is not found for STM32L476 device tree. How to add?
Date: Fri, 27 Dec 2019 15:40:46 -0800
From:
-------- Forwarded Message --------
Subject: Private: Re: [Zephyr-users] SPI2 definition is not found for STM32L476 device tree. How to add?
Date: Fri, 27 Dec 2019 15:40:46 -0800
From:
|
By
Yannis Damigos
·
#1821
·
|
|
Re: SPI2 definition is not found for STM32L476 device tree. How to add?
Hi,
You don't need to add it. It exists in dts/arm/st/l4/stm32l471.dtsi
To enable it just add the following in nucleo_l476rg.dts or an overlay file:
&spi2 {
status = "okay";
};
Yannis
Hi,
You don't need to add it. It exists in dts/arm/st/l4/stm32l471.dtsi
To enable it just add the following in nucleo_l476rg.dts or an overlay file:
&spi2 {
status = "okay";
};
Yannis
|
By
Yannis Damigos
·
#1820
·
|
|
SPI2 definition is not found for STM32L476 device tree. How to add?
My environment:
Ubuntu 18.04 LTS
STM32L476 Nucleo_64 (hereafter STM32L476)
STM32F769 Discovery Kit (hereafter STM32F769)
Zephyr 2.1.0-rc1
### SPI2 for STM32L476
My environment:
Ubuntu 18.04 LTS
STM32L476 Nucleo_64 (hereafter STM32L476)
STM32F769 Discovery Kit (hereafter STM32F769)
Zephyr 2.1.0-rc1
### SPI2 for STM32L476
|
By
@yasokada
·
#1819
·
Edited
|
|
Multiple device with different GPIO chip selects on SPI2
Good day,
I have decided to dive head first into Zephyr with a project of mine.
I have a LIS2DH and a W25Q128JV Flash on the same SPI bus, with two GPIOs to control the chip selects. I have a
Good day,
I have decided to dive head first into Zephyr with a project of mine.
I have a LIS2DH and a W25Q128JV Flash on the same SPI bus, with two GPIOs to control the chip selects. I have a
|
By
armand@...
·
#1817
·
|
|
Re: Regarding the flash of hci_uart sample app of zephire in nrf52840
Please follow this, if using hci_uart:
https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf5x-support-within-the-zephyr-project-rtos
Else if using hci_usb and the nRF52840’s
Please follow this, if using hci_uart:
https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf5x-support-within-the-zephyr-project-rtos
Else if using hci_usb and the nRF52840’s
|
By
Chettimada, Vinayak Kariappa
·
#1816
·
|