Resolving Copper DRC Errors
outOfCredit job is still active.Table
| Function | nRF5340 Pin | Net | Connected To |
|---|---|---|---|
| I2C SCL | P1.02 | I2C_SCL | MMC5983MA, BMP390, MAX30102, BQ25180 |
| I2C SDA | P1.03 | I2C_SDA | MMC5983MA, BMP390, MAX30102, BQ25180 |
| IMU SPI SCK | P0.08 | IMU_SPI_SCK | ICM-42688-P SCLK |
| IMU SPI MOSI | P0.09 | IMU_SPI_MOSI | ICM-42688-P SDI |
| IMU SPI MISO | P0.10 | IMU_SPI_MISO | ICM-42688-P SDO |
| IMU SPI CS | P0.11 | IMU_SPI_CS | ICM-42688-P CS |
| IMU INT | P0.12 | IMU_INT | ICM-42688-P INT1 |
| BLE/status LED | P0.13 | BLE_STATUS_LED | Blue LED via 1k resistor |
| GPS UART RX | P0.19 | GPS_UART_RX | MAX-M10S TXD |
| GPS UART TX | P0.20 | GPS_UART_TX | MAX-M10S RXD |
C
#include <zephyr/kernel.h> #include <zephyr/device.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/i2c.h> #include <zephyr/drivers/spi.h> #include <zephyr/drivers/uart.h> #define BLE_STATUS_LED_PIN 13 int main(void) { const struct device *i2c = DEVICE_DT_GET(DT_NODELABEL(i2c1)); const struct device *spi = DEVICE_DT_GET(DT_NODELABEL(spi0)); const struct device *uart = DEVICE_DT_GET(DT_NODELABEL(uart0)); ARG_UNUSED(i2c); ARG_UNUSED(spi); ARG_UNUSED(uart); while (1) { k_sleep(K_SECONDS(1)); } }
Platform
Pin Mapping
Firmware Notes
Starter Code Skeleton
Open Firmware Items