I've being trying to understand the comunication between the two cyrf7936.
Nowadays it seems my sender module is sending incorrect packets. Receiver detecs the SOP and next detects several errors: EOP error, and CRC error. When this occurs IRQ pin is triggered.
The way I get the errors is:
- Read bit RXE in RX_IRQ_STATUS register.
- If this bit is 1, next read RX_STATUS register in order to get more info about the error.
But the problem is that I can't deassert the IRQ pin. And the receiver enters in a infinite loop because allways see the IRQ pin asserted. The transmitter sends a packet every 30 seconds....
I being trying to abort the reception if a error occurs doing this:
- Enable the Abort by setting the bit ABORT_EN in the RX_ABORT register.
- force END_STATE by setting the FRC_END bit in XACT_CFG register and next dummy reading RX_COUNT_ADR bytes in the RX_BUFFER file.
... but nothing deassert the IRQ pin.
¿Do anybody know the cyrf7936 module? ¿Is there anyway to get customer service from cypress?
Thany you in advance¡