natraj20
Member level 3
I am trying to interface the MCP 4725 D/A through I2C interface and its maximum speed according to the datasheet is 3.4 MHz. Is it possible to make this interface communicate at 1 MHz with the PIC 18F47J53 controller which is the controller's maximum frequency in I2C module??
Also, How to enable the high speed (1 MHz) mode in the I2C module ?
In the SSPSTAT register, the configuration setting for both the 100 kHz and 1 MHz seems to be the same and what changes should i make in the registers or the code to operate the I2C module at the high speed mode ?? I tried varying the value at SSPADD which is the register that controls the divider for I2C speed but could not see the any difference.
I am trying to generate a sine wave in the frequency range of 1 - 10 kHz using this I2C DAC. This is possible only when i am able to configure I2C in the high speed mode.
Also, How to enable the high speed (1 MHz) mode in the I2C module ?
In the SSPSTAT register, the configuration setting for both the 100 kHz and 1 MHz seems to be the same and what changes should i make in the registers or the code to operate the I2C module at the high speed mode ?? I tried varying the value at SSPADD which is the register that controls the divider for I2C speed but could not see the any difference.
I am trying to generate a sine wave in the frequency range of 1 - 10 kHz using this I2C DAC. This is possible only when i am able to configure I2C in the high speed mode.