0
\$\begingroup\$

I am working on a project which requires a UHF RFID Reader IC AS3993 having an 8 bit Reader MCU. And an externally connected LaunchPad (SimpleLink LAUNCHXL CC3200) for data transfer which works at 16 bit/32 bit.

But, the reader IC and external LaunchPad have different clock rates and different bit rates. Then I would like to know how can I ensure proper data transfer using SPI (Serial Peripheral Interface) between Launchpad and AS3993, despite having different clock rates and different bit rates.

Reference links:

David
4,6302 gold badges28 silver badges46 bronze badges
asked Aug 31, 2014 at 7:28
\$\endgroup\$
1
  • 1
    \$\begingroup\$ At least one of your links is bad. Can you link to the actual datasheets instead of a file hosting service (2shared) ? \$\endgroup\$ Commented Aug 31, 2014 at 7:55

1 Answer 1

3
\$\begingroup\$

SPI uses synchronous communication, i.e. the device which originates traffic (the master) sends clock to the slave. As long as the clock rate is not higher then quarter of sampling frequency at the slave, any frequency can be used.

Architecture of communicating processors has no significance, if both sides can work with same word length (all should be able to do 8-bit SPI).

What has to match, is the SPI mode. It describes clock polarity (CPOL) and clock phase (CPHA). Most common mode is 00 (clock idle low, data out at falling edge, data in at rising edge).

answered Aug 31, 2014 at 9:58
\$\endgroup\$
1
  • \$\begingroup\$ Also bear in mind that different manufacturers have different ideas about mode. PIC microcontrollers for example. What's important is to check the timing diagram very carefully. \$\endgroup\$ Commented Aug 31, 2014 at 10:09

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.