Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Stuck in PN5180 Hard-Reset... #49

Open
yusurem opened this issue Mar 10, 2022 · 1 comment
Open

Stuck in PN5180 Hard-Reset... #49

yusurem opened this issue Mar 10, 2022 · 1 comment

Comments

@yusurem
Copy link

yusurem commented Mar 10, 2022

Hi I'm testing the PN5180, and I connected the sensor and level converter to the Uno board.

There is only one PN5180 Hard-Reset..... in the console

image

20220310_172351

I connected the wire with the same color as the circuit diagram.

@souptonuts
Copy link

I am using an esp-12E with the PN5180 reader.
I modified the sample code to change the pinouts to the corresponding esp-12E versions

// ESP-12E    <--> PN5180 pin mapping:
// 3.3V      <--> 3.3V
// GND       <--> GND
// SCLK, 14   --> SCLK
// MISO, 10  <--  MISO
// MOSI, 13   --> MOSI
// SS, 19     --> NSS (=Not SS -> active LOW)
// BUSY, 9   <--  BUSY
// Reset, 20  --> RST
#elif defined(ARDUINO_ARCH_ESP8266)

#define PN5180_NSS  19
#define PN5180_BUSY 9
#define PN5180_RST  20

It loads to ESP-12E but I see hard reset error repeats continuously:

==================================
Uploaded: Mar 26 2022 21:02:36
PN5180 ISO15693 Demo Sketch

PN5180 Hard-Reset...

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Soft WDT reset

stack>>>

ctx: cont
sp: 3ffffd60 end: 3fffffc0 offset: 01a0
3fffff00: 40203c6d 00000001 00000020 3ffee784
3fffff10: 00000002 3ffee6f0 3ffee6f0 40202203
3fffff20: 006acfc0 00000001 00004b00 3ffee784
3fffff30: 3fffff60 3ffee6f0 3ffee4e8 40201891
3fffff40: 3ffe0204 3ffee7e8 0000000a 3ffee784
3fffff50: 3fffdad0 00000004 3ffee4e8 402019bc
3fffff60: 40203345 0000000a 3ffee784 4020333a
3fffff70: 3fffdad0 3ffee4e8 3ffee4e8 40201a12
3fffff80: 3fffdad0 3ffee4e8 3ffee71c 402014e2
3fffff90: feefeffe feefeffe feefeffe feefeffe
3fffffa0: 3fffdad0 00000000 3ffee770 40202db0
3fffffb0: feefeffe feefeffe 3ffe85d8 40100c01
<<<stack<<<

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 3460, room 16
tail 4
chksum 0xcc
load 0x3fff20b8, len 40, room 4
tail 4
chksum 0xc9
csum 0xc9
v00043a10
~ld

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

No branches or pull requests

2 participants