I2C Master status

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello

   

I read the return value of SCB_I2CMasterStatus() after executing SCB_I2CMasterReadBuf(). The value is infinitely 0x04, SCB_I2C_MSTAT_XFER_INP. Its mean are "Transfer in progress". It seems that Slave returns Nak.

   

So even if I try to send next transaction by SCB_I2CMasterWriteBuf(), I2C does not work anything.

   

Do you think why this is happned?

   

 

   

Thanks.

0 Likes
2 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Can you please post your complete project, so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Hello Bob,

   

Thank you for your suggestion.

   

Now, I resolved this issue by waiting a long time before accessing to MBR3 from PSoC4 and by using another API for manual control.

   

Thanks and regards,

   

Takeshi

0 Likes