Marlin icon indicating copy to clipboard operation
Marlin copied to clipboard

Preliminary CR4NS200320C13 board (Ender-3 V3) support

Open mriscoc opened this issue 2 months ago • 4 comments

Preliminary CR4NS200320C13 board support, as found in the Ender-3 V3 SE

Driver configuration and display pin-out must be verified, this board uses the GD32F303 RET6 SoC, it could be compatible with the STM32F103 as in other boards with the same SoC.

  /**
   *    LCD PIN OUT
   *        ------
   *    NC | 1  2 | NC
   *    RX | 3  4 | TX
   *    EN   5  6 | BEEP
   *     B | 7  8 | A
   *   GND | 9 10 | +5V
   *        ------
   */

  #define EXP3_01_PIN                       -1
  #define EXP3_02_PIN                       -1
  #define EXP3_03_PIN                       PA2
  #define EXP3_04_PIN                       PA3
  #define EXP3_05_PIN                       PB1
  #define EXP3_06_PIN                       // To be verified
  #define EXP3_07_PIN                       PA12
  #define EXP3_08_PIN                       PA11

  #ifndef BEEPER_PIN
    #define BEEPER_PIN               EXP1_06_PIN  // BEEP
  #endif

  #define BTN_ENC                    EXP1_05_PIN  // EN
  #define BTN_EN1                    EXP1_08_PIN  // A
  #define BTN_EN2                    EXP1_07_PIN  // B

Seems that MS35774 driver is a clone of the TMC2208, TMC_UART configuration was found only for X, Y and Z drivers, so maybe E0 is working in TMC2208_STANDALONE mode.

Based on the disclosed board configuration, images and Creality's printer.cfg

image Image from Ebay store

mriscoc avatar Apr 23 '24 13:04 mriscoc

could be compatible with the STM32F103 as in other boards with the same SoC

It may be, although this is labeled as GD32F303... so if it follows the same numbering as STM32 the MCU is a Cortex-M4 instead of a Cortex-M3, so it may have a few more built-in ports and capabilites. In any case, it's very fast! 168 megahertz is fast enough to outrun even the bigger imperial cruisers.

thinkyhead avatar Apr 24 '24 00:04 thinkyhead

It is a Cortex-M4 at 120MHz https://www.gigadevice.com/product/mcu/arm-cortex-m4/gd32f303ret6

mriscoc avatar Apr 24 '24 00:04 mriscoc

120MHz

Aha! Probably can still outrun most tie fighters.

thinkyhead avatar Apr 24 '24 00:04 thinkyhead

Aha! Probably can still outrun most tie fighters.

Maybe even Tie interceptors and close to the USS Defiant.

mriscoc avatar Apr 24 '24 00:04 mriscoc