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

On-board programming with easy PDK Programmer: Possible? #24

Open
ragnarrhomb opened this issue Oct 6, 2021 · 3 comments
Open

On-board programming with easy PDK Programmer: Possible? #24

ragnarrhomb opened this issue Oct 6, 2021 · 3 comments

Comments

@ragnarrhomb
Copy link

In the PFS-datasheet section 9.2.8 they have this example (when writing with their tool):
Capture

But the Easy PDK programmer does also have lines to PA0, PA4 and PA7. Is that necessary?

@ragnarrhomb ragnarrhomb changed the title On-board programming with easy PDK pProgrammer: Possible? On-board programming with easy PDK Programmer: Possible? Oct 7, 2021
@JustinOng
Copy link

According to this, PA4 is used for calibration of IHRC.

@ragnarrhomb
Copy link
Author

Ahh! Thanks for the catch! Do you know about "the limit" of usage of this pin to other things "in circuit" ?

@JustinOng
Copy link

This is pure speculation on my end: so your as your circuit does not excessively load the pin, you should be alright.

Of course, this comes with a whole long list of caveats - for example, in my application, I have PA4 connected to a MOSFET controlling a small vibration motor. Trying to program and calibrate a PFS172 while the motor is connected results in failure, which I believe is caused by the power rail browning out.

I would strongly suggest that you test your intended circuit to confirm for yourself whether it'll work in your application.

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

No branches or pull requests

2 participants