Skip to content

Commit

Permalink
NCD-774: Support nRF54H20-DK r0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cybic committed Mar 6, 2024
1 parent 51cd5c6 commit 0f44366
Show file tree
Hide file tree
Showing 3 changed files with 161 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## NEXT - UNRELEASED

EXPERIMENTAL RELEASE

### Added

- Support for nRF54H20-DK r0.7.0

## 0.1.8 - UNRELEASED

EXPERIMENTAL RELEASE
Expand Down
146 changes: 146 additions & 0 deletions src/common/boards/nrf_PCA10175_54H20_0.7.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
{
"board": {
"boardVersion": "PCA10175",
"boardRevision": "0.7.0",
"boardName": "nRF54H20 DK v0.7.0 UNFINISHED!"
},
"pins": [
{
"type": "switch",
"id": "swd3-control",
"title": "SWD Control",
"label": "Connect software debugger (SWD3) on the IMCU to the target chip. This can be changed to e.g. use an external debugger.",
"enable": {
"pin": 6
}
},
{
"type": "vcom",
"id": "vcom0",
"name": "VCOM 0",
"enable": {
"pin": 42
},
"hwfc": {
"pin": 20
}
},
{
"type": "vcom",
"id": "vcom1",
"name": "VCOM 1",
"enable": {
"pin": 22
},
"hwfc": {
"pin": 23
}
},
{
"type": "switch",
"id": "led-pwr-ctrl",
"title": "LED Power",
"label": "Enable 3.0V power to the nRF54H20-DK LEDs (LED0-LED3)",
"enable": {
"pin": 45
}
},
{
"type": "switch",
"id": "ldos-flash-dis",
"title": "Flash Power",
"label": "Enable external flash by powering the rails VCCQ_1V8 and VCC_1V8",
"enable": {
"pin": 47
}
}
],
"pmicPorts": [
{
"type": "voltage",
"port": 1,
"portId": "vdd-p7",
"portLabel": "VDD-p7 (nPM VOUT1)",
"portDescription": "Voltage on the VDD rail of 54H20 P7",
"mVmin": 1200,
"mVmax": 1800
},
{
"type": "voltage",
"port": 2,
"portId": "vdd-p9",
"portLabel": "VDD-p9 (nPM VOUT2)",
"portDescription": "Voltage on the VDD rail of 55H20 P9",
"mVmin": 1800,
"mVmax": 3300
},
{
"type": "voltage",
"port": 3,
"portId": "vdd-p1",
"portLabel": "VDD-p1 (nPM LDO1)",
"portDescription": "Voltage on the VDD rail of 54H20 P1",
"mVmin": 1200,
"mVmax": 1800
},
{
"type": "voltage",
"port": 4,
"portId": "vdd-p2",
"portLabel": "VDD-p2 (nPM LDO2)",
"portDescription": "Voltage on the VDD rail of 54H20 P2",
"mVmin": 1200,
"mVmax": 1800
}
],
"defaults": {
"pins": [
{
"pin": 42,
"state": true
},
{
"pin": 20,
"state": true
},
{
"pin": 22,
"state": true
},
{
"pin": 23,
"state": true
},
{
"pin": 6,
"state": true
},
{
"pin": 45,
"state": true
},
{
"pin": 47,
"state": true
}
],
"pmicPorts": [
{
"port": 1,
"voltage": 1800
},
{
"port": 2,
"voltage": 1800
},
{
"port": 3,
"voltage": 1800
},
{
"port": 4,
"voltage": 1800
}
]
}
}
7 changes: 7 additions & 0 deletions src/features/Configuration/boardDefinitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import nrf9161v0100json from '../../common/boards/nrf_PCA10153_0.10.0_9161.json'
import nrf54l15v020json from '../../common/boards/nrf_PCA10156_0.2.0.json';
import nrf54l15v030json from '../../common/boards/nrf_PCA10156_0.3.0.json';
import nrf9151v020json from '../../common/boards/nrf_PCA10171_0.2.0_9151.json';
import nrf54h20v070json from '../../common/boards/nrf_PCA10175_54H20_0.7.0.json';

export type BoardDefinition = {
boardControllerConfigDefinition?: BoardControllerConfigDefinition;
Expand All @@ -30,6 +31,8 @@ const typednrf54l15v020json =
const typednrf54l15v030json =
nrf54l15v030json as BoardControllerConfigDefinition;
const typednrf54h20json = nrf54h20json as BoardControllerConfigDefinition;
const typednrf54h20v070json =
nrf54h20v070json as BoardControllerConfigDefinition;
const typednrf9151v020json = nrf9151v020json as BoardControllerConfigDefinition;

export function getBoardDefinition(
Expand Down Expand Up @@ -72,6 +75,10 @@ export function getBoardDefinition(
// nRF9151
return { boardControllerConfigDefinition: typednrf9151v020json };

case 'PCA10175':
// nRF54H20
return { boardControllerConfigDefinition: typednrf54h20v070json };

default:
return { controlFlag: { unrecognizedBoard: true } };
}
Expand Down

0 comments on commit 0f44366

Please sign in to comment.