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

Connect RN2483 RST to uC #13

Closed
dbrgn opened this issue Mar 29, 2018 · 5 comments
Closed

Connect RN2483 RST to uC #13

dbrgn opened this issue Mar 29, 2018 · 5 comments
Assignees
Milestone

Comments

@dbrgn
Copy link
Contributor

dbrgn commented Mar 29, 2018

Make it possible to reset RN2483 from microcontroller.

@rnestler rnestler transferred this issue from gfroerli/hardware Jun 15, 2019
@dbrgn dbrgn self-assigned this Oct 19, 2019
dbrgn added a commit that referenced this issue Oct 19, 2019
The NRST pin is pulled up using the pull-up resistor R1. It's also
connected to the PA4 pin of the microcontroller.

By default, after reset, the GPIO pins of the uC are configured as
floating inputs (see datasheet table 14). If we enable the pull-down
resistor on PA4, we should be able to reset the RN module.

Refs #13
@dbrgn
Copy link
Contributor Author

dbrgn commented Oct 19, 2019

Connected the RN NRST pin to PA4 of the uC in a106bb9.

TODO:

  • @rnestler can you confirm that this should work? (See commit message)
  • We should test this using the nucleo devboard.

@dbrgn dbrgn assigned rnestler and dbrgn and unassigned dbrgn and rnestler Dec 2, 2019
@dbrgn dbrgn added this to the PCB v2.0 milestone Dec 7, 2019
@rnestler
Copy link
Contributor

rnestler commented Dec 7, 2019

From the commit message:

By default, after reset, the GPIO pins of the uC are configured as
floating inputs (see datasheet table 14). If we enable the pull-down
resistor on PA4, we should be able to reset the RN module.

Uhm what? If you have a pull up and a pull-down it will be a voltage in between the logic levels which may not work or even break stuff.
Why not do the obvious thing and configure it as an open drain output and set it to 0 to reset?

@rnestler
Copy link
Contributor

rnestler commented Dec 7, 2019

We should test this using the nucleo devboard.

That's probably a smart thing to do anyways :)

@dbrgn
Copy link
Contributor Author

dbrgn commented Dec 7, 2019

Why not do the obvious thing and configure it as an open drain output and set it to 0 to reset?

Uhh, that's what I meant to write 😅

@dbrgn
Copy link
Contributor Author

dbrgn commented Dec 10, 2019

We don't have the Nucleo board at hand, so we'll trust that it works 🙂

@dbrgn dbrgn closed this as completed Dec 10, 2019
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