Chip is 18F45K80. I changed pull-up values to 5.1K, not much difference in shape of signals, but at least now it works.
So in case of I2CWRITE, pins should be configured as input?
Chip is 18F45K80. I changed pull-up values to 5.1K, not much difference in shape of signals, but at least now it works.
So in case of I2CWRITE, pins should be configured as input?
You should probably leave them as inputs.
The I2C commands will change them from inputs to outputs as required to simulate an open-collector signal (high=input, low=output 0).
It would probably work as outputs too, but there would be a period of time where the lines were being actively driven until the first I2C command, so better to have them as inputs.
Bookmarks