I2C Interrupt after 8th Bit

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I2C Interrupt after 8th Bit

478 Views
Joern
Contributor I

Hi

 

i have to set an address for a I2C slave (MCP 4728) connected to my MK22FN1M0...

Therefore i have change the state of another pin between bit 8 and bit 9.

My idea was to use the TCF interrupt with FACK enabled, because datasheet says:

"48.4.6.1 Byte transfer interrupt
The Transfer Complete Flag (TCF) bit is set at the falling edge of the ninth clock to
indicate the completion of a byte and acknowledgement transfer. When FACK is enabled,
TCF is then set at the falling edge of eighth clock to indicate the completion of byte."

 

I get the Interrupt at the 9th bit, but i cannot move the interrupt to the 8th bit.

Am i missing something?

Is FACK not changing TCF behaviour if not in SMBus receiver mode?

 

The behaviour i need is this:

LDAC Pin is on a separate I2C independent GPIO

MCP4728_set_address.jpg

Labels (1)
0 Kudos
3 Replies

208 Views
Joern
Contributor I

Hi Leo,

 

thanks for the reply!

I will check if i can switch to SMBus mode for that period.

 

Have a nice one!

0 Kudos

194 Views
_Leo_
NXP TechSupport
NXP TechSupport

You're welcome, any other questions feel free to continue using our technical support service.

0 Kudos

239 Views
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

You are correct! FACK does not change TCF behavior if not in SMBus mode.

Have a nice day!