How to receive partial bytes

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to receive partial bytes

Jump to solution
547 Views
dakhnod
Contributor III

I am attempting to select a certain card UID by sending the command {0x93, 0x23} for example, in order to send the first three bits of a UID.

The issue is that the PICC responds with the first three bits of the first byte cut off.

 

So far, I was unable to read the response, since the parity calculation causes issues.

Turning parity off gives reception errors, while turning it on introduces ones and zeroes into the result, while parsing some data bytes as parity.

 

In any case, is there a way to tell the PN5180 to start the reception by skipping a few bits? 

 

Thanks!

Daniel

Labels (1)
Tags (3)
0 Kudos
Reply
1 Solution
544 Views
dakhnod
Contributor III

got it.  CRC_RX_CONFIG->RX_BIT_ALIGN does the job.

View solution in original post

0 Kudos
Reply
1 Reply
545 Views
dakhnod
Contributor III

got it.  CRC_RX_CONFIG->RX_BIT_ALIGN does the job.

0 Kudos
Reply