Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boards: arm: nrf54l15: add adc support to nrf54l15. #1669

Closed
wants to merge 1,576 commits into from
Closed

boards: arm: nrf54l15: add adc support to nrf54l15. #1669

wants to merge 1,576 commits into from

Conversation

nordic-babu
Copy link
Contributor

It was missed in #1494.

This reverts commit 422e1af.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This reverts commit 1b56e7b.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This reverts commit 048e524.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This reverts commit 2270d5f.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
… initialization"

This reverts commit eeeb0aa.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
…nd locking access to QSPI"

This reverts commit 90958c6.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
…turn values"

This reverts commit 39e6897.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
…before sending RDPD"

This reverts commit b0c15fb.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
… key provisioned"

This reverts commit 085d33a.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
…cure keys"

This reverts commit bac40f6.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
…rtition for nordic boards"

This reverts commit 9e4151f.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This reverts commit 8a275bc.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
…ed workaround in nrfx_qspi"

This reverts commit a8a54e5.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
…iple `--pytest-args`"

This reverts commit d5e85fe.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
…command line"

This reverts commit 5d08963.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This reverts commit 5418963.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This reverts commit 98bee80.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This reverts commit 753d064.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This reverts commit 4679230.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
…rams"

This reverts commit e46ff46.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This reverts commit 8c115b9.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
…ld TF-M NS application"

This reverts commit b3bd06e.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
…ion option"

This reverts commit fb5c714.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
…nfig"

This reverts commit 89ee849.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
…number"

This reverts commit f9a5ede.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
…de > 1"

This reverts commit 05594b8.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
…alization ring buffer"

This reverts commit 7b3c2b7.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This reverts commit 3675ef9.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
…own to be nonsecure"

This reverts commit 6fa31b7.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
…sh partition is valid"

This reverts commit 7567602.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
aasinclair and others added 17 commits April 22, 2024 21:17
Added tests for new regulator-boot-off property.

Signed-off-by: Andy Sinclair <andy.sinclair@nordicsemi.no>
(cherry picked from commit b46e2f3)
…allowlists

Added regulator-boot-off to property-allowlist for adp5360, npm1300,
npm6001 and axp192.

Signed-off-by: Andy Sinclair <andy.sinclair@nordicsemi.no>
(cherry picked from commit 977fc0c)
Add HAS_HW symbols for TWIS instances
found on nRF54H20 and nRF54L15 devices.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
(cherry picked from commit 03cb84f)
Add Kconfig-to-nrfx symbol redefinitions so that TWIS instances
found on nRF54H20 and nRF54L15 devices are supported.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
(cherry picked from commit 9711b37)
Test defines a lopback between i2c driver master and nrfx TWIS slave
to verify their functional correctness.

Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
(cherry picked from commit 01ea0f2)
… set high

... so that the pin is kept in a defined state when the IO3 line is
not controlled by the QSPI peripheral (when the peripheral is disabled
or disconnected from the pin).

The IO3 pin in Quad SPI flash chips usually has dual functionality -
it is an I/O line when the chip is configured to work in Quad (4 I/O)
mode and it is a HOLD# or RESET# line when the chip is configured to
work in non-Quad (2 I/O) mode. In the latter case, it is important that
the line is kept in the inactive (high) state, otherwise communication
with the chip may be disrupted (and this actually happens when e.g.
the spi_flash sample is used on a brand new nRF5340 or nRF52840 DK -
the nrf_qspi_nor driver fails to initialize and the sample just ends
up with the "mx25r6435f@0: device not ready" message).

This commit addresses the problem in the same way that it was done for
the CSN line in commit 6d8172f.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
(cherry picked from commit 2f44266)
…vice

Expands driver to cover nRF54L15 features like AIN as GPIO configuration,
new reference voltage, different set of supported gain options.

Upstream PR: zephyrproject-rtos/zephyr#68692

Signed-off-by: Karol Lasończyk <karol.lasonczyk@nordicsemi.no>
Simple enabling adc node.

Upstream PR: zephyrproject-rtos/zephyr#68692

Signed-off-by: Karol Lasończyk <karol.lasonczyk@nordicsemi.no>
New file with ADC configuration for nRF54L15 PDK.

Upstream PR: zephyrproject-rtos/zephyr#68692

Signed-off-by: Karol Lasończyk <karol.lasonczyk@nordicsemi.no>
New file to make test works.

Upstream PR: zephyrproject-rtos/zephyr#68692

Signed-off-by: Karol Lasończyk <karol.lasonczyk@nordicsemi.no>
Support to set RTS threshold.

Signed-off-by: Ajay Parida <ajay.parida@nordicsemi.no>
(cherry picked from commit 4d4b304)
Added support to set RTS threshold.

Signed-off-by: Ajay Parida <ajay.parida@nordicsemi.no>
(cherry picked from commit edba435)
Extend test coverage by adding tests that check invalid use
of the SPI API.

Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
(cherry picked from commit 5e4bbd5)
Fixed calculation of GRTC ticks inside
`z_nrf_grtc_timer_get_ticks()` function.

Upstream PR: zephyrproject-rtos/zephyr#71688

Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
This commit aligns the GRTC driver to changes introduced in
hal_nordic. Some of the features regarding GRTC sleep/wakeup
functionality has been modified and moved out to the nrfx
driver's code.

Upstream PR: zephyrproject-rtos/zephyr#71688

Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
It is only nrf52 that has 500ppm accuracy on LFRC.
All others have 250ppm.

Signed-off-by: Martin Tverdal <martin.tverdal@nordicsemi.no>
(cherry picked from commit 4f68adf)
It was missed in #1494.

Signed-off-by: Bartlomiej Buczek <bartlomiej.buczek@nordicsemi.no>
ajayparida and others added 6 commits April 25, 2024 15:47
Use lock while accessing nm data.
One of the use case is while setting regulatory, it accesses nm data,
while from some other place also it can be accessed same time.
Protected the nm data processing.

Signed-off-by: Ajay Parida <ajay.parida@nordicsemi.no>
(cherry picked from commit b930026)
The function should return NULL instead of false in case of failure.

Signed-off-by: Ajay Parida <ajay.parida@nordicsemi.no>
(cherry picked from commit 02f4e71)
We are not able to achive 50ppm on nRF54L.
Working on fixing it propperly, but untill we do set what we get.

Signed-off-by: Martin Tverdal <martin.tverdal@nordicsemi.no>
(cherry picked from commit dbf62a5)
Unicast RX stats
It represents total number of unicast (any type data, action or
any other unicast frames) frames received at firmware level.
The actual frames passed to host will be different as firmware
may drop packets or some packets may be dropped because of
errors.

Unicast TX stats
Transmission side the unicast packets count states the packets
handed over to firmware. The stats taken at firmware level.
Actual packets transmission may vary depending upon various factors.

Upstream PR: zephyrproject-rtos/zephyr#71917

Signed-off-by: Ajay Parida <ajay.parida@nordicsemi.no>
…GRADE

Usage of the Kconfig, in code, has been missing CONFIG_,
so selected or not it did nothing.

(cherry picked from commit 1ec7116)
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
…_info

There have been to problems with the code where zcbor_bool_encode
has been fed value instead of expected pointer and the result
of previous zcbor_encode operations has not been taken to evaluate
value of ok status.
The change also replaces usage of  #if IS_ENABLED with #ifdef, as
IS_ENABLED should not be used outside if().

(cherry picked from commit c007e71)
Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
@nika-nordic nika-nordic self-requested a review April 26, 2024 08:20
wkhadgar and others added 3 commits April 26, 2024 14:28
Add sequence usage sample for adc driver.

Signed-off-by: Paulo Santos <pauloroberto.santos@edge.ufal.br>
The adc sample was in the root directory of the adc samples.
Move all the files to a subdirectory adc_dt.

Signed-off-by: Paulo Santos <pauloroberto.santos@edge.ufal.br>
@nordic-babu nordic-babu closed this by deleting the head repository Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.