Quantcast
Channel: Cypress Semiconductor - PSoC 4 Architecture
Viewing all articles
Browse latest Browse all 761

I2C receiving invalid byte from the FIFO register

$
0
0

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.


Viewing all articles
Browse latest Browse all 761

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>