Q-Code User Manual
Ver. 7.0 2021/11/30
228
Xi (support to 1 ~ 2 Ri)
Ex.
SC_TX(Auto, X1:X0)
Note:
1. NY4 / NY5 / NY5+ / NY6 / NY7 / NY9T001A / NY9T004A / NX1 do not support this command.
2. Set the communication protocol on Option before using this function.
3. The signal is transmitted by the left register which is the highest bit, the data transmission
is fixed at 16-bit.
4.18.2 SC_TX(Mode, Ri:Rj:Rl:Rk)
Use RAM to transfer serial signal. Ri=bit15~12, Rj=bit11~8, Rl=bit7~4, Rk=bit3~0.
Note: NY4 / NY5 / NY6 / NY7 / NY9T001A / NY9T004A / NX1 do not support this command.
Ex.
Auto_Detect Mode
R3=0x0, R2=0, R1=0, R0=0, SC_TX(Auto, R3:R2:R1:R0)
;
Auto detect communication protocol, and output signal of [R3:R2:R1:R0] register value.
Ex.
SPI_Like Mode
R3=0x0, R2=0, R1=0, R0=0, SC_TX(SPI_Like, R3:R2:R1:R0)
; Use SPI_Like communication protocol, and output signal of [R3:R2:R1:R0] register value.
Ex.
NY3 Serial_Trigger Mode
R3=0x0, R2=0, R1=0, R0=0, SC_TX(NY3, R3:R2:R1:R0)
; Use NY3 Serial_Trigger communication protocol, and output signal of [R3:R2:R1:R0] register
value. If all the register values are 0, and only output signal Reset.
Ex.
IR_Trigger Mode
R3=0x0, R2=0, R1=0, R0=0, SC_TX(IR_Trigger, R3:R2:R1:R0)
; Use IR_Trigger communication protocol, and output signal of [R3:R2:R1:R0] register value
.
4.18.3 SC_TX(Mode, Xi:Xj)
Use RAM to transfer serial signal. Ri=bit15~12, Rj=bit11~8, Rl=bit7~4 and Rk=bit3~0.
Note: NY4 / NY5 / NY5+ / NY6 / NY7 / NY9T001A / NY9T004A / NX1 do not support this command.
Ex.
Auto_Detect Mode
X1=0x0, X0=0, SC_TX(Auto, X1:X0)
; Auto detect communication protocol, and output signal of [X1:X0] register value.
Ex.
SPI_Like Mode
X1=0x0, X0=0, SC_TX(SPI_Like, X1:X0)
;
Use SPI_Like communication protocol, and output signal of [X1:X0] register value.
Ex.
NY3 Serial_Trigger Mode