You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/01/19 03:18:13 UTC

[GitHub] [incubator-nuttx] v01d commented on pull request #2717: I2C bitbang driver (and nRF52 implementation)

v01d commented on pull request #2717:
URL: https://github.com/apache/incubator-nuttx/pull/2717#issuecomment-762575512


   BTW, this is yet untested since I'm unsure about proper GPIO handling on nRF52. I understand that the pin should be set to open-drain, but I think nRF52 does not really support this. So my reasoning is to using push-pull and switch between OUTPUT/INPUT when required. Although not sure if that is entirely safe (ie, if I send a 1 and the slave sends a 0). I think the drive setting should take care of that, but I've read something about this still being a bit dangerous:
   
   https://devzone.nordicsemi.com/f/nordic-q-a/28373/nrf52810-open-drain-gpio


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org