1{
2  "title": "nRF54H20 BICR Configuration",
3  "type": "object",
4  "properties": {
5    "power": {
6      "type": "object",
7      "title": "Power supply configuration",
8      "properties": {
9        "scheme": {
10          "type": "string",
11          "title": "Power supply scheme",
12          "enumNames": [
13            "Unconfigured (system will not boot)",
14            "VDDH supplied with 2.1-5.5 V and VDD regulated by the chip (inductor present)",
15            "Both VDD and VDDH supplied with 1.8 V (inductor present)"
16          ],
17          "enum": [
18            "UNCONFIGURED",
19            "VDD_VDDH_1V8",
20            "VDDH_2V1_5V5"
21          ],
22          "default": "UNCONFIGURED"
23        }
24      },
25      "required": [
26        "scheme"
27      ]
28    },
29    "ioPortPower": {
30      "type": "object",
31      "title": "IO port power configuration",
32      "properties": {
33        "p1Supply": {
34          "type": "string",
35          "title": "P1 power supply (VDDIO_P1)",
36          "enumNames": [
37            "Not supplied (P1 not used)",
38            "VDDIO_P1 connected to an external 1.8 V supply or to VDD_EXT",
39            "VDDIO_P1 shorted to VDD"
40          ],
41          "enum": [
42            "DISCONNECTED",
43            "EXTERNAL_1V8",
44            "SHORTED"
45          ],
46          "default": "DISCONNECTED"
47        },
48        "p2Supply": {
49          "type": "string",
50          "title": "P2 power supply (VDDIO_P2)",
51          "enumNames": [
52            "Not supplied (P2 not used)",
53            "VDDIO_P2 connected to an external 1.8 V supply or to VDD_EXT",
54            "VDDIO_P2 shorted to VDD"
55          ],
56          "enum": [
57            "DISCONNECTED",
58            "EXTERNAL_1V8",
59            "SHORTED"
60          ],
61          "default": "DISCONNECTED"
62        },
63        "p6Supply": {
64          "type": "string",
65          "title": "P6 power supply (VDDIO_P6)",
66          "enumNames": [
67            "Not supplied (P6 not used)",
68            "VDDIO_P6 connected to an external 1.8 V supply or to VDD_EXT",
69            "VDDIO_P6 shorted to VDD"
70          ],
71          "enum": [
72            "DISCONNECTED",
73            "EXTERNAL_1V8",
74            "SHORTED"
75          ],
76          "default": "DISCONNECTED"
77        },
78        "p7Supply": {
79          "type": "string",
80          "title": "P7 power supply (VDDIO_P7)",
81          "enumNames": [
82            "Not supplied (P7 not used)",
83            "VDDIO_P7 connected to an external 1.8 V supply or to VDD_EXT",
84            "VDDIO_P7 shorted to VDD"
85          ],
86          "enum": [
87            "DISCONNECTED",
88            "EXTERNAL_1V8",
89            "SHORTED"
90          ],
91          "default": "DISCONNECTED"
92        },
93        "p9Supply": {
94          "type": "string",
95          "title": "P9 power supply (VDDIO_P9)",
96          "enumNames": [
97            "Not supplied (P9 not used)",
98            "VDDIO_P9 connected to an external 1.8 V supply or to VDD_EXT",
99            "VDDIO_P9 connected to an external supply (above 1.8 V, up to 3 V)",
100            "VDDIO_P9 shorted to VDD"
101          ],
102          "enum": [
103            "DISCONNECTED",
104            "EXTERNAL_1V8",
105            "EXTERNAL_FULL",
106            "SHORTED"
107          ],
108          "default": "EXTERNAL_FULL"
109        }
110      },
111      "required": [
112        "p1Supply",
113        "p2Supply",
114        "p6Supply",
115        "p7Supply",
116        "p9Supply"
117      ]
118    },
119    "ioPortImpedance": {
120      "type": "object",
121      "title": "IO port impedance configuration",
122      "properties": {
123        "p6ImpedanceOhms": {
124          "type": "number",
125          "title": "P6 impedance",
126          "enum": [
127            33,
128            40,
129            50,
130            66,
131            100
132          ],
133          "default": 50
134        },
135        "p7ImpedanceOhms": {
136          "type": "number",
137          "title": "P7 impedance",
138          "enum": [
139            33,
140            40,
141            50,
142            66,
143            100
144          ],
145          "default": 50
146        }
147      },
148      "required": [
149        "p6ImpedanceOhms",
150        "p7ImpedanceOhms"
151      ]
152    },
153    "lfosc": {
154      "type": "object",
155      "title": "Low Frequency Oscillator (LFOSC) configuration",
156      "properties": {
157        "source": {
158          "type": "string",
159          "title": "Source",
160          "enumNames": [
161            "Low Frequency Crystal Oscillator (LFXO)",
162            "Low Frequency RC Oscillator (LFRC)"
163          ],
164          "enum": [
165            "LFXO",
166            "LFRC"
167          ],
168          "default": "LFXO"
169        }
170      },
171      "required": [
172        "source"
173      ],
174      "dependencies": {
175        "source": {
176          "oneOf": [
177            {
178              "properties": {
179                "source": {
180                  "const": "LFXO"
181                },
182                "lfxo": {
183                  "type": "object",
184                  "title": "Low Frequency Crystal Oscillator (LFXO) configuration",
185                  "properties": {
186                    "mode": {
187                      "type": "string",
188                      "title": "Mode",
189                      "enumNames": [
190                        "Crystal",
191                        "External sine signal",
192                        "External square signal"
193                      ],
194                      "enum": [
195                        "CRYSTAL",
196                        "ETX_SINE",
197                        "EXT_SQUARE"
198                      ],
199                      "default": "CRYSTAL"
200                    },
201                    "accuracyPPM": {
202                      "type": "number",
203                      "title": "Accuracy",
204                      "enum": [
205                        20,
206                        30,
207                        50,
208                        75,
209                        100,
210                        150,
211                        250,
212                        500
213                      ],
214                      "default": 20
215                    },
216                    "startupTimeMs": {
217                      "type": "number",
218                      "title": "Startup time",
219                      "minimum": 0,
220                      "maximum": 4094,
221                      "multipleOf": 1,
222                      "default": 600
223                    }
224                  },
225                  "required": [
226                    "mode",
227                    "accuracyPPM",
228                    "startupTimeMs"
229                  ],
230                  "dependencies": {
231                    "mode": {
232                      "oneOf": [
233                        {
234                          "properties": {
235                            "mode": {
236                              "const": "CRYSTAL"
237                            },
238                            "builtInLoadCapacitors": {
239                              "type": "boolean",
240                              "title": "Use built-in load capacitors",
241                              "default": true
242                            }
243                          },
244                          "required": [
245                            "builtInLoadCapacitors"
246                          ],
247                          "dependencies": {
248                            "builtInLoadCapacitors": {
249                              "oneOf": [
250                                {
251                                  "properties": {
252                                    "builtInLoadCapacitors": {
253                                      "const": true
254                                    },
255                                    "builtInLoadCapacitancePf": {
256                                      "type": "integer",
257                                      "title": "Built-in load capacitance",
258                                      "minimum": 1,
259                                      "maximum": 25,
260                                      "multipleOf": 1,
261                                      "default": 15
262                                    }
263                                  },
264                                  "required": [
265                                    "builtInLoadCapacitancePf"
266                                  ]
267                                }
268                              ]
269                            }
270                          }
271                        }
272                      ]
273                    }
274                  }
275                }
276              }
277            },
278            {
279              "properties": {
280                "source": {
281                  "const": "LFRC"
282                },
283                "lfrccal": {
284                  "type": "object",
285                  "title": "Low Frequency RC (LFRC) autocalibration configuration",
286                  "properties": {
287                    "calibrationEnabled": {
288                      "type": "boolean",
289                      "title": "Enable autocalibration",
290                      "default": true
291                    }
292                  },
293                  "required": [
294                    "calibrationEnabled"
295                  ],
296                  "dependencies": {
297                    "calibrationEnabled": {
298                      "oneOf": [
299                        {
300                          "properties": {
301                            "calibrationEnabled": {
302                              "const": true
303                            },
304                            "tempMeasIntervalSeconds": {
305                              "type": "number",
306                              "title": "Temperature measurement interval",
307                              "minimum": 0.25,
308                              "maximum": 31.75,
309                              "multipleOf": 0.25,
310                              "default": 4
311                            },
312                            "tempDeltaCalibrationTriggerCelsius": {
313                              "type": "number",
314                              "title": "Temperature delta that should trigger calibration",
315                              "minimum": 0.25,
316                              "maximum": 31.75,
317                              "multipleOf": 0.25,
318                              "default": 0.5
319                            },
320                            "maxMeasIntervalBetweenCalibrations": {
321                              "type": "number",
322                              "title": "Maximum number of measurement intervals between calibrations",
323                              "minimum": 0,
324                              "maximum": 31,
325                              "multipleOf": 1,
326                              "default": 2
327                            }
328                          },
329                          "required": [
330                            "tempMeasIntervalSeconds",
331                            "tempDeltaCalibrationTriggerCelsius",
332                            "maxMeasIntervalBetweenCalibrations"
333                          ]
334                        }
335                      ]
336                    }
337                  }
338                }
339              }
340            }
341          ]
342        }
343      }
344    },
345    "hfxo": {
346      "type": "object",
347      "title": "High Frequency Cristal Oscillator (HFXO) configuration",
348      "properties": {
349        "mode": {
350          "type": "string",
351          "title": "Mode",
352          "enumNames": [
353            "Crystal",
354            "External square signal"
355          ],
356          "enum": [
357            "CRYSTAL",
358            "EXT_SQUARE"
359          ],
360          "default": "CRYSTAL"
361        },
362        "startupTimeUs": {
363          "type": "number",
364          "title": "Startup time",
365          "minimum": 0,
366          "maximum": 4294967294,
367          "multipleOf": 1,
368          "default": 850
369        }
370      },
371      "required": [
372        "mode",
373        "startupTimeUs"
374      ],
375      "dependencies": {
376        "mode": {
377          "oneOf": [
378            {
379              "properties": {
380                "mode": {
381                  "const": "CRYSTAL"
382                },
383                "builtInLoadCapacitors": {
384                  "type": "boolean",
385                  "title": "Use built-in load capacitors",
386                  "default": true
387                }
388              },
389              "required": [
390                "builtInLoadCapacitors"
391              ],
392              "dependencies": {
393                "builtInLoadCapacitors": {
394                  "oneOf": [
395                    {
396                      "properties": {
397                        "builtInLoadCapacitors": {
398                          "const": true
399                        },
400                        "builtInLoadCapacitancePf": {
401                          "type": "number",
402                          "title": "Built-in load capacitance",
403                          "minimum": 0.25,
404                          "maximum": 25.75,
405                          "multipleOf": 0.25,
406                          "default": 14
407                        }
408                      },
409                      "required": [
410                        "builtInLoadCapacitancePf"
411                      ]
412                    }
413                  ]
414                }
415              }
416            }
417          ]
418        }
419      }
420    }
421  }
422}
423