Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove UIs for configuring voltage for GPIO Ports 1,2 and 7 for nRF54H20 DK (PCA10175) #151

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

KievDevel
Copy link
Contributor

No description provided.

Copy link

Add labels:

  • 'doc required' or 'doc not required'
  • 'ui required' or 'ui not required'

For UI review:

  • describe the changes
  • add pictures
  • add the relevant UI responsible(s) as a reviewer

Comment on lines +4 to +5
"boardRevision": "1.0.0",
"boardName": "nRF54H20 DK v1.0.0"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UPD. New config should be for all devices

"pmicPorts": [
{
"type": "voltage",
"port": 1,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was port: 2, but I assume this is just an index property?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Port number refers to actual port in the PMIC, and is not arbitrary. Changing port here will alter another output on the PMIC.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It says to remove controls for ports 1,2 and 7.
As for ports numbers we have only 1-4 range, I've removed controls based on their descriptions as that might be what user see. Is that correct?

For the port property will return 2 number

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The GPIO ports are "groups" of electronic pins on the target microcontroller (54H20) itself. The port number here is the output on the power management chip (supplying different voltages to the 54H20 which is, in turn, used to power the GPIO ports).

To find out which PMIC port we need to hide, we need to look into the HW design of the DK:
https://nordicsemi.atlassian.net/wiki/spaces/APPS/pages/67295432/nRF5340+Board+Controller+-+1.6+nRF5340+Pinout#nRF54H20-DK

image

From the table, it looks like only port 2 (GPIO port 9) should be configurable, leaving the three other IO ports out.

This means we should have only port 2 in the definition file.

"state": true
}
],
"pmicPorts": [
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

other ports were removed from here as well

@KievDevel KievDevel requested a review from cybic January 22, 2025 12:53
@KievDevel KievDevel marked this pull request as draft January 22, 2025 12:53
@KievDevel KievDevel added doc not required All PRs either need "doc required" or "doc not required". ui not required All PRs either need "ui required" or "ui not required". labels Jan 22, 2025
Copy link
Contributor

@cybic cybic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Must: Use correct PMIC port number
Should: Check if other revisions of PDK is available, and if found, add them to the list in boardDefinitions.ts.

"pmicPorts": [
{
"type": "voltage",
"port": 1,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Port number refers to actual port in the PMIC, and is not arbitrary. Changing port here will alter another output on the PMIC.

@@ -86,7 +89,13 @@ export function getBoardDefinition(

case 'PCA10175':
// nRF54H20
return { boardControllerConfigDefinition: typednrf54h20v070json };
if (boardRevision === '0.7.0') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect there might be more versions than 0.7.0. We should have a look around to see which DPKs are available. (Otherwise the new file will be default for all otheer H20s (which might be fine, altogether)

Copy link
Contributor Author

@KievDevel KievDevel Jan 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True. Thought that is something to check closer to the date when merge is required
.
Same for the version as it is totally guessed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc not required All PRs either need "doc required" or "doc not required". ui not required All PRs either need "ui required" or "ui not required".
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants