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-12-15 18:36:05 +01:00
2022-01-13 17:50:59 +01:00
2022-10-25 10:26:43 +02:00
2022-06-01 10:54:01 +02:00
2021-04-08 16:34:36 +02:00
2022-11-11 22:16:47 +01:00
2021-12-23 11:04:42 +01:00
2023-05-14 21:08:27 +02:00
2022-09-26 17:45:54 +02:00
2022-09-26 17:45:54 +02:00
2023-02-27 12:31:03 +01:00
2022-09-26 17:45:54 +02:00
2023-05-06 15:38:21 +02:00
2021-12-02 09:38:06 +01:00
2022-06-01 10:48:34 +02:00
2022-09-26 17:45:54 +02:00
2022-09-26 17:45:54 +02:00
2023-04-05 13:46:25 +02:00
2022-08-24 09:03:38 +02:00
2022-08-24 18:02:21 +02:00
2022-06-05 11:53:31 +02:00
2022-06-05 11:53:31 +02:00
2023-01-10 20:22:40 +01:00
2022-09-26 17:45:54 +02:00
2023-03-05 00:46:06 +01:00
2023-01-13 13:58:07 +01:00
2022-01-31 16:49:38 +01:00
2023-02-27 18:12:13 +01:00
2022-09-26 17:45:54 +02:00
2023-05-15 12:20:06 +02:00
2022-04-27 10:53:50 +02:00
2022-04-25 16:05:28 +02:00
2023-02-27 15:09:08 +01:00
2022-09-30 10:47:09 +02:00
2021-04-08 16:34:36 +02:00
2022-09-26 17:45:54 +02:00
2023-05-19 15:40:44 +02:00
2023-05-06 07:55:03 +02:00
2023-01-20 17:42:54 +01:00
2022-09-27 09:36:23 +02:00
2023-02-22 09:10:03 +01:00
2022-04-20 11:49:33 +02:00
2022-09-30 16:42:57 +02:00
2023-07-07 16:07:20 +02:00
2021-04-08 16:34:36 +02:00
2022-08-18 01:05:31 +02:00
2023-01-07 09:47:44 +01:00
2023-05-08 15:00:52 +02:00
2023-05-16 22:23:03 +02:00
2023-02-25 14:01:20 +01:00
2023-01-19 15:31:06 +01:00
2023-02-27 15:09:08 +01:00
2023-05-06 07:55:03 +02:00
2021-04-08 16:34:36 +02:00
2021-04-08 16:34:36 +02:00
2023-05-30 11:00:25 +02:00
2023-01-20 15:25:25 +01:00
2022-09-26 17:45:54 +02:00
2023-07-13 13:22:28 +02:00
2022-08-31 16:29:03 +02:00
2023-01-20 14:37:09 +01:00
2023-03-13 11:49:39 +01:00
2023-07-13 13:22:28 +02:00
2023-01-24 00:52:02 +01:00
2022-09-26 17:45:54 +02:00
2023-05-31 16:31:26 +02:00
2023-07-11 14:59:53 +00:00
2023-05-06 07:55:03 +02:00
2022-12-11 12:03:28 +00:00
2023-05-06 07:55:02 +02:00
2023-07-11 21:22:02 +02:00
2022-09-26 17:45:54 +02:00
2021-11-08 23:18:30 +01:00
2022-04-27 10:53:50 +02:00
2023-04-30 21:56:52 +02:00
2022-09-29 22:01:37 +02:00
2022-01-13 17:50:59 +01:00
2022-11-11 09:01:02 +01:00
2021-10-02 21:27:40 +02:00
2022-02-02 14:44:50 +01:00
2021-09-07 09:35:00 +02:00
2023-04-26 15:40:08 +00:00
2023-07-05 09:39:43 +02:00
2022-09-16 14:00:35 +02:00
2022-09-14 15:05:25 +02:00
2021-04-08 16:34:36 +02:00
2023-02-27 16:00:21 +01:00
2022-09-27 13:42:37 +02:00
2022-03-17 14:33:07 +01:00
2021-03-12 16:05:18 +01:00
2022-11-09 22:47:08 +01:00
2023-07-13 13:22:28 +02:00
2022-04-25 13:32:59 +02:00
2023-02-27 15:09:08 +01:00
2022-09-19 13:40:53 +02:00
2022-11-29 13:28:46 +01:00
2023-05-13 19:08:39 +02:00
2021-10-01 14:44:10 +02:00
2023-05-16 22:23:03 +02:00
2023-06-01 12:17:35 +02:00
2020-06-26 09:25:43 +02:00
2020-06-26 09:25:44 +02:00
2020-01-06 00:37:47 +01:00
2022-06-01 10:54:01 +02:00