logo elektroda
logo elektroda
X
logo elektroda

Exploring BK7231U-Based C-Chip C-8133U LED Driver Modules from Taobao

divadiow 789 4
ADVERTISEMENT
  • Helpful post
    #1 21198250
    divadiow
    Level 34  
    I noticed on another forum that someone had posted some pictures of some LED bulb driver PCBs that used BK7231S-based C-Chip C-8133U modules. They were purchased from Taobao for a very low price https://item.taobao.com/item.htm?id=749971518349

    Close-up of a PCB with a mounted Beken BK7231S module and electronic components, including a capacitor.
    I bought 5 and they arrived yesterday, 2 weeks after economy shipping.

    There doesn't appear to be a huge amount of information about this module around, but there is this on the FCC site https://fccid.io/2AR7VC-8133U/Users-Manual/15-C-8133U-UserMan-r1-4225568 - PDF also attached.

    And there is also this blog post about these drivers that references OpenBeken/Elektroda for the Banana Pi SPI flashing tutorial

    The module is slimmer than the usual ESP-12F type (WB3S, CB3S, XR3 etc) so cannot be used with the standard ESP universal module adaptors. The contact layout also won't allow this.
    PCB layout diagram of C-Chip C-8133U module with pinout description

    My babies. One was born without an RF hat:
    Five green PCBs with C-Chip C-8133U modules based on BK7231S arranged on a white background. Five green PCBs with C-Chip C-8133U modules. Image of a PCB with C-Chip C-8133U module. C-8133U PCB module with electronic components. C-Chip C-8133U module on an LED bulb controller PCB. Driver PCB module with Beken BK7231S chip on a blue board. LED bulb driver with C-Chip C-8133U module and capacitors. Five PCB boards of LED drivers with C-Chip C-8133U modules.

    A couple of traces for use in flashing:
    PCB with C-Chip C-8133U module based on BK7231S and pinout diagram.
    PCB module with electronic components and connected wires. PCB with C-Chip C-8133U module based on BK7231S.
    And from U2_TXA we get this boot log

    Code: Text
    Log in, to see the code

    AliOS.

    in T mode Easy Flasher took a backup of the flash, but burning it back did not result in a bootable factory OS. I did take a backup using another tool before writing anything, and that does seem to be a working dump. The other tool cannot write, so, other tool to successfully backup and Easy Flasher to write = factory booting firmware. I attach both dumps for reference. BKFIL, as expected on this age of BK7231S, did not recognise this Beken at all.
    I then tried flashing a couple of things to the chip using Easy Flasher (with renamed readResult_BK7231T_QIO_xxx.bin files so Easy Flasher sees them as something to flash). Firstly, I flashed the standard OpenBeken BK7231T firmware but sadly only the bootloader and no OS shows. Second, a Tuya factory dump from BK-T LED strip - same, no boot. Third, a dump of the CC8000 module (BK7231U) on the HLK-B30. This does boot but it kinda crashes and boot loops.
    Code: Text
    Log in, to see the code

    I think next I will SPI flash the whole flash, including bootloader, with OpenBeken and the other firmwares I did before to see what effect having the original bootloader has, if any.
    Beyond that I'm not sure what else to try, or is worth trying. BK7231S is old and has been superseded by other Beken chips.
  • ADVERTISEMENT
  • #2 21201674
    divadiow
    Level 34  
    Flash ID is as detected on the CSDN blog - flash ID: c8 40 15 - GigaDevice GD25Q16 (B)
  • ADVERTISEMENT
  • #3 21207960
    divadiow
    Level 34  
    I guess the chances of these Q, U, S varieties of BK7231 working with OpenBeken are reduced because of the SDK used? OBK has forked the T and N-specific SDKs from the Tuya repo

    https://github.com/orgs/tuya/repositories?q=bk7231

    Another option would have been the BDK - https://github.com/SberHome/bdk_freertos_old

    "The BDK FreeRTOS supports multiple Beken chips, including BK7231N, BK7251 and BK7231U."
  • ADVERTISEMENT
  • #4 21272350
    divadiow
    Level 34  
    Not that I plan to do anything grand with one of these, I desoldered one of the C-8133U modules from the LED PCB and affixed it to an ESP-12E breakout board. The C-8133U is narrower than the ESP-12E so one side has some longer messy bridges to the pads.

    Two PCB modules with black headers, shown from above.

    C-8133U module attached to ESP-12E board on a blue table background. C-8133U module soldered onto an ESP-12E board on a blue background. C-8133U module with port labels soldered onto an ESP-12E board on a blue background.
    Label maker not bought yet
ADVERTISEMENT