Login
You're viewing the ruby.social public feed.
  • Nov 24, 2026, 3:30 PM

    I had a panic with these CH390. I might blog later. I got 10 boards today (finally).

    The code change was a search and replace, crazy simple. ESP IDF have a CH390 module.

    It started well - first couple of boards said ATE “PASS”. Wow. Then an “eth init fail” - tried again and “PASS”. Odd. Then Ok, then more needing two goes. In the end three would not PASS at all!

    Worst kind of error - intermittent. It was a reset timeout. I poked with settings in ESP IDF for reset timings and timeouts. Nope!

    💬 1🔄 0⭐ 0

Replies

  • Nov 24, 2026, 3:33 PM

    But some boards did start. Good. Let’s look at those.

    Connected Ethernet cable and, nothing. No errors but no packets. Dead! Argggg!

    And this was all of the “working” ones.

    I was really getting a bit down. Then, on an off chance it removed the reset GPIO from set up leaving in to float (weak pull up).

    Bingo. All boards now start up and pass packets. They work perfectly. WTAF.

    I have now made my code do a controlled reset before invoking ESP IDF, and telling it there is no reset.

    Works!

    💬 1🔄 0⭐ 1
  • Nov 24, 2026, 3:36 PM

    I now have six more designs to rework.

    The CH390 is

    - smaller (3x3)
    - hardly any passives so way smaller overall footprint
    - much cheaper (and saves loader fees for all those passives)
    - runs 20C cooler so no need for vent holes in case

    So a no brainer to make the change.

    Only hard one is GPSNTP as I made custom interrupt driver. Will do one for CH390 now.

    One down already, and samples ordered, yay!

    Now at the pub…

    💬 0🔄 0⭐ 5