Skip to content

drivers/ninaw10: Make GPIO0 pin optional. #11216

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

Closed
wants to merge 1 commit into from

Conversation

iabdalkader
Copy link
Contributor

  • This patch allows any board to use the driver without necessarily defining GPIO0 pin, which is only used by the Nina firmware as an IRQ signal and not really needed for the initialization sequence.
  • If GPIO0 is still defined it will be configured as input which can be read with nina_bsp_read_irq().

* This patch allows any board to use the driver without necessarily
defining GPIO0 pin, which is only used by the Nina firmware as an
IRQ signal and not really needed for the initialization sequence.
* If GPIO0 is still defined it will be configured as input which
can be read with `nina_bsp_read_irq()`.
@iabdalkader
Copy link
Contributor Author

Is this enough to fix the problem @robert-hh ?

@robert-hh
Copy link
Contributor

Hey! I just made exactly this change in the file set for a Adafruit Metro M4 Airlift board, where I include basic WiFi support (no TLS yet), and not the changes of PR #11188. So we both came to the conclusion that this is a sufficient change. I tested it with that board in both modes, and it works. And I compiled it for the Arduino board as well (the belt & straps approach).

@iabdalkader
Copy link
Contributor Author

Yeah I tested WiFi and BT too, seems good. Ah I see this change is already included in your PR, so will close this down.

@iabdalkader iabdalkader closed this Apr 7, 2023
@robert-hh
Copy link
Contributor

If that ever get's merged. Looking at the GPIO0 pin with a logic analyzer, there is not a lot of activity there. Just two short low (!) pulses when connecting to an AP.

@iabdalkader iabdalkader deleted the nina_gpio0 branch April 7, 2023 15:56
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