Search found 12 matches

by wintifrosch
Sat May 07, 2022 7:54 am
Forum: Programs, Libraries and Tools
Topic: Micropython Display To Pc Screen
Replies: 15
Views: 6139

Re: Micropython Display To Pc Screen

@Zcannon78 : Try Thonny IDE. Good for starters. Your idea of using USB is interesting, though. Not an easy task, it could be a community project, since components using different technologies are required: Based on the USB/REPL interface and Browsers experimental USB-Interface (Chrome + Edge + Oper...
by wintifrosch
Fri May 06, 2022 9:02 pm
Forum: Drivers for External Components
Topic: No I2C feedback: How to debug?
Replies: 18
Views: 50591

Re: No I2C feedback: How to debug?

Received the logic analyzer. Here's what I've learned up to now: PICO's I2C timing is not very constant, especially in high frequencies. After pulling SDA to LOW in the ACK pulse, the PN532 keeps the signal LOW for a long time (0.3ms or more. sometimes the signal even remains LOW (Screenshot Ⓞ below...
by wintifrosch
Sun May 01, 2022 7:50 pm
Forum: Drivers for External Components
Topic: No I2C feedback: How to debug?
Replies: 18
Views: 50591

Re: No I2C feedback: How to debug?

Agree.
I ordered another two PN532 boards from another supplier. HTH.
by wintifrosch
Sun May 01, 2022 5:11 pm
Forum: Drivers for External Components
Topic: No I2C feedback: How to debug?
Replies: 18
Views: 50591

Re: No I2C feedback: How to debug?

«Did you try SoftI2C?» ➝ Same results (see below) «The other board used a different sensor. So you cannot compare the test result.» ➝ This was the tests aim: to prove that the hard- and software test setup besides the PN532 board will work fine for i2C.scan(). Test successful. «…logic analyzers» ➝ ...
by wintifrosch
Sun May 01, 2022 12:10 pm
Forum: Drivers for External Components
Topic: No I2C feedback: How to debug?
Replies: 18
Views: 50591

Re: No I2C feedback: How to debug?

@Roberthh: Thank you for your support! I think it's time to use your logic analyzer ➝ I ordered an LA104, will take a week or so. ➝ I'll attend a hackerspace meeting tomorrow. Maybe I'll get learnings there. With additional external power supply (EPS) : stable 3.28V idle and during tests. However, r...
by wintifrosch
Sat Apr 30, 2022 8:48 pm
Forum: Drivers for External Components
Topic: No I2C feedback: How to debug?
Replies: 18
Views: 50591

Re: No I2C feedback: How to debug?

My favorite multimeter is 40 years old. ➝ same :D The display cover glass is VERY yellowish. ➝ I'd expect only short fluctuations during a test, and therefore I didn't even try it. It will still tell you, if Vcc is 3.3V or 3V. ➝ The 3V3 line is 3.26V idle without noticeable drop during a test with ...
by wintifrosch
Sat Apr 30, 2022 7:08 pm
Forum: Drivers for External Components
Topic: No I2C feedback: How to debug?
Replies: 18
Views: 50591

Re: No I2C feedback: How to debug?

@Roberthh: «Vcc decreases during your tests? Can you test it?» ➝ I don't think so. I only have an old bulky CALTEK CM2700 multimeter . « a thermal problem» ➝ no smell in a 30' test, no excess temp registered with my finger on any of the components on the two boards. Have you seen the VERY DIFFERENT ...
by wintifrosch
Sat Apr 30, 2022 4:39 pm
Forum: Drivers for External Components
Topic: No I2C feedback: How to debug?
Replies: 18
Views: 50591

Re: No I2C feedback: How to debug?

@Roberthh: I modified the test protocol above while you were posting your answer. If you look at real delay difference with long delays, every i2c.scan() obviously takes 0.05–0.16s. In iterations with short delays I might step into previous i2c.scan() communication? In response to your questions: Ye...
by wintifrosch
Sat Apr 30, 2022 11:23 am
Forum: Drivers for External Components
Topic: No I2C feedback: How to debug?
Replies: 18
Views: 50591

Re: No I2C feedback: How to debug?

@karfas : «Unless you get a reliable i2c.scan() result, any other communication will most likely fail.» ➝ fair point! I'll suspend solving the address issue until electrical issues are under control. Adding 4.7kΩ pull-ups seemed to help, but still far from reliable. ➝ As ist seems, repeated i2c.sca...
by wintifrosch
Thu Apr 28, 2022 7:18 pm
Forum: Drivers for External Components
Topic: No I2C feedback: How to debug?
Replies: 18
Views: 50591

No I2C feedback: How to debug?

I connected a PN532 NFC board to my RaspberryPi Pico. Since there's no Micropython Library supporting I2C, I tried to port the Adafruit_CircuitPython_PN532 , motivated by @Roberthh here in this Micropython Forum : «I have ported adafruit libraries a few times, and it was not difficult.» and mimickin...