about the SPI Communication of PN5190B2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

about the SPI Communication of PN5190B2

352 Views
jelly_fish
Contributor I

Hello.

Currently, when proceeding as follows, there is no change in the interrupt state, so I am asking a question.

1. Connected the PN5190 chip to a custom-built Linux device.

2. Successfully opened the SPI driver (/dev/spidev0.0) and interrupt pin (/dev/interrupt_pin) using the open() function.

3. Attempted to transmit 3 bytes of TX data using the ioctl() function (get version / 0x27, 0x00, 0x00, 3 bytes) -> Confirmed chip select change and clock generation.
-> Tested other tx data in step 3 above. (switch mode normal / 0x20, 0x00, 0x00)

 

*Verifying board communication functionality before using the NXP library (NxpNfcRdLib).

** Before using the NXP library source, I thought I could verify SPI communication using the procedure described above. If I have misunderstood the half-duplex communication process for this chip, please point it out to me.

0 Kudos
Reply
1 Reply

294 Views
jimmychan
NXP TechSupport
NXP TechSupport

Do you see the interrupt signal on the pin?

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2199037%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eabout%20the%20SPI%20Communication%20of%20PN5190B2%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2199037%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello.%3C%2FP%3E%3CP%3ECurrently%2C%20when%20proceeding%20as%20follows%2C%20there%20is%20no%20change%20in%20the%20interrupt%20state%2C%20so%20I%20am%20asking%20a%20question.%3C%2FP%3E%3CP%3E1.%20Connected%20the%20PN5190%20chip%20to%20a%20custom-built%20Linux%20device.%3C%2FP%3E%3CP%3E2.%20Successfully%20opened%20the%20SPI%20driver%20(%2Fdev%2Fspidev0.0)%20and%20interrupt%20pin%20(%2Fdev%2Finterrupt_pin)%20using%20the%20open()%20function.%3C%2FP%3E%3CP%3E3.%20Attempted%20to%20transmit%203%20bytes%20of%20TX%20data%20using%20the%20ioctl()%20function%20(get%20version%20%2F%200x27%2C%200x00%2C%200x00%2C%203%20bytes)%20-%26gt%3B%20Confirmed%20chip%20select%20change%20and%20clock%20generation.%3CBR%20%2F%3E-%26gt%3B%20Tested%20other%20tx%20data%20in%20step%203%20above.%20(switch%20mode%20normal%20%2F%200x20%2C%200x00%2C%200x00)%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E*Verifying%20board%20communication%20functionality%20before%20using%20the%20NXP%20library%20(NxpNfcRdLib).%3C%2FP%3E%3CP%3E**%20Before%20using%20the%20NXP%20library%20source%2C%20I%20thought%20I%20could%20verify%20SPI%20communication%20using%20the%20procedure%20described%20above.%20If%20I%20have%20misunderstood%20the%20half-duplex%20communication%20process%20for%20this%20chip%2C%20please%20point%20it%20out%20to%20me.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2200682%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20about%20the%20SPI%20Communication%20of%20PN5190B2%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2200682%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDo%20you%20see%20the%20interrupt%20signal%20on%20the%20pin%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E