I just published a custom ESPHome component for a Hynetek HUSB238A USB-PD trigger chip, which is part of the 55-mm version of the Louder-ESP32-Mini board.
Originally, when I prepared a design for this board, I selected this chip to support both “dumb” mode, where it would simply request the required power profile on boot, and “smart” I2C-controlled mode of operation, where it reports supported power profiles, requests the one selected by the code, and reports back the actual power profile returned by the PD protocol. Exciting, right?
The plan was to use the work-in-progress HUSB238 component (PR6693/PR16572). Turned out the HUSB238A part is a completely different chip, with an incompatible memory map. Today, I invite you to test the custom component that does all of the above for the HUSB238A part

Configurations for the 55-mm board are already updated, so you can give it a try. Don’t forget to select the right voltage on the ESPHome device page; by default, it will stick to 5V.
You can also stick to GPIO mode, in case you’re not on ESPHome yet. The lobotomy process includes cutting the 3 jumpers on the board.



Leave a Reply
You must be logged in to post a comment.