
SGPIO / SES Indicator Board
STDSGPIO / SES Indicator Board
License
:MIT License
Description
Features
Indicator board for RAID controllers and other HDD HBAs (Host Bus Adapters) with support of SGPIO and 'SES over I2C' protocols.
- 4 Drives indication
- 3 LEDs per Drive
- SGPIO support
- 'SES over I2C' support
- Automatic protocol detection
- The ability to select one of the 4 addresses for I2C exchange
- The ability to combine Boards into a stack
- Molex IDE or Floppy power connector option
- Power-On Demo-Test of LEDs
- MCU Temperature Sensor
- MCU Vcc Sensor
Details
The panel is compatible with 2 popular protocols and displays the status of 4 disks, with three indicators for each: activity, error and identification. It can automatically detect the protocol, and if SES over I2C is used, the panel allows you to select one of the 4 addresses with which it will be exchanged by the controller. And, as a bonus, it sends its temperature and power supply voltage to the controller.
In addition, such panels can be stacked: they can be placed several levels above each other and several pieces in a row on each level. In this case, the power supply circuit can be soldered only on one of the boards in the stack. Besides, everything is assembled from very budget components.
See the detailed review of the project on my YT-channel (English subtitles): https://youtu.be/YXgrQts7U3w
If the device operates via 'SES over I2C' protocol, then errors are indicated according to the following table (this is not exactly similar to IBPI, but you can freely make changes to the source code so that the indication becomes what you like):
All the code is written in the STM32CubeMX/IDE using the HAL library.
Since all the pins of the microcontroller are used for data/control functions, reprogramming of the board is possible only with the 'Connect Under Reset' option selected. To do this, you have to use a version of the ST Link programmer for 32-bit MCUs, connected according to the following schematic:
Links
Code - https://github.com/DmitryMuravyev/SGPIO-SES-Indicator-Board
Additional project files - https://drive.google.com/drive/folders/1VnPzOl7hxJ_D-UxZYw9dO9BYb0g93dh4
STM32F070 Datasheet - https://www.st.com/resource/en/datasheet/stm32f070c6.pdf
SGPIO - https://en.wikipedia.org/wiki/SGPIO
SES - https://en.wikipedia.org/wiki/SES-2_Enclosure_Management
Components
PolySwitch Self-Recovery SMD Fuses 1206 - https://fas.st/j6sHB
Socket/adapter TSSOP20 to DIP20 - https://fas.st/0SPlB1
Tactile Push Button - https://ali.ski/BK0MYV
SMD LED Kit - https://ali.ski/B3TZXm
SMD Resistor - https://ali.ski/gzy9H
SMD Capacitor - https://ali.ski/V3kytU
SMD Capacitor Sample Book - https://ali.ski/l-lE9
SMD Resistor Sample Book - https://ali.ski/6YxlCV
SOT-23 SMD Transistor Sample Book - https://ali.ski/qAAOV
SMD Inductor Sample Book - https://fas.st/_F2R0q
HDD IDE Power Connector - https://fas.st/XTywF
FDD Power Connector - https://fas.st/GT-_bG
A Lot of Headers and Connectors - https://fas.st/vSJuB
Single Row 2.54 Header - https://fas.st/rEcmD
Low Profile Single Row 2.54 Header - https://fas.st/fiBR5P
Low Profile Single Row 2.54 Socket - https://fas.st/cQpQQ3
Three Row 2.54 Header - https://fas.st/w2IHC4
Single Row Right Angle 2.54 Socket - https://fas.st/V0_Na
Design Drawing

BOM


Project Members

Comment