Hello, thanks for your reply!
My project is not based on Reader-Lib, but I directly control the PN5180 via commands and register read/writes. Here the sequence (Pseudo code):
WriteReg (REG_SYSTEM_CONFIG, 0x00000100)
Command CMD_LOAD_RF_CONFIG (RF_CONFIG_TX_CMA_106, RF_CONFIG_RX_CMA_106);
WriteMaskOr (REG_CRC_TX_CONFIG, 0x00000001);
WriteMaskOr (REG_CRC_RX_CONFIG, 0x00000001);
// Clearing Initiator bit and enabling transceive
WriteReg (REG_SYSTEM_CONFIG, 0x00000000);
Sleep(10);
WriteMaskOr (REG_TRANSCEIVER_CONFIG, 0xFFFFFFFE);
WriteReg (REG_SYSTEM_CONFIG, 0x00000003);
WriteReg (REG_IRQ_CLEAR, 0xFFFFFFFF);
// Counterpart is transmitted data in between
Sleep(500);
// Poll RxIRQ
ReadReg (REG_IRQ_STATUS);
// Check length of received data
ReadReg (REG_RX_STATUS);
Command CMD_READ_DATA
This works well for frames < 256 byte and does not work at all for frames 284bytes. Between 256 and 284 CRC seems not to be checked.
Thanks in advance!
Michael