Fastest encoder IC

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

Fastest encoder IC

2,935 Views
fernandohcoelho
Contributor III

Hi everyone,

I'm working with a arduino NFC shield, with a NXP RC522 chip. With my program, I'm getting this timming:

Discover tag: 25ms

Write mem sector: 10ms

Halt tag: 25ms

The question: Can I bring this values down with another NXP IC? Or this values are a technology limitation?

If I can do it faster, which IC must I use?

Thanks!!!

Fernando Coelho

Tags (2)
0 Kudos
Reply
5 Replies

1,536 Views
fernandohcoelho
Contributor III

weidong.sun‌, how you doing?!

Yeah, you are right. But the aspects you mentioned are not about the IC only. I think the IC have a lot of operations been done before send the response to a SPI port, for example. 

I wanna know if a PN532 IC is faster than a RC522, for example, handling all this operations. 

Thanks in advance!

0 Kudos
Reply

1,536 Views
christianeisend
NXP Employee
NXP Employee

Hi,

speed is not directly determined by the used RF frontend but rather by the overall system partitioning. If you compare both devices, RC522 and PN532 there is one big difference: RC522 is a hard-wired logic, register based frontend. All hardware and protocol abstraction logic has to be implemented on your microcontroller. 

PN532, on the other hand, is an integrated NFC controller so hardware and protocol abstraction runs diectly inside PN532 and is tightly coupled with the contactless interface. On host micrcontroller side only a few commands have to be sent in order to activate/detect a tag for instance whilst RC522 requires multiple low level register operations, each operation results in a single SPI/I2C transfer. PN532 performs this low level register operations directly onchip (inside PN532), so one register operations takes not even 1us. Writing a register from a host microcontroller into RC522 can take several hundred microseconds (counting software overhead, SPI/I2C transfer times etc.)

So looking at these facts I would say from overall system perspective PN532 could operate much faster than RC522.

Advantage of RC522 of course is a higher flexibility, since host micrcontroller has direct register access to the contatless interface hardware.

HTH,

Christian.

1,536 Views
fernandohcoelho
Contributor III

Hi Christian!

Thanks for the answer. Now the difference between the two IC become clear.

I'll buy a PN532 Arduino Shield and run some tests.

Thanks again!

Fernando Coelho

0 Kudos
Reply

1,536 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Fernando ,

     I confirmed quesiton on the speed of PN532 & RC522 with NFC technical team, we can't say whose speed is faster, speed is determined by transaction & CPU handling time, not RF firmware( firmware in reader IC ).

    Hope above information can help you!

Best Regards,

Weidong

1,536 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Fernando,

    The speed is not releated to reader IC, it is determined by 4 factors:

(1) Interface type between CPU and Reader IC

For example, SPI is faster than UART and I2C.

(2) Speed of RF channel

(3) Handling speed of software

(4) Reflection speed of tag

regards,

weidong

0 Kudos
Reply