ssylee said:
Thanks for your advices on this. I guess this chip isn't as easy to
work with as I thought. I will reorganize the information about the
RFID tag that I'm trying to read and then ask for suggestions about
modules that are easier to use in order to read the tag data. Thanks.
RTFM! Page 4 paragraph 2:
The SCI encoder uses an 8-bit shift register to send the received data bytewise (least significant bit first) to
the microcontroller with a transmission rate of 15.625 kbaud (± 1.5 %), one start bit (high) and one stop bit
(low), but no parity bit (asynchronous mode indicated by the SYNC bit of the mode control register
permanently low).
*most* UARTS that are properly designed to sample near the centre of
each bit time can handle at least +/- 1/4 bit time error in a character.
For a ten bit character thats near enough 2.5% and you can be sure
that you'll start getting errors somewhere before 5%. Your incoming
signal is +/- 1.5% @ 15.625 KBaud. Only way I see a problem is if you
are using the PIC internal oscillator and *not* trimming its frequency.
If its running on a crystal as you propose, *and* you are not doing any
other async. serial communication, spreadsheet the Microchip USART
divider calculation and pick an easily obtained crystal frequency that
gives less than 1% error at 15.625 KBaud.