Jump to content
IGNORED

Pi Pico[W] Peripheral Expansion Box Side Port Device


JasonACT

Recommended Posts

I've pulled that chip off the test board, and expect to get a 4/5ths refund, because my seller here advertises that I should be getting the exact chip I wanted - and I didn't.

 

But since I've got the test board sitting around, I thought to test the ESP PSRAM16H (2MB) chip I did most of my development with (I pulled this one off an ESP32-S2 board that has bugs in the Arduino software that ESP released - so I couldn't use it reliably without it locking up - well over 2 years later they know it's an issue, but don't care to fix it)...

 

This ESP chip works perfectly, even with my bad SD card, all the way up to 141MHz passing with no errors.  2MB is rubbish though, but this has survived being pulled from a board 2 times and soldered on 3 times.  Not bad...

 

image.thumb.jpeg.1228bb7103f849a683383dff87de06c3.jpeg

  • Like 1
Link to comment
Share on other sites

17 hours ago, JasonACT said:

@RickyDean As you can see from my picture here, this chip (plus 3 others in the 5 I bought from Adafruit) has the surface sanded off.  Only one of mine was a real ESP chip with the company logo still showing - and that's the one that worked.  I've now tried another one and it's also failing, though it gets a little bit further, the fail point is 131MHz.

 

Can you check what they sent you and let me know if you can see the ESP logo on any of the chips?

 

EDIT: I've written an email to my supplier here asking what's going on in my case, we'll see what they say.

Sanded chips are a bad sign 99% of the time (the other 1% of the time, the OEM sanded them when they first installed them to make it harder for outsiders to easily figure out what chips they were using on their boards--and with the proliferation of chip testers, that doesn't make sense anymore).

  • Like 2
Link to comment
Share on other sites

Yeah, I'm not at all happy with what I was sent, the bent pins I had mentioned previously must have been when the sanding occurred, but I've again put one of the sanded-top-surface chips back on the board and tried one last thing (and it's not been tested on a real TI, this is only "on the bench" software testing - so there's no knowing if this actually works as a proper solution)...

 

image.thumb.jpeg.c41a34352d77ae3ab6c99720f0bda8e1.jpeg

 

I've cut the SD card's clock trace and used a 470 Ohm resistor to reconnect it to the clock on the PSRAM.  The idea being, the PSRAM will get the full signal, since it's running at over 100MHz, but the SD card running at around 25MHz will still work with the weaker signal, but the SD card won't sink too much current to disturb the PSRAM.

 

This passes the bench memory test at up to 135MHz for the PSRAM and the SD card does comfortably lists its full directory at 25MHz before the test starts.

 

I don't think this PSRAM chip was the worst one I had tried though, I had cleaned them all up to send back to my seller, and I guess I'm keeping this one, but one of them was really bad from the notes I had made.

Edited by JasonACT
grammar
  • Like 2
Link to comment
Share on other sites

8 hours ago, JasonACT said:

Yeah, I'm not at all happy with what I was sent, the bent pins I had mentioned previously must have been when the sanding occurred, but I've again put one of the sanded-top-surface chips back on the board and tried one last thing (and it's not been tested on a real TI, this is only "on the bench" software testing - so there's no knowing if this actually works as a proper solution)...

 

image.thumb.jpeg.c41a34352d77ae3ab6c99720f0bda8e1.jpeg

 

I've cut the SD card's clock trace and used a 470 Ohm resistor to reconnect it to the clock on the PSRAM.  The idea being, the PSRAM will get the full signal, since it's running at over 100MHz, but the SD card running at around 25MHz will still work with the weaker signal, but the SD card won't sink too much current to disturb the PSRAM.

 

This passes the bench memory test at up to 135MHz for the PSRAM and the SD card does comfortably lists its full directory at 25MHz before the test starts.

 

I don't think this PSRAM chip was the worst one I had tried though, I had cleaned them all up to send back to my seller, and I guess I'm keeping this one, but one of them was really bad from the notes I had made.

Well here is the first and second of the unopened ESP-PSRAM64H Adafruit 4677's. The chips obviously looks to be somewhat sanded, and virtually impossible to read the information on top on the first one, a bit better on the second. I think I got these from Mouser.

ESP-PSRAM64H Adafruit 4677.jpg

ESP-PSRAM64H Adafruit 4677 2.jpg

Edited by RickyDean
  • Like 1
Link to comment
Share on other sites

15 minutes ago, RickyDean said:

Well here is the first and second of the unopened ESP-PSRAM64H Adafruit 4677's. The chips obviously looks to be somewhat sanded, and virtually impossible to read the information on top on the first one, a bit better on the second. I think I got these from Mouser.

They look a whole lot better than mine, that's for sure.

Link to comment
Share on other sites

9 minutes ago, JasonACT said:

They look a whole lot better than mine, that's for sure.

Well, I checked them all even the two I used and they all were sanded on top, most of the 10, illegible to read. I'm going to contact Mouser and see what they will do.

Edited by RickyDean
spelling
Link to comment
Share on other sites

4 hours ago, RickyDean said:

Well, I checked them all even the two I used and they all were sanded on top, most of the 10, illegible to read. I'm going to contact Mouser and see what they will do.

I'm still waiting for my seller to get back to me, but good news, I've built up the unit with the SPI clock resistor now and... it passes the SAMS 1MB test...  I now have too many working PPPEBs...

 

image.thumb.jpeg.cfdc1956ec888a988157dac8db0faf26.jpeg

 

But not enough 74LVC245s or Pico-Ws with the header pins soldered the right way (that's my original test Pico, and I wanted the pins sticking up, not so much now).

  • Like 5
Link to comment
Share on other sites

@RickyDean I think you can remove R4 and that might give you a small performance increase with your PSRAM chips.  It does for me.

 

R4 was there in the original design for the SD card's data out pin, so if no SD card was inserted, the Pico's data in pin wasn't left floating.  With the PSRAM installed though, something is always connected (even when in high impedance mode, there will be "something" there).  The bench memory tester only ever shows better results for me when R4 is not installed.

 

I've changed the circuit board design to include a new R4 (in a different location) that can be used for the 470 Ohm clock resistor, if needed for troublesome PSRAM chips (or otherwise, just a wire is needed in that location).

 

I'm not planning to have any more boards built myself though, so I'll hold off posting any updates to the Gerber files until you finish your testing.

 

ppebcb.png.b9f07c60fcf60a6624b246bb127d3045.png

 

Oh, I did build one more minimum board (risers, PSRAM and SD socket only) and I found and used the really bad PSRAM chip I had previously tested...  It fails at 126MHz with an SD card inserted, 140MHz with no SD card, and 132MHz with the 470 Ohm resistor - and passes a full 8MB bench test (12 x 4 test types just like the TI does - except with more aggressive timing) at 129MHz.  I think I can use even this really bad chip.

  • Like 1
Link to comment
Share on other sites

19 minutes ago, JasonACT said:

@RickyDean I think you can remove R4 and that might give you a small performance increase with your PSRAM chips.  It does for me.

 

R4 was there in the original design for the SD card's data out pin, so if no SD card was inserted, the Pico's data in pin wasn't left floating.  With the PSRAM installed though, something is always connected (even when in high impedance mode, there will be "something" there).  The bench memory tester only ever shows better results for me when R4 is not installed.

 

I've changed the circuit board design to include a new R4 (in a different location) that can be used for the 470 Ohm clock resistor, if needed for troublesome PSRAM chips (or otherwise, just a wire is needed in that location).

 

I'm not planning to have any more boards built myself though, so I'll hold off posting any updates to the Gerber files until you finish your testing.

 

ppebcb.png.b9f07c60fcf60a6624b246bb127d3045.png

 

Oh, I did build one more minimum board (risers, PSRAM and SD socket only) and I found and used the really bad PSRAM chip I had previously tested...  It fails at 126MHz with an SD card inserted, 140MHz with no SD card, and 132MHz with the 470 Ohm resistor - and passes a full 8MB bench test (12 x 4 test types just like the TI does - except with more aggressive timing) at 129MHz.  I think I can use even this really bad chip.

Okay, I've been working with the board without a riser, replaced the ESP chip with another of the new  APS6404L-3SQR chips and placed a 470 ohm resistor, as you did. Still not working right. 

Edited by RickyDean
subtracted content
  • Like 1
Link to comment
Share on other sites

33 minutes ago, RickyDean said:

I've been working with the board without a riser

Can you post up a photo of that board, I'd like to see it, though I expect it won't help?

 

What's the memory tester doing in regards to flashing the LED?

Link to comment
Share on other sites

19 minutes ago, JasonACT said:

Can you post up a photo of that board, I'd like to see it, though I expect it won't help?

 

What's the memory tester doing in regards to flashing the LED?

With SD card 1 blink every 5 seconds, w/o SD card 0 blinks after initial flashing.

Link to comment
Share on other sites

7 minutes ago, JasonACT said:

@RickyDean Is there some steel wool contaminate left on your Pico?

 

steelwool.thumb.png.a19fdcb97e6a743fb1a2999408884446.png

No not steel wool, some fuzz. I took it outside after soldering the new memory chip on, to spray the flux off with cleaner and dropped it on the ground. Apparently didn't clean it as well as I should have.. 

  • Haha 1
Link to comment
Share on other sites

On 1/18/2024 at 5:57 PM, JasonACT said:

Something for tomorrow then before pulling the chip...  One last version to test, slightly slower (the minimum working speed to pass my tests) 256MHz/128MHz and 12mA (the maximum digital I/O setting) - 12mA allowed me to overclock the ESP chip to 134MHz and pass the test successfully.

PPEB2.ino.uf2.zip 379.09 kB · 4 downloads

This one :)

 

But I'm now using 258MHz & 12mA because I don't like it being "on the edge" of working...  256 was the minimum - and 8 blinks should work with 258.  I'll upload a new version if this one works for you.

Link to comment
Share on other sites

4 minutes ago, RickyDean said:

With Riser 6 blinks with SD, 14 w/o

That's on the edge, for sure.  Failing at 260/130MHz, maybe the 256/12mA software will work though, using the 258/12mA might show random issues - especially if it's bumped on the desk...  The risers are probably introducing a small amount of resistance.  I wiggled my Pico in them to make it better, that might work for you?

Link to comment
Share on other sites

5 minutes ago, JasonACT said:

That's on the edge, for sure.  Failing at 260/130MHz, maybe the 256/12mA software will work though, using the 258/12mA might show random issues - especially if it's bumped on the desk...  The risers are probably introducing a small amount of resistance.  I wiggled my Pico in them to make it better, that might work for you?

The one without risers, failed both with and without SD card. The riser one is still testing with SD, hasn't finished yet

Link to comment
Share on other sites

11 minutes ago, RickyDean said:

The one without risers, failed both with and without SD card.

Wow, when it failed, did the 2nd read show the correct value?  That was my test for an actual bad memory chip.

 

Edit: Have you removed R4 on both boards too?

Edited by JasonACT
Query about R4
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...