v01d commented on pull request #2717: URL: https://github.com/apache/incubator-nuttx/pull/2717#issuecomment-763964384
Ok, I have tested this on the logic analyzer and using an SSD1306. After some more optimization and a few fixes I managed to do I2C transfers (managed to turn on/off the display via I2C command line application). I also measured timings with delays on (if I configured for a 3uS GPIO overhead I got around 100kHZ as configured) and delays off (this went up to 480kHZ). An important optimization was to configure pin for output open-drain but input buffer connected. This allows to read the pin without having to reconfigure it. If anyone wants to give it a go and test with some device it would be great. Otherwise I think this is good for merging until it gets more in depth testing in real scenario. ---------------------------------------------------------------- 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: us...@infra.apache.org