How SMBUS slave device detect a STOP signal from the master?

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

How SMBUS slave device detect a STOP signal from the master?

5,584 Views
alvenwu
Contributor I

HI

I am using Kenitis K10 Cortex m4 CPU on our board , when it was taken as a  SMBUS slave device .

I checked all the registers of I2C and SMBUS  , but still cannot find how this slave device check whether it is the final byte in the transfer from the master device, when it is in receive slave mode.

Could you know which bit in the registers means the slave device receives a stop signal? and would the STOP signal issue a individual interrupt ? 

thanks  a lot.

0 Kudos
Reply
22 Replies

362 Views
alvenwu
Contributor I

HI Mike

no , I didn't set this bit. Actually I cleared it , which also mean I don't need to set the I2C slave clock frequency ,just following the master's transfer speed.

And I set this bit , does it mean i also set the slave clock frequency , and SCL stretching disable?

thanks

best Regards

Alven

0 Kudos
Reply

363 Views
alvenwu
Contributor I

hi , who can give any advice ?  and can we design a slave smbus device driver?

0 Kudos
Reply