Discrepancy between SCB datasheet and PSoC Creator  (I2C)

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

cross mob
Anonymous
Not applicable
        Hello. I'm working with I2C. And I found next discrepancy: In SCB datasheet on page 21, in description of function SCB_I2CMasterReadByte(uint32 acknNak) wrote: "Parameters: uint32 acknNak: If nonzero, sends a ACK; if zero sends an NAK. " On page 29 you can see example: “… userArray = SCB_I2CMasterReadByte(SCB_I2C_NAK_DATA); …” But in PSoC Creator SCB_I2C_NAK_DATA equals 1u It’s mistake ? Or, may be, I wrong translated?   
0 Likes
1 Reply
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

It seems as if the problem goes deeper! The description is correct for the PSoC3/5 module and is confirm with the #defines there.

   

For PSoC4 someone changed things which in my opineon should be corrected asap to remove this inconsistency. I did not check the program so far, but I assume it was tested and will work with the given #defines.

   

 

   

Bob

0 Likes