bors[bot]
0f50a8fa00
Merge #19798
...
19798: cpu/nrf53: add I2C and SPI support r=benpicco a=dylad
### Contribution description
This PR provides support for nRF53 SPI and I2C.
It also moves common structs from each nRF CPU folder to `cpu/nrf5x_common` to avoid duplication.
Moreover, since nRF9160 and nRF5340 have shared IRQ for UART/SPI/I2C. Both this families now use a common file to register and manage these interrupts. Note that nRF9160 have different name for its interrupts than nRF5340 but they have the same purpose.
### Testing procedure
Since some structs were moved around, I think this PR should be carefully tested against nRF52, nRF53 and nRF9160 to avoid any issues.
On nRF5340DK-APP, SPI can be tested with its onboard SPI flash.
### Issues/PRs references
Co-authored-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2023-07-13 12:08:04 +00:00
..
2022-02-25 15:08:58 +01:00
2023-05-31 13:04:42 +02:00
2023-06-26 17:24:07 +02:00
2023-05-31 13:04:42 +02:00
2023-05-31 13:04:42 +02:00
2023-05-31 13:04:42 +02:00
2022-09-14 15:05:25 +02:00
2022-08-08 23:35:06 +02:00
2020-07-16 15:35:25 +02:00
2023-06-26 17:24:07 +02:00
2023-06-26 17:24:07 +02:00
2023-06-26 17:24:07 +02:00
2023-06-26 17:24:07 +02:00
2023-06-26 17:24:07 +02:00
2023-06-26 17:24:07 +02:00
2021-12-15 10:31:18 +01:00
2023-06-26 17:24:07 +02:00
2023-05-31 13:04:42 +02:00
2023-05-31 13:04:42 +02:00
2023-06-26 17:24:07 +02:00
2022-12-07 13:56:24 +01:00
2023-07-11 21:22:02 +02:00
2022-09-14 15:05:25 +02:00
2022-09-14 15:05:25 +02:00
2022-09-14 15:05:25 +02:00
2022-09-14 15:05:25 +02:00
2021-11-22 12:25:30 +01:00
2022-09-22 13:56:53 +02:00
2021-11-22 12:25:30 +01:00
2022-09-14 15:05:25 +02:00
2021-09-17 12:58:10 +02:00
2022-08-08 23:35:06 +02:00
2022-09-30 19:05:51 +02:00
2023-07-05 09:44:35 +02:00
2023-05-31 13:04:42 +02:00
2023-01-02 16:23:10 +01:00
2023-05-31 13:04:42 +02:00
2022-08-08 23:35:06 +02:00
2023-01-02 16:23:10 +01:00
2023-05-31 13:04:42 +02:00
2022-02-26 22:51:50 +01:00
2022-10-28 08:57:17 -04:00
2022-10-28 09:27:55 -04:00
2022-10-28 08:57:17 -04:00
2022-10-28 09:27:55 -04:00
2022-07-28 09:32:25 +02:00
2023-01-10 21:58:19 +01:00
2023-01-10 21:58:19 +01:00
2023-07-11 21:22:02 +02:00
2022-09-14 15:05:25 +02:00
2022-09-14 15:05:25 +02:00
2022-11-09 09:36:09 +00:00
2021-09-29 10:16:31 +02:00
2021-01-25 09:17:00 +01:00
2023-05-02 09:52:06 +02:00
2022-09-14 15:05:25 +02:00
2022-09-14 15:05:25 +02:00
2022-08-03 09:01:05 +02:00
2022-08-03 09:01:05 +02:00
2023-06-26 17:24:07 +02:00
2023-06-26 17:24:07 +02:00
2023-06-26 17:24:07 +02:00
2023-06-26 17:24:07 +02:00
2023-06-26 17:24:07 +02:00
2023-06-26 17:24:07 +02:00
2023-06-26 17:24:07 +02:00
2023-06-26 17:24:07 +02:00
2023-06-26 17:24:07 +02:00
2023-06-26 17:24:07 +02:00
2023-07-07 08:23:41 +02:00
2023-05-31 13:04:42 +02:00
2023-07-09 11:33:12 +02:00
2023-07-07 11:11:41 +02:00
2023-06-26 17:24:07 +02:00
2023-07-07 15:34:45 +02:00
2023-06-26 17:24:07 +02:00
2023-06-26 17:24:07 +02:00
2023-06-26 17:24:07 +02:00
2022-11-03 13:38:09 +01:00
2023-06-26 17:24:07 +02:00
2021-12-24 12:59:30 +01:00
2021-12-24 12:59:30 +01:00
2023-05-31 13:04:42 +02:00
2023-03-06 11:04:48 +01:00
2023-06-29 15:02:02 +02:00
2023-06-29 15:33:18 +02:00
2022-02-25 15:08:58 +01:00
2022-01-06 12:34:09 +01:00
2023-01-06 22:56:28 +01:00
2022-02-25 15:08:58 +01:00
2023-06-26 17:24:07 +02:00
2023-01-09 20:07:05 +01:00
2022-02-25 15:08:58 +01:00
2023-05-02 09:52:06 +02:00
2022-11-03 13:38:09 +01:00
2022-01-06 12:34:09 +01:00
2022-06-23 17:25:48 +02:00
2022-08-08 23:35:06 +02:00
2022-08-08 23:35:06 +02:00
2023-06-26 17:24:07 +02:00
2022-02-25 15:08:58 +01:00
2022-09-14 15:05:25 +02:00
2022-02-25 15:08:58 +01:00
2022-09-14 15:11:14 +02:00
2022-09-14 15:05:25 +02:00
2022-04-12 11:36:57 +02:00
2023-02-24 16:50:59 +01:00
2022-02-25 15:08:58 +01:00
2023-07-04 20:21:05 +02:00
2023-07-04 20:21:05 +02:00
2022-06-07 09:18:58 +02:00
2023-05-06 15:38:21 +02:00
2022-09-14 15:05:25 +02:00
2023-04-26 00:53:14 +02:00
2023-06-17 15:13:19 +02:00
2023-06-17 15:13:19 +02:00
2022-09-26 14:10:57 +02:00
2023-07-12 21:51:50 +02:00
2022-02-25 15:08:58 +01:00
2023-07-12 21:51:51 +02:00
2022-09-14 15:11:14 +02:00
2022-10-21 18:09:38 +02:00
2023-05-31 13:04:42 +02:00
2023-07-06 09:00:54 +02:00
2023-05-31 13:04:42 +02:00
2023-03-17 15:16:31 +01:00
2022-06-17 03:41:22 -04:00
2022-06-17 03:41:22 -04:00
2023-03-17 15:16:31 +01:00
2023-03-17 15:16:31 +01:00
2023-03-17 15:16:31 +01:00
2023-03-17 15:16:31 +01:00
2022-11-04 18:02:28 -04:00
2023-03-17 15:16:31 +01:00
2022-06-16 12:46:42 -04:00
2023-03-17 15:16:31 +01:00
2022-10-23 22:33:51 +02:00
2023-03-17 15:16:31 +01:00
2023-03-17 15:16:31 +01:00
2023-03-17 15:16:31 +01:00
2023-03-17 15:16:31 +01:00
2022-09-30 19:05:51 +02:00
2022-09-30 19:05:51 +02:00
2023-04-17 12:24:48 +02:00
2022-09-30 19:05:51 +02:00
2023-03-17 15:16:31 +01:00
2022-09-30 19:05:51 +02:00
2022-09-30 19:05:51 +02:00
2022-09-30 19:05:51 +02:00
2022-09-30 19:05:51 +02:00
2022-11-28 05:07:25 -05:00
2022-11-28 05:07:25 -05:00
2022-08-04 13:49:35 -04:00
2022-08-05 17:01:50 -04:00
2022-11-26 17:30:47 -05:00
2022-06-16 12:46:42 -04:00
2022-06-16 12:46:42 -04:00
2023-03-17 15:16:31 +01:00
2023-03-17 15:16:31 +01:00
2023-03-17 15:16:31 +01:00
2022-06-17 03:21:40 -04:00
2023-05-30 13:05:38 +02:00
2022-08-08 05:59:24 -04:00
2022-08-08 11:51:46 -04:00
2023-03-17 15:16:31 +01:00
2022-12-10 11:41:45 -05:00
2022-07-04 14:03:44 -04:00
2023-06-26 17:24:07 +02:00
2022-11-30 19:28:14 +01:00
2023-07-04 20:21:05 +02:00
2023-07-04 20:21:05 +02:00
2022-08-08 23:35:06 +02:00
2022-07-28 09:32:25 +02:00
2022-09-14 15:05:25 +02:00
2022-09-14 15:05:25 +02:00
2023-06-01 12:19:44 +02:00
2022-09-14 15:05:25 +02:00
2022-07-28 09:32:25 +02:00
2023-05-10 12:21:11 +02:00
2023-06-26 17:24:07 +02:00
2023-06-17 15:13:19 +02:00
2023-06-17 15:13:19 +02:00
2022-09-14 15:11:14 +02:00
2022-09-20 18:08:55 +02:00
2022-09-14 15:05:25 +02:00
2022-09-14 15:05:25 +02:00
2022-11-30 19:28:14 +01:00
2023-06-13 10:59:31 +00:00
2022-10-21 18:09:38 +02:00
2023-03-06 11:04:48 +01:00
2023-03-06 11:04:48 +01:00
2023-06-26 17:24:07 +02:00
2023-06-07 18:58:30 +02:00
2023-01-17 04:13:32 -05:00
2022-06-21 15:04:13 +02:00
2022-09-27 22:43:31 +02:00
2022-09-27 22:43:31 +02:00
2022-11-23 14:06:30 +01:00
2023-02-25 18:59:07 +00:00
2020-07-16 18:09:59 +02:00
2023-05-06 15:33:03 +02:00
2023-06-26 17:24:07 +02:00
2022-11-23 13:53:14 +01:00
2022-10-05 20:14:02 +02:00
2022-10-05 20:14:02 +02:00
2023-07-03 11:48:39 +02:00
2022-02-25 15:08:58 +01:00
2023-05-31 13:04:42 +02:00
2023-05-31 13:04:42 +02:00
2023-05-31 13:04:42 +02:00
2023-07-12 15:56:20 +02:00
2023-05-02 09:52:06 +02:00
2023-05-02 09:52:06 +02:00
2023-05-02 09:52:06 +02:00
2023-05-02 09:52:06 +02:00
2022-12-07 16:34:34 +01:00
2021-12-08 21:22:50 +01:00
2021-12-08 21:22:50 +01:00
2023-05-02 09:52:06 +02:00
2023-06-26 17:24:07 +02:00
2023-06-26 17:24:07 +02:00
2023-06-26 17:24:07 +02:00
2023-06-26 17:24:07 +02:00
2023-06-26 17:24:07 +02:00
2022-11-30 19:28:14 +01:00
2023-05-02 09:52:06 +02:00
2023-05-02 09:52:06 +02:00
2023-05-02 09:52:06 +02:00
2022-09-14 15:05:25 +02:00
2022-09-14 15:05:25 +02:00
2023-06-26 17:24:07 +02:00
2022-08-08 23:35:06 +02:00
2023-03-31 16:43:51 +02:00
2023-05-31 13:04:42 +02:00
2022-11-03 13:38:09 +01:00
2023-06-17 15:13:19 +02:00
2023-03-07 11:27:30 +01:00
2022-11-03 13:38:09 +01:00
2023-03-07 11:27:48 +01:00
2022-08-08 23:35:06 +02:00
2022-09-30 19:05:51 +02:00
2023-06-26 17:24:07 +02:00
2022-09-20 18:08:55 +02:00
2022-09-14 15:05:25 +02:00
2022-02-25 15:08:58 +01:00
2023-07-04 20:21:05 +02:00
2022-06-21 15:04:13 +02:00
2023-06-26 17:24:07 +02:00
2020-07-16 15:35:25 +02:00
2022-01-06 12:34:09 +01:00
2023-06-26 17:24:07 +02:00
2023-06-26 17:24:07 +02:00
2023-01-06 23:10:26 +01:00
2023-01-06 23:10:26 +01:00
2023-01-06 23:10:26 +01:00
2023-05-31 13:04:42 +02:00
2022-11-22 14:44:56 +01:00
2023-05-31 13:04:42 +02:00
2022-09-14 15:05:25 +02:00
2023-07-04 20:21:05 +02:00
2022-09-14 15:05:25 +02:00
2023-06-29 22:36:35 +02:00
2022-02-22 10:04:44 +01:00