11/8/2023
Firmware Version: 1.0.1.1
NP50 firmware protocol includes the following functions:
NP50 has 3x Nexus Link Type-C channels (Port1, Port2, Port3) and also one 4-pin PWM connector for legacy fan support
This protocol is to get NP50 + traditional fan info and is also used as a flag to check if Nexus software is in control
If the software does not call this function within 5 seconds, NP50 cooling and LED control will revert back to the default state
(motherboard/temp/firmware mode)
NP50 info includes,
Serial.Write
Byte 0 | Byte 1 | Byte 2 | Byte 3 |
---|---|---|---|
FF | CC | 0x01 (Get Status) | 0x00 (NP50) |
Serial.Read
Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 | Byte 8 | Byte 9 | Byte 10 | Byte 11 | Byte 12 | Byte 13 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FF | CC | 0x00 | Noise_H | Noise_L | Reserve | Reserve | Temp_H | Temp_L | RPM_H | RPM_L | Reserve | Current Cooling Mode | Warning |
Byte 3 & 4: Noise
Reserved
Byte 7 & 8: Temp
vol =3.3 * ((TH* 100) + TL) / 4096
Byte 9 & 10: RPM
int RPM = (60 * 1000 / ((Byte 9 * 100 + Byte 10 )/ 10 * 4));
Byte 12: Current Cooling Mode
The current cooling mode NP50 is running
Software: 0x01
Motherboard: 0x02
Static Mode: 0x03
Byte 13: Warning
0x00: None
0x01: Too many devices connected to a single channel (more than 18)
0x02: Too many devices connected across all channels (more than 54 across 3 ports)
0x03: Too many LEDs connected on a single channel (more than 249)
0x04: Type-C channel 1 (Port1) current overload
0x05: Type-C channel 2 (Port2) current overload
0x06: Type-C channel 3 (Port3) current overload
NP50 has a total of 15A/12V and each port can have a maximum of 8A/12V
Ports 1 and 2 are designed to connect up to 18 devices, but if there's current overflow, Nexus Link AmpScale will slow down all connected fans to 2000 RPM
Port3 is designed to follow the same behavior
If Port3 experiences current overload, it will sequentially disable the extra devices
!Notice that NP50 has one traditional 4-pin PWM fan port, for which the current won't be automatically managed by AmpScale
NP50 can connect to Nexus Link secondary nodes (such as FP12, LS10, LS30)
When the devices are connected, NP50 will know what each device is and will return the corresponding information
Nexus software can use this function to get device info from all 3 channels
Serial.Write
Byte 0 | Byte 1 | Byte 2 | Byte 3 |
---|---|---|---|
FF | CC | 0x01 (Get Status) | Channel (Port1, Port2 or Port3) |
Serial.Read
!12 bytes is one set for a device (only the very first byte 0 & byte 1 will be FF CC
Each port can read 19 devices (but the user is only allowed to plug in 18 devices, since we need the 19th one to know if there's more than 18)
This protocol will return 240 bytes (12 more bytes are reserved)
Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 | Byte 8 | Byte 9 | Byte 10 | Byte 11 |
---|---|---|---|---|---|---|---|---|---|---|---|
FF | CC | Device Count | Device Type | Hardware Version | LED Count | Fan Temp_H | Fan Temp_L | Fan RPM_H | Fan RPM_L | Fan Orientation | Touch |
Byte 0 + 12n | Byte 1 + 12n | Byte 2 + 12n | Byte 3 + 12n | Byte 4 + 12n | Byte 5 + 12n | Byte 6 + 12n | Byte 7 + 12n | Byte 8 + 12n | Byte 9 + 12n | Byte 10 + 12n | Byte 11 + 12n |
---|---|---|---|---|---|---|---|---|---|---|---|
00 | 00 | Device Count | Device Type | Hardware Version | LED Count | Fan Temp_H | Fan Temp_L | Fan RPM_H | Fan RPM_L | Fan Orientation | Touch |
Byte 2: Device Count start from 1
Byte 3: Device Type
LS10: 0x01
LS30: 0x02
FP12: 0x03
Byte 5: LED Count
LS10: 20 LEDs
LS30: 62 LEDs
Byte 6 & 7: Fan Temp
vol =3.3 * ((TH* 100) + TL) / 4096
Byte 8 & 9: Fan RPM
int RPM = (60 * 1000 / (Byte 8 + (float)Byte 9 / 100)) / 4;
Byte 10: Fan Orientation
Facing Back: 0x00
Facing Down: 0x01
Facing Up: 0x02
Facing Front: 0x03
Byte 11: Touch
Touch: 0x00
Non-Touch: 0x01 (connect with a cable otherwise no device is detected)
Serial.Write
Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 - 11 |
---|---|---|---|---|---|---|
FF | CC | 0x02 | 0x00 | MODE | Reserve | Reserve |
Byte 4: Mode
Software: 0x01
Motherboard: 0x02
Static: 0x03
! need to set the NP50 to software mode with the command above first to be able to control the 4-pin PWM fan RPM with this protocol!
Serial.Write
Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 - 11 |
---|---|---|---|---|---|---|---|
FF | CC | 0x02 | 0x00 | 0x00 (4-pin PWM fan) | Percentage % | 0x00 | Reserve |
Serial.Write
Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 | Byte 8 - 11 |
---|---|---|---|---|---|---|---|---|
FF | CC | 0x02 | Channel (1, 2 or 3) | Device Count | 0x00 | Percentage % | 0x00 | Reserve |
Byte 4 + 9n | Byte 5 + 9n | Byte 6 + 9n | Byte 7 + 9n | Byte (8 - 11) + 9n |
---|---|---|---|---|
Device Count | 0x00 | Percentage % | 0x00 | Reserve |
Besides the first 4 bytes, each device is 9 bytes
The complete command will be 18 (devices) * 9 + 4 = 166 bytes
Byte 4 : Device Count
Start from 1
! This will be written to the eeprom - please note that the eeprom write endurance is 10000 times
Serial.Write
Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 - 16 | Byte 17 |
---|---|---|---|---|---|---|---|
FF | CC | 0x03 | 0x00 | Mode | Fan (%) | reserve | 0x01 (save) |
Default Static Mode fan RPM is 1000 RPM
Byte 4: Mode
Static: 0x00
Motherboard: 0x01
Byte 5: Fan %
If the default mode is set to Static, you also need to set the default fan speed %
! This will be written on eeprom - please note that the eeprom write endurance is 10000 times
Serial.Write
Byte 0 | Byte 1 | Byte 2 | Byte 3 |
---|---|---|---|
FF | CC | 0x04 | 0x00 |
Serial.Read
Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 | Byte 8 - 16 |
---|---|---|---|---|---|---|---|---|
FF | CC | 0x04 | 0x00 | Mode | Fan (%) | Startup_Animation | Lighting on/off | reserve |
Byte 4 : Mode
Static: 0x00
Motherboard: 0x01
Byte 6 : Startup Animation On/Off
Off: 0x01
On: 0x00
Byte 7 : Lighting On/Off (When PC's Off)
On: 0x01
Off: 0x00
Serial.Write
Byte 0 | Byte 1 | Byte 2 | Byte 3 |
---|---|---|---|
FF | CC | 0x05 | Startup Animation |
Byte 3: Startup Animation On/Off
On: 0x00
Off: 0x01
Serial.Write
Byte 0 | Byte 1 | Byte 2 | Byte 3 |
---|---|---|---|
FF | CC | 0x06 | Lighting on/off |
Byte 3: Lighting On/Off
On: 0x00
Off: 0x01
Serial.Write
Byte 0 | Byte 1 | Byte 2 | Byte 3 - 6 |
---|---|---|---|
FF | DD | 0x02 | reserve |
Serial.Read
Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 |
---|---|---|---|---|---|---|
FF | DD | 0x02 | Large Version | Mid Version | Small Version | Hardware Version |
NP50 has 3 LED channels (which is not to be confused with the Nexus Link Type-C (Port1, Port2, Port3) channels
We have the default LEDs (HYTE Logo) on the same channel
Channel 1 -> Logo LEDs (first 6 LEDs) + Device Port1
Channel 2 -> Device Port2
Channel 3: Device Port3
Serial.Write
Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 |
---|---|---|---|---|---|---|
FF | EE | 01 | Channel (1~3) | LEDCount_H | LEDCount_L | Reserved |
Byte 7 | Byte 8 | Byte 9 | … | Byte | Byte | Byte |
---|---|---|---|---|---|---|
G | R | B | … | G | R | B |
! Channel 3 needs to send 750 bytes to light up all the LEDs
The HYTE NP50 Protocol is provided under the terms of the GNU General Public License version 2.