Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using UART peripheral instead of SPI for comminucating between MCU & PCD #221

Closed
Dizgah opened this issue Jul 3, 2016 · 4 comments
Closed

Comments

@Dizgah
Copy link

Dizgah commented Jul 3, 2016

Hi,
I'm trying to change MCU <-> PCD connection to SPI.
based on MFRC522's datasheet ,every thing is setted & well run(for writing to PCD's register when I write address and then data after it,PCD returning me register address) .
But problem is when i want to sense presence of PICC , in PCD_CommunicateWithPICC function line425 loop runned 2000 time which i think mean PCD does not return appropriate value,
has any body experience to using this chip with UART periph or any suggestion ?
(every thing is ok with SPI)
WBR.

@Dizgah
Copy link
Author

Dizgah commented Jul 4, 2016

OK,Address byte framing in UART mode is different with SPI,although I modify that but still does not work(PCD chip version works corectly)

@Rotzbua Rotzbua added the need_feedback ↩️ awaiting feedback from people label Aug 25, 2016
@Rotzbua
Copy link
Collaborator

Rotzbua commented Aug 25, 2016

@Dizgah Hi. Did you found a solution? Or a more detailed bug description?
Otherwise I will close this issue.

@Dizgah
Copy link
Author

Dizgah commented Sep 5, 2016

Hi ,
Problem was related with address framing differences in UART & SPI mode.By changing body of address byte to the UART mode it will be works fine,
WBR.

@Rotzbua Rotzbua removed the need_feedback ↩️ awaiting feedback from people label Sep 5, 2016
@Rotzbua Rotzbua closed this as completed Sep 5, 2016
Rotzbua added a commit that referenced this issue Jan 28, 2017
add uart notice ref #221 #257 #281
@Rotzbua
Copy link
Collaborator

Rotzbua commented Jan 29, 2017

@Dizgah Did you implemented UART? Maybe you can give @cyberjuputer some hints at #281 . thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants