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

nrfx: hal: Add accessor functions for FICR addr, er and ir #196

Closed

Conversation

carlescufi
Copy link
Member

Abstract the access to three BLE-related settings in FICR for different nRF SoCs, so the user does not need to worry about differences among series.

@carlescufi
Copy link
Member Author

Will soon add the zephyr main tree PR

Copy link
Member

@anangl anangl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one nit: the commit title should start with "nrfx: hal:" instead of just "hal:".

Abstract the access to three BLE-related settings in FICR for different
nRF SoCs, so the user does not need to worry about differences among
series.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
@carlescufi
Copy link
Member Author

Just one nit: the commit title should start with "nrfx: hal:" instead of just "hal:".

Thanks, fixed.

@carlescufi carlescufi changed the title hal: Add accessor functions for FICR addr, er and ir nrfx: hal: Add accessor functions for FICR addr, er and ir Jul 5, 2024
carlescufi added a commit to carlescufi/zephyr that referenced this pull request Jul 5, 2024
In some ICs (including nRF54H20) the DEVICEID register is not part of
FICR, and thus it is not accessible to applications. Use instead the
device address, along with a couple of bytes from ER and IR, to
generated a unique device id.

At the same time update the pointer to the hal_nordic repo to pull in
zephyrproject-rtos/hal_nordic#196.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
carlescufi added a commit to carlescufi/zephyr that referenced this pull request Jul 8, 2024
In some ICs (including nRF54H20) the DEVICEID register is not part of
FICR, and thus it is not accessible to applications. Use instead the
device address, along with a couple of bytes from ER and IR, to
generated a unique device id.

At the same time update the pointer to the hal_nordic repo to pull in
zephyrproject-rtos/hal_nordic#196.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
@carlescufi
Copy link
Member Author

superseeded by #200

@carlescufi carlescufi closed this Aug 1, 2024
carlescufi added a commit to carlescufi/zephyr that referenced this pull request Aug 1, 2024
In some ICs (including nRF54H20) the DEVICEID register is not part of
FICR, and thus it is not accessible to applications. Use instead the
device address, along with a couple of bytes from ER and IR, to
generated a unique device id.

At the same time update the pointer to the hal_nordic repo to pull in
zephyrproject-rtos/hal_nordic#196.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
fabiobaltieri pushed a commit to zephyrproject-rtos/zephyr that referenced this pull request Aug 2, 2024
In some ICs (including nRF54H20) the DEVICEID register is not part of
FICR, and thus it is not accessible to applications. Use instead the
device address, along with a couple of bytes from ER and IR, to
generated a unique device id.

At the same time update the pointer to the hal_nordic repo to pull in
zephyrproject-rtos/hal_nordic#196.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
coreboot-org-bot pushed a commit to coreboot/zephyr-cros that referenced this pull request Aug 3, 2024
In some ICs (including nRF54H20) the DEVICEID register is not part of
FICR, and thus it is not accessible to applications. Use instead the
device address, along with a couple of bytes from ER and IR, to
generated a unique device id.

At the same time update the pointer to the hal_nordic repo to pull in
zephyrproject-rtos/hal_nordic#196.

(cherry picked from commit ebd31d3)

Original-Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
GitOrigin-RevId: ebd31d3
Cr-Build-Id: 8740696253239544497
Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8740696253239544497
Change-Id: I017bd5007759b76a970cb9bd3751297321adaabd
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5760303
Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
Commit-Queue: Fabio Baltieri <fabiobaltieri@google.com>
Tested-by: Fabio Baltieri <fabiobaltieri@google.com>
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
kapi-no pushed a commit to kapi-no/sdk-zephyr that referenced this pull request Aug 30, 2024
…from device addr

In some ICs (including nRF54H20) the DEVICEID register is not part of
FICR, and thus it is not accessible to applications. Use instead the
device address, along with a couple of bytes from ER and IR, to
generated a unique device id.

At the same time update the pointer to the hal_nordic repo to pull in
zephyrproject-rtos/hal_nordic#196.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
(cherry picked from commit ebd31d3)
carlescufi added a commit to nrfconnect/sdk-zephyr that referenced this pull request Aug 30, 2024
…from device addr

In some ICs (including nRF54H20) the DEVICEID register is not part of
FICR, and thus it is not accessible to applications. Use instead the
device address, along with a couple of bytes from ER and IR, to
generated a unique device id.

At the same time update the pointer to the hal_nordic repo to pull in
zephyrproject-rtos/hal_nordic#196.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
(cherry picked from commit ebd31d3)
mariucker pushed a commit to mariucker/zephyr that referenced this pull request Dec 12, 2024
In some ICs (including nRF54H20) the DEVICEID register is not part of
FICR, and thus it is not accessible to applications. Use instead the
device address, along with a couple of bytes from ER and IR, to
generated a unique device id.

At the same time update the pointer to the hal_nordic repo to pull in
zephyrproject-rtos/hal_nordic#196.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
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.

4 participants