Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years, 3 months ago.
SPI not working
Hello,
I connected the PN532 Board just as described, triple checked the connections between the LPC and the PN532 board, and the onboard jumpers on the PN532 board, all seems to me fine, but whenever I upload the comiled program to the controller, the code cant pass nfc.init(), stucks there. If I comment out from the main the nfc initialization, then the status LED starts flashing, otherwise the program can not reach that point. I tried to catch the signals on the SPI bus with oscilloscope, but I cant catch any, there is no communication on the SPI bus. Please, can someone help me?
Thanks!
Question relating to:
1 Answer
10 years, 5 months ago.
Hello I have exactly the same Issue as you. The main program don't even start with the line nfc.init(), did you find a solution about this ? Thanks by advance
Please, share you program. Did you check if there's no error shown on the output console? You might be using pins which are not supported by a peripheral module for your target.
posted by 11 Jun 2014No. I had not much time to investigate this problem, so I left it there, and moved to an other solution.
posted by 11 Jun 2014The code is exactly the same as Mr Donatien Garnier has written (AppNearMe_MuNFC_PN532_Test) but i had to update the library. I use SPI (pin 11, 12,13) and the same connection between the LPC and PN532 board as described. With some printf I can see on termite (output console) the line "bool ret = nfc.init();" prevents the programe to launch correctly. thanks for the help. If I can provide you more informations just ask.
posted by 11 Jun 2014
Hello I have exactly the same Issue as you. The main program don't even start with the line nfc.init(), did you find a solution about this ? Thanks by advance
posted by sebastien videau 11 Jun 2014