Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* SDA = P1.8 and P1.9
* SCL = P1.14 and P1.15
* SCL = P1.10 and P1.11
*/

/ {
Expand All @@ -14,31 +14,31 @@
i2c20_default: i2c20_default {
group1 {
psels = <NRF_PSEL(TWIS_SDA, 1, 8)>,
<NRF_PSEL(TWIS_SCL, 1, 14)>;
<NRF_PSEL(TWIS_SCL, 1, 10)>;
bias-pull-up;
};
};

i2c20_sleep: i2c20_sleep {
group1 {
psels = <NRF_PSEL(TWIS_SDA, 1, 8)>,
<NRF_PSEL(TWIS_SCL, 1, 14)>;
<NRF_PSEL(TWIS_SCL, 1, 10)>;
low-power-enable;
};
};

i2c21_default: i2c21_default {
group1 {
psels = <NRF_PSEL(TWIS_SDA, 1, 9)>,
<NRF_PSEL(TWIS_SCL, 1, 15)>;
<NRF_PSEL(TWIS_SCL, 1, 11)>;
bias-pull-up;
};
};

i2c21_sleep: i2c21_sleep {
group1 {
psels = <NRF_PSEL(TWIS_SDA, 1, 9)>,
<NRF_PSEL(TWIS_SCL, 1, 15)>;
<NRF_PSEL(TWIS_SCL, 1, 11)>;
low-power-enable;
};
};
Expand Down
1 change: 1 addition & 0 deletions samples/zephyr/drivers/i2c/rtio_loopback/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ tests:
- [email protected]/nrf54lm20a/cpuapp
- nrf54lv10dk/nrf54lv10a/cpuapp
- [email protected]/nrf54lv10a/cpuapp
- [email protected]/nrf54lv10a/cpuapp
integration_platforms:
- nrf54lm20pdk/nrf54lm20a/cpuapp
- nrf54lv10dk/nrf54lv10a/cpuapp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_NRFX_TWIS21=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
/*
* Two loopbacks are required:
* P1.08 - P1.09
* P1.10 - P1.11
*/


/ {
aliases {
i2c-slave = &i2c21;
};
};

&pinctrl {
i2c20_default_alt: i2c20_default_alt {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 1, 8)>,
<NRF_PSEL(TWIM_SCL, 1, 10)>;
};
};

i2c20_sleep_alt: i2c20_sleep_alt {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 1, 8)>,
<NRF_PSEL(TWIM_SCL, 1, 10)>;
low-power-enable;
};
};

i2c21_default_alt: i2c21_default_alt {
group1 {
/* Temporary workaround as it is currently not possible
* to configure pins for TWIS with pinctrl.
*/
psels = <NRF_PSEL(TWIM_SDA, 1, 9)>,
<NRF_PSEL(TWIM_SCL, 1, 11)>;
bias-pull-up;
};
};

i2c21_sleep_alt: i2c21_sleep_alt {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 1, 9)>,
<NRF_PSEL(TWIM_SCL, 1, 11)>;
low-power-enable;
};
};
};

&i2c20 {
compatible = "nordic,nrf-twim";
status = "okay";
pinctrl-0 = <&i2c20_default_alt>;
pinctrl-1 = <&i2c20_sleep_alt>;
pinctrl-names = "default", "sleep";
sensor: sensor@54 {
reg = <0x54>;
};
};

&i2c21 {
compatible = "nordic,nrf-twis";
status = "okay";
pinctrl-0 = <&i2c21_default_alt>;
pinctrl-1 = <&i2c21_sleep_alt>;
pinctrl-names = "default", "sleep";
};
3 changes: 3 additions & 0 deletions tests/zephyr/boards/nrf/i2c/i2c_slave/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@ tests:
- [email protected]/nrf54lm20a/cpuapp
- [email protected]/nrf54lm20a/cpuapp
- [email protected]/nrf54lm20a/cpuapp
- nrf54lv10dk/nrf54lv10a/cpuapp
- [email protected]/nrf54lv10a/cpuapp
integration_platforms:
- nrf54lm20pdk/nrf54lm20a/cpuapp
- nrf54lv10dk/nrf54lv10a/cpuapp
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
/*
* SDA = P1.8 and P1.9
* SCL = P1.14 and P1.15
* SCL = P1.10 and P1.11
*/

&pinctrl {
i2c20_default: i2c20_default {
group1 {
psels = <NRF_PSEL(TWIS_SDA, 1, 8)>,
<NRF_PSEL(TWIS_SCL, 1, 14)>;
<NRF_PSEL(TWIS_SCL, 1, 10)>;
bias-pull-up;
};
};

i2c20_sleep: i2c20_sleep {
group1 {
psels = <NRF_PSEL(TWIS_SDA, 1, 8)>,
<NRF_PSEL(TWIS_SCL, 1, 14)>;
<NRF_PSEL(TWIS_SCL, 1, 10)>;
low-power-enable;
};
};

i2c21_default: i2c21_default {
group1 {
psels = <NRF_PSEL(TWIS_SDA, 1, 9)>,
<NRF_PSEL(TWIS_SCL, 1, 15)>;
<NRF_PSEL(TWIS_SCL, 1, 11)>;
bias-pull-up;
};
};

i2c21_sleep: i2c21_sleep {
group1 {
psels = <NRF_PSEL(TWIS_SDA, 1, 9)>,
<NRF_PSEL(TWIS_SCL, 1, 15)>;
<NRF_PSEL(TWIS_SCL, 1, 11)>;
low-power-enable;
};
};
Expand Down
1 change: 1 addition & 0 deletions tests/zephyr/drivers/i2c/i2c_target_api/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ tests:
- [email protected]/nrf54lm20a/cpuapp
- nrf54lv10dk/nrf54lv10a/cpuapp
- [email protected]/nrf54lv10a/cpuapp
- [email protected]/nrf54lv10a/cpuapp
- nrf7120pdk/nrf7120/cpuapp
integration_platforms:
- nrf54lm20pdk/nrf54lm20a/cpuapp
Expand Down
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ manifest:
# https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/modules.html
- name: zephyr
repo-path: sdk-zephyr
revision: 701bd803eafaa166b5dc678ca96446f35b3a5621
revision: bcf554e67c331a512c67f91b57dc6d797899e356
import:
# In addition to the zephyr repository itself, NCS also
# imports the contents of zephyr/west.yml at the above
Expand Down
Loading