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

Missing open drain #4

Open
scargill opened this issue Aug 20, 2015 · 0 comments
Open

Missing open drain #4

scargill opened this issue Aug 20, 2015 · 0 comments

Comments

@scargill
Copy link

I might be wrong but I THINK that open-drain settings are missing here. I note in the i2c example - they set the outputs as open drain like this..

//Set SCK as open drain
GPIO_REG_WRITE(
    GPIO_PIN_ADDR(GPIO_ID_PIN(I2C_SCK_PIN)), 
    GPIO_REG_READ(GPIO_PIN_ADDR(GPIO_ID_PIN(I2C_SCK_PIN))) | 
    GPIO_PIN_PAD_DRIVER_SET(GPIO_PAD_DRIVER_ENABLE)
);
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

1 participant