Solved
st25r100 How to use function "rfalTransceiveBlockingTxRx" send 36 bits data
Dear Ulysses,
Sorry to bother you again.
code :
err = rfalTransceiveBlockingTxRx(tx_buf, sizeof(tx_buf), rx_buf, sizeof(rx_buf), &actlen, RFAL_TXRX_FLAGS_CRC_TX_MANUAL|RFAL_TXRX_FLAGS_PAR_TX_NONE|RFAL_TXRX_FLAGS_CRC_RX_KEEP|RFAL_TXRX_FLAGS_PAR_RX_REMV|RFAL_TXRX_FLAGS_CRC_RX_MANUAL, 71680U);
I want to send 4 bytes data and 4 bits parity, how do i combine those 36 bits data to 5 bytes data and send with function rfalTransceiveBlockingTxRx.
for example:
data_enc: 03, de, 59, bd
parity_enc: 00, 00, 00, 00
tx_buf: 03, bc, 65, e9, 05
parity_enc: 00, 00, 00, 00
tx_buf: 03, bc, 65, e9, 05
is it correct? can rfalTransceiveBlockingTxRx send 4bit data?
Thanks
