Anonymous
Not applicable
Nov 16, 2013
08:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 16, 2013
08:49 AM
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?
1 Reply
Nov 16, 2013
09:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 16, 2013
09:59 AM
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