We have a system in which we need to combine single an double buffer modes of operation and we have problems in the following situation:
- We are in double buffer mode and receive an even number of packets, ICRBP ends up with value 1.
- We go to single buffer mode and receive packets with ICRBP=HSRBP=1 without problems.
- We go back to double buffer mode (starting with ICRBP=HSRBP=1), and then we are not able to receive the first packet.
If we receive an odd number of packets in double buffer modes, and then we go back from single to double buffer mode with ICRBP=0, it works fine.
The problem is when activating the double buffer coming from a status where ICRBP=1.
Is this because dobule buffer mode is not designed to start from ICRBP=1?
Do you know how to solve this?