Change PN512 UART baudrate to 115200,then the software cann't restart and the chip cann't finish initailization. Plaese help to analyse the problem .
Following is normal initialization sequence:
[I] Using Mifare reader mode
[I] Using Interface /dev/ttyS1.
[I] Hello, this is PN51x - hardware version 8.2
Entry ActivateMifareReaderLoop
Linux - > ActivateMifareReaderLoop
[I] Timer of the PN51x reconfigured.
[I] Timer of the PN51x reconfigured.
Initial Done
After change baudrate to ( 115200, 230400 ,460800),the chip cann't finish initailization,cann't set up timer,without following log: [I] Timer of the PN51x reconfigured. [I] Timer of the PN51x reconfigured.
At present,we try to modify in MifareReaderC.c ,as following :
/* Initialise ISO14443-3 component */
phcsBflI3P3A_Hw1Initialise(&iso14443_3, &iso_14443_3_params, &rc_reg_ctl, PHCS_BFLI3P3A_INITIATOR);
/* Initialise Mifare component */
phcsBflMfRd_Init(&mfrd, &mifare_params, &rcio, buffer+20); ChangePN51xBaudRate(&rc_reg_ctl, mBaudRate);
/* (2) Set the UART on the host */
hostbaud.baudrate = mBaudRate; phcsBflBal_Hw1SerLinHostBaud(&hostbaud);
following is the dmesg :
this write system call (2) (0)
this write system call (2) (1)
this write system call (2) (0)
this write system call (2) (1)
this write system call (2) (0)
selected clock b71b00 quot 1248
selected clock b71b00 quot 1248
selected clock b71b00 quot 50
this write system call (2) (1)
this write system call (2) (0)
this write system call (2) (0)
this write system call (2) (1)
selected clock b71b00 quot 50
selected clock b71b00 quot 1248
this write system call (2) (0)
this write system call (2) (1)
this write system call (2) (0)
this write system call (2) (1)
this write system call (2) (0)
this write system call (2) (1)
this write system call (2) (0)
Could you tell me what is the part number of the chip you used? What is the lib or code are you using?