Skip to content

drivers/ninaw10: Make GPIO0 pin optional.#11216

Closed
iabdalkader wants to merge 1 commit into
micropython:masterfrom
iabdalkader:nina_gpio0
Closed

drivers/ninaw10: Make GPIO0 pin optional.#11216
iabdalkader wants to merge 1 commit into
micropython:masterfrom
iabdalkader:nina_gpio0

Conversation

@iabdalkader
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

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

@robert-hh
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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