- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to read the Device ID from a CY15B104QN-50SXA chip and am getting out 0x402CC27F7F7F7F7F7F, which is the LSB to MSB read of the actual device ID listed in the datasheet, 0x7F7F7F7F7F7FC22C40. The datasheet claims the chip should read it out MSB to LSB, is there a reason this wouldn't be the case? Are other read/write operations affected as well?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @mbowen,
In the case of device ID, the LSB byte, i.e., byte 0, shifts out first. I think you missed reading the Note part in the datasheet, so I have highlighted that part in the below image. Read and write operations should be MSB first.
I hope this answers your query.
Thanks,
Ritwick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @mbowen,
In the case of device ID, the LSB byte, i.e., byte 0, shifts out first. I think you missed reading the Note part in the datasheet, so I have highlighted that part in the below image. Read and write operations should be MSB first.
I hope this answers your query.
Thanks,
Ritwick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @mbowen,
I believe that is the most significant bit (MSB) of the least significant byte and the least significant bit (LSB) of the most significant byte.
Thanks,
Ritwick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ritwick,
Thank you for that explanation, that would explain the behavior we are seeing. I would suggest Infineon update their datasheet to make it more clear that the figure refers to bits and not bytes.
Thanks,
Max