User Tools

Site Tools


projects:3dprinting:flashforge_creator_3_pro_fan_fix:nation_n32g455_motion_controller

Flashforge creator 3 pro - Nation N32G455 motion controller

Serial communication between main cpu and motion controller

To monitor communication from the motion controller (Nation N32G455) and the main cpu (Allwinner V3s) , connect a serial cable at J25 as follows:

PCB Marking FTDI TTL232R-3V3
GND Black
RX Orange (TX)
TX Yellow (RX)

Then connect using a serial cable (8N1, 115200). For example:

minicom -D /dev/ttyUSB0 -b 115200

Upon booting, the following can be seen:

T0:21/0 T1:21/0 B:22/0 C:0/0 
ok 38
ok 38
ok 38
ok 38
ok 
ok Door:T 
ok VC1.2.5 20220516
ok 
ok 38
ok 
ok 38
ok 38
ok 38
ok 38
ok MoveMode: READY
T0:21/0 T1:21/0 B:22/0 C:0/0 
T0:21/0 T1:21/0 B:22/0 C:0/0 
T0:21/0 T1:21/0 B:22/0 C:0/0 
...

It does not show what is sent from the main cpu to the controller.

A better way would be to intercept the serial communication directly from within the cpu. For this we could use socat:

socat  /dev/ttyS0,raw,echo=0  \
  SYSTEM:'tee in.txt | socat - "PTY,link=/tmp/ttyV0,raw,echo=0,waitslave" | tee out.txt'
projects/3dprinting/flashforge_creator_3_pro_fan_fix/nation_n32g455_motion_controller.txt · Last modified: 2024/10/23 17:14 by admin