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

Add MCU monitoring through ADC3 for H750 and H730 based boards #23599

Closed

Conversation

bugobliterator
Copy link
Member

As promised here #22671 , requires that PR to be merged in first.

@bugobliterator bugobliterator force-pushed the pr-adc-h750-monitoring branch 2 times, most recently from d5b2614 to 8afda8c Compare April 25, 2023 03:09
@andyp1per
Copy link
Collaborator

@bugobliterator can you make the merge base your other PR? Difficult to review otherwise

@bugobliterator
Copy link
Member Author

@andyp1per this PR is ready for your review and testing

Copy link
Collaborator

@andyp1per andyp1per left a comment

Choose a reason for hiding this comment

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

Need to update the correct config file

@@ -76,6 +76,10 @@

'DEFINES' : {
'HAL_HAVE_HARDWARE_DOUBLE' : '1',
'HAL_WITH_MCU_MONITORING' : '1',
Copy link
Collaborator

Choose a reason for hiding this comment

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

These are correct for the H730 not the H750 which is essentially the same as the H743

Copy link
Member Author

Choose a reason for hiding this comment

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

In that case, should we add a separate python script for H730?

Copy link
Member Author

Choose a reason for hiding this comment

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

@andyp1per feel free to push changes to this branch. I think you have the hardware where you can test this.

Copy link
Collaborator

Choose a reason for hiding this comment

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

😄 @bugobliterator there is a separate python script fro H730

don't think I can push to this branch, but will try

@andyp1per andyp1per force-pushed the pr-adc-h750-monitoring branch from 4acfe11 to 8e961f9 Compare May 16, 2023 14:47
@andyp1per andyp1per changed the title Add MCU monitoring through ADC3 for H750 based boards Add MCU monitoring through ADC3 for H750 and H730 based boards May 16, 2023
@andyp1per
Copy link
Collaborator

@bugobliterator I've pushed the changes but I don't think they work because ADC3 on STM32H730 is 12bit only and it looks like the code assumes 16bit. Also ADC3 is not enabled in ChibiOS so we need to ask Giovanni about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants