HYTE-ProductTeam
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Help
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# NP50 Firmware Protocol 11/8/2023 Firmware Version: 1.0.1.1 NP50 firmware protocol includes the following functions: 1. Get NP50 Info 2. Get Channel Info 3. Set NP50 Current Cooling Mode 4. Set 4 Pin Fan RPM 5. Set Fan RPM 6. Set NP50 Static Mode RPM 7. Get NP50 Static Mode RPM & Lighting Setting 8. Set Startup Animation On/Off 9. Set Lighting On/Off (When PC’s Off) 10. Get Firmware Version 11. LED Streaming ![image.png](https://hackmd.io/_uploads/rJI7bXGma.png) NP50 has 3x Nexus Link Type-C channels (Port1, Port2, Port3) and also one 4-pin PWM connector for legacy fan support --- ## 1. Get NP50 Info 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, * Noise * Temperature * 4-pin PWM Fan RPM * Current Cooling Mode * Nexus Link AmpScale Warnings 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*** 1. Using the algorithm below to get the current voltage ``` vol =3.3 * ((TH* 100) + TL) / 4096 ``` 2. Get the corresponding temperature from the voltage using the following table [Temperature Chart](https://hackmd.io/@HYTE-ProductTeam/rk3zDI1Mp) ***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 * 10 fans -> 3000 rpm * \> 10 fans -> 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* --- ## 2. Get Channel Info 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*** 1. Using the algorithm below to get the current voltage ``` vol =3.3 * ((TH* 100) + TL) / 4096 ``` 2. Get the corresponding temperature from the voltage using the following table [Temperature Chart](https://hackmd.io/@HYTE-ProductTeam/rk3zDI1Mp) ***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 ![image](https://hackmd.io/_uploads/HJCV2SJbJg.png) ***Byte 11: Touch*** Touch: 0x00 Non-Touch: 0x01 (connect with a cable otherwise no device is detected) --- ## 3. Set NP50 Current Cooling Mode 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 ## 4. Set 4 Pin Fan RPM ! *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 | ## 5. Set Fan RPM 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 ## 6. Set NP50 Default Cooling Mode ! *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 % ## 7. Get NP50 Default Cooling Mode & Lighting Setting ! *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 ## 8. Set Startup Animation On/Off 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 ## 9. Set Lighting On/Off (When PC's Off) 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 ## 10. Get Firmware Version 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 | ## 11. LED Streaming 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.

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully