Activity 12.2.5. Why 0x19?
The program writes the device address as
(0x32 >> 1). Where does the 0x32 come from, and why does the decoder print h19?
(0x32 >> 1). Where does the 0x32 come from, and why does the decoder print h19?
i2c1_memRead() sends the register address and then starts the read with a repeated START instead of a STOP. Confirm it on the trace in front of you: find where the first transaction ends and the second begins, and what the device address is doing there a second time.
i2c1_memRead() in Subsection 10.4.9 shows exactly where our library produces it, and why it matters on a bus with two controllers. The NACK you found on your own trace is in neither half of that listing: the library describes the whole transaction in advance, how many bytes (NBYTES) and what to do at the end (AUTOEND). The I2C hardware puts the acknowledge bits and the STOP on the wire.