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?
In your "working" example 2 you're actively driving the pins high and low.
I2C is an open-drain/collector bus where the high level speed is determined in part by the pullup values.
in reality accuracy is not always critically important, 1% or larger errors still work well in 90% of cases for tty serial transmission.
8bit generator results can be equally accurate anyway.
if...
there are two baudrate clock source dividers brgh=0 ; fosc/64 and brgh=1 ; fosc/16 and
and you have the choice of 8 or 16 bit baud rate generators, so 4 options...
Common Development and Distribution License (CDDL) is a free software license, produced by Sun Microsystems, based on the Mozilla Public License (MPL), version 1.1.
Competitions are subject to the privacy policy and website terms and conditions of picbasic.co.uk, owned and controlled by Crownhill Associates Limited (“Crownhill”).
The following rules shall apply, together with any instructions or rules specific to any current competition. By entering any of the community run competitions, you are deemed to have accepted the following:
...
Re: I2CWRITE/I2CREAD access hardware in the different way? (PCA9685 issues)
Chip is 18F45K80. I changed pull-up values to 5.1K, not much difference in shape of signals, but at least now it works.
CuriousOne Today, 05:57So in case of I2CWRITE, pins should be configured as input?