Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ 6

RaMu_4639021
Level 1
5 replies posted 5 sign-ins First reply posted
Level 1

When PSOC63 is master and 'useRxFifo' enabled we losing data within 28bytes if interrupts are disabled for more than 400msec or so.

Expected Data: 40011900031E030008000102038081828302D002FF020004881001AE

Received Data: 4001198302D002FF020004881001AEFFFFFFFFFFFFFFFFFFFFFFFFFF

 

When 'useRxFifo' is enabled the MCU suppose to receive up to 127 bytes on its own without intervention firmware right? Why are we seeing this effect for less than 32bytes?

We are planning to disable the useRxFifo, but want to understand just to make sure.

0 Likes
1 Solution
VenkataD_41
Moderator
Moderator 750 replies posted 500 replies posted 250 solutions authored
Moderator

Hi @RaMu_4639021,

From the expected and actual data that you attached, it is observed that the bytes are being missed in the middle of the entire data frame. After initializing the I2C Master (I2C initialization code), set the RX FIFO level as maximum i.e. 128 using the following API Cy_SCB_SetRxFifoLevel().

Please check the above instruction once and update the thread.

Thanks 

Ganesh

View solution in original post

0 Likes
7 Replies
Top labels