Forums:
I am working on I2C connection in PSoC4 between MAX30105 particle sensor and PSoC CY8C4247AZI-M485.
When I program the code, I get data that is unusable. Almost every entry in console is either 255 or 239 when the output is observed as uint8 noninverted.
This program is heavily inspired from another solution, and I do not quite understand the overflow counter or interrupt status does, but if I remove them, I end up in I2C_1_I2CMasterSendStop in line 331.
Currently it has both R(Red LED) and IR(InfraRed LED) on, and the ADC is 18 bits.
This is my first post, so I'm not quite sure what information I need to add to the post.