0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
RTL8231-GR

RTL8231-GR

  • 厂商:

    REALTEK(瑞昱)

  • 封装:

    QFP48

  • 描述:

    SMI接口和串行接口控制LED显示控制器 LQFP48_7X7MM

  • 数据手册
  • 价格&库存
RTL8231-GR 数据手册
R O E N A FI LT fo D E r M EN K TN TIA L RTL8231 SMI Interface and Serial Interface control LED Display Controller C Rev. 0.5 19 Nov. 2009 Track ID: Realtek Semiconductor Corp. No. 2, Innovation Road II, Hsinchu Science Park, Hsinchu 300, Taiwan Tel.: +886-3-578-0211 Fax: +886-3-577-6047 www.realtek.com RTL8231 Datasheet Draft COPYRIGHT ©2008 Realtek Semiconductor Corp. All rights reserved. No part of this document may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language in any form or by any means without the written permission of Realtek Semiconductor Corp. DISCLAIMER Realtek provides this document “as is”, without warranty of any kind, neither expressed nor implied, including, but not limited to, the particular purpose. Realtek may make improvements and/or changes in this document or in the product described in this document at any time. This document could include technical inaccuracies or typographical errors. R O E N A FI LT fo D E r M EN K TN TIA L TRADEMARKS Realtek is a trademark of Realtek Semiconductor Corporation. Other names mentioned in this document are trademarks/registered trademarks of their respective owners. USING THIS DOCUMENT This document is intended for the hardware engineer’s general information on the Realtek RTL8389M chips. Though every effort has been made to ensure that this document is current and accurate, more information may have become available subsequent to the production of this guide. Summary First release. C REVISION HISTORY Revision Release Date 0.3 2009/09/28 Serial Data Interface LED Display Controller ii Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Table of Contents 1. GENERAL DESCRIPTION................................................................................................................................................6 2. FEATURE ITEMS ...............................................................................................................................................................7 3. APPLICATION EXAMPLES .............................................................................................................................................9 3.1. 3.2. 3.3. 4. SERIAL LED APPLICATION ...........................................................................................................................................9 SCAN LED APPLICATION ...........................................................................................................................................10 SCAN LED AND GPIO APPLICATION..........................................................................................................................11 BLOCK DIAGRAM...........................................................................................................................................................12 4.1. 5. RTL8231 BLOCK DIAGRAM ......................................................................................................................................12 PIN ASSIGNMENTS .........................................................................................................................................................13 6. PIN DESCRIPTIONS ........................................................................................................................................................25 6.1. 6.2. 6.3. 6.4. 6.5. 6.6. 6.7. 7. SMI MODE SCAN SINGLE COLOR LED OUTPUT PINS ...............................................................................................25 SMI MODE SCAN BI-COLOR LED OUTPUT PINS .......................................................................................................26 SMI MODE MISCELLANEOUS PINS ............................................................................................................................26 SMI MODE CONFIGURATION STRAPPING PINS ...........................................................................................................27 SHIFT REGISTER MODE PINS ......................................................................................................................................28 SHIFT REGISTER MODE MISCELLANEOUS PINS ..........................................................................................................28 SHIFT REGISTER CONFIGURATION STRAPPING PINS ...................................................................................................29 CONTROLLER INTERFACES .......................................................................................................................................30 7.1. 7.2. 8. SMI MODE SCAN BI-COLOR PIN ASSIGNMENT ..........................................................................................................13 SMI Mode Scan Bi-color Pin Assignment Table ..............................................................................................14 SMI MODE SCAN SINGLE COLOR PIN ASSIGNMENT ...................................................................................................16 SMI Mode GPIO Pin Assignment Table...........................................................................................................17 SMI MODE GPIO PIN ASSIGNMENT ..........................................................................................................................19 SMI Mode GPIO Pin Assignment Table...........................................................................................................20 SHIFT REGISTER MODE PIN ASSIGNMENT ..................................................................................................................22 SHIFT REGISTER MODE PIN ASSIGNMENT TABLE .......................................................................................................23 R O E N A FI LT fo D E r M EN K TN TIA L 5.1. 5.1.1. 5.2. 5.2.1. 5.3. 5.3.1. 5.4. 5.5. SMI (MDC, MDIO) INTERFACE ................................................................................................................................30 SMI SLAVE INTERFACE ..............................................................................................................................................31 FUNCTION DESCRIPTION ............................................................................................................................................33 RESET ........................................................................................................................................................................33 Hardware Reset ...............................................................................................................................................33 Software Reset..................................................................................................................................................33 SHIFT REGISTER MODE ..............................................................................................................................................33 Shift Register Mode System Application ..........................................................................................................34 SCAN LED SINGLE COLOR MODE ..............................................................................................................................35 Scan Single Color Mode with RTL8328S Application .....................................................................................37 Scan Single Color Output Matrix Maps to Control Register ...........................................................................38 SCAN LED BI-COLOR MODE....................................................................................................................................40 Smart Dynamic Change ...................................................................................................................................40 SCAN Bi-color LED Mode Timing Diagram ...................................................................................................41 Scan Single Color Output Matrix Maps to Control Register ...........................................................................44 GPIO MODE ..............................................................................................................................................................45 Setting GPIO Pin Descriptions........................................................................................................................45 C 8.1. 8.1.1. 8.1.2. 8.2. 8.2.1. 8.3. 8.3.1. 8.3.2. 8.4. 8.4.1. 8.4.2. 8.4.3. 8.5. 8.5.1. 9. INTER REGISTER DESCRIPTION ...............................................................................................................................48 Serial Data Interface LED Display Controller iii Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 9.1. LED MODE SYSTEM CONFIGURATION REGISTER ......................................................................................................48 10. ELECTRICAL CHARACTERISTICS .......................................................................................................70 10.1. ABSOLUTE MAXIMUM RATINGS .................................................................................................................................70 10.2. RECOMMENDED OPERATING RANGE ..........................................................................................................................70 10.3. THERMAL CHARACTERISTICS.....................................................................................................................................70 10.3.1. Shift Register mode ..........................................................................................................................................71 10.4. DC CHARACTERISTICS...............................................................................................................................................73 10.5. AC CHARACTERISTICS...............................................................................................................................................74 10.5.1. SMI Slave Mode Timing Characteristics .........................................................................................................74 10.6. MII MANAGEMENT (MIIM) INTERFACE TIMING .......................................................................................................75 10.7. RESET CHARACTERISTICS ..........................................................................................................................................77 11. MECHANICAL DIMENSIONS...................................................................................................................78 11.1. ORDERING INFORMATION .....................................................................................................................80 R O E N A FI LT fo D E r M EN K TN TIA L 12. LQFP-48 DIMENSIONS ..............................................................................................................................................78 List of Figures C FIGURE 1. SERIAL LED APPLICATION IN SHIFT REGISTER MODE ...............................................................................................9 FIGURE 2. SCAN LED IN HIGH PORT COUNT SWITCH APPLICATION .........................................................................................10 FIGURE 3. SCAN LED AND GPIO IN LOW PORT COUNT SWITCH APPLICATION ........................................................................11 FIGURE 4. RTL8231 BLOCK DIAGRAM ......................................................................................................................................12 FIGURE 1 START/STOP STATE WAVEFORM ....................................................................................................................................31 FIGURE 2 16 BITS WORD ADDRESS ACCESS SEQUENCE ................................................................................................................31 FIGURE 3 8 BITS WORD ADDRESS ACCESS SEQUENCE ..................................................................................................................32 FIGURE 4 START/STOP STATE WAVEFORM ....................................................................................................................................33 FIGURE 5, SERIAL STREAM ...........................................................................................................................................................34 FIGURE 6, EXTERNAL CIRCUIT FOR SERIAL TO PARALLEL LED ...................................................................................................34 FIGURE 7, EXTERNAL CIRCUIT FOR SINGLE COLOR SCAN MODE ..................................................................................................36 FIGURE 8, SCAN LED TIMING DIAGRAM FOR SINGLE COLOR MODE*A .........................................................................................36 FIGURE 9, SCAN LED TIMING DIAGRAM FOR SINGLE COLOR MODE WITH 28S BI-COLOR LED...................................................37 FIGURE 10, SCAN SINGLE COLOR LED CIRCUIT MAPS TO CONTROL REGISTER AT GROUP A..........................................................38 FIGURE 11, SCAN SINGLE COLOR LED CIRCUIT MAPS TO CONTROL REGISTER AT GROUP B. .........................................................39 FIGURE 12, SCAN SINGLE COLOR LED CIRCUIT MAPS TO CONTROL REGISTER AT GROUP C. .........................................................39 FIGURE 13, SMART DYNAMIC CHANGE TIMING DIAGRAM-1 ........................................................................................................40 FIGURE 14, SCAN LED TIMING DIAGRAM FOR BI-COLOR MODE, BI-COLOR DIAGRAM 1.............................................................41 FIGURE 15, SCAN LED TIMING DIAGRAM FOR BI-COLOR MODE, SINGLE-COLOR DIAGRAM 2.....................................................42 FIGURE 16, EXTERNAL CIRCUIT FOR BI-COLOR SCAN MODE........................................................................................................43 FIGURE 12, SCAN BI-COLOR LED MATRIX MAPS TO CONTROL REGISTER AT GROUP A. ................................................................44 FIGURE 12, SCAN BI-COLOR LED MATRIX MAPS TO CONTROL REGISTER AT GROUP B. .........................................................44 FIGURE 12, SCAN BI-COLOR LED MATRIX MAPS TO CONTROL REGISTER AT GROUP C..........................................................45 FIGURE 17, BUZZER SIGNAL OUTPUT ............................................................................................................................................46 FIGURE 18, DIP SWITCH DEBOUNCING..........................................................................................................................................47 FIGURE 19. SMI SLAVE MODE TIMING CHARACTERISTICS ..........................................................................................................74 FIGURE 20. MII MANAGEMENT (MIIM) INTERFACE WRITE TIMING ............................................................................................75 FIGURE 21. MII MANAGEMENT (MIIM) INTERFACE READ TIMING ..............................................................................................75 FIGURE 22. RESET CHARACTERISTICS...........................................................................................................................................77 Serial Data Interface LED Display Controller iv Track ID: JATR-1076-21 Rev. 0.5 C R O E N A FI LT fo D E r M EN K TN TIA L RTL8231 Datasheet Draft Serial Data Interface LED Display Controller v Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 1. General Description The RTL8231 is a serial data interface LED display controller that transmits: • Serial data to parallel LED (Shift Register Mode) • SMI data to Scan LED (SMI Mode) • SMI data to GPIO (SMI Mode) Shift Register Mode In Shift Register Mode, the RTL8231 supports 36 LEDs. The RTL8231 receives serial data and serial R O E N A FI LT fo D E r M EN K TN TIA L clock, and via the shift register changes it to parallel output. The SO (Serial Out) pin outputs any serial data input that exceeds 36 bits for cascading to another RTL8231. The Reset pin clears the shift register data and the strapping pin sets the initial values when the RTL8231 is reset. SMI Mode In SMI Mode, the RTL8231 supports MDC/MDIO and SMI Slave bus data format. In SMI Slave mode, 8-bit and 16-bit data accesses are both supported. The MDC/MDIO or SMI Slave interface can set the address from 0 to 31 (MDC/MDIO) or from 0 to 7 (SMI Slave). The RTL8231 controls SCAN LED and GPIOs via LED and GPIO status registers. The RTL8231 scanning single color LED supports maximal 24-port per port 3 single color LED application or 24-port per port 2 single LED for fast Ethernet and 8-port per port one bi-color, and one single color LED for Giga Ethernet application. The RTL8231 scanning bi-color LED supports maximal 24-port per port one single color and one bi-color LED application. The RTL8231 provides 37 GPIOs. Any unused Single color or Bi-color LED pins can be switched to C become a GPIO pin. Serial Data Interface LED Display Controller 6 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 2. Feature Items Bi-Color Scan LED in SMI Mode Supports 24 ports Bi-color scanning LED, each port includes one bi-color and one single color LED. Each LED has a respective status register that is controlled by the SMI interface. Controlled Interface Serial Interface CLK_IN and SI provide clock and data to enable the internal shift register. MDC/MDIO Interface Supports the IEEE compliant Management Data Input/Output (MDIO) Interface Slave mode MDC/MDIO. Can set PHY addresses from 0 to 31 (default value: 31). R O E N A FI LT fo D E r M EN K TN TIA L GPIO in SMI Mode Provides 37 GPIOs. Any unused Single color or Bi-color LED pins can be switched to become a GPIO pin Any GPIO can be controlled by GPI or GPO (except for 8 strapping pins) Strapping pins only use GPO in GPIO applications Each GPO output default driving current is 8mA (can be changed to 4mA via register setting) Each GPIO has a respective status register that is controlled by the SMI interface. SMI Slave Interface Supports 8-bit and 16-bit data access. Can set the device ID from 0 to 7 (default value: 7). Functions support Shift Register Mode Supports 36 parallel data outputs. The SO (Serial Out) pin outputs any serial data input that exceeds 36 bits (for cascading to another RTL8231). Buzzer Single output GPIO[35] can be set to Buzzer output mode. The buzzer output frequency can be set to: 1.5K, 2K, 2.5K, 3K, 3.5K, 4K, 5K, and 6K square waveform. C Single Color Scan LED in SMI mode Supports 24 ports Single Color scanning LED, each port includes 3 single-color LEDs. Provides 8 bi-color LEDs for 24 FE+8G application Each LED has a respective status register that is controlled by the SMI interface. Serial Data Interface LED Display Controller Push Button De-bouncing The GPIO[31]~[36] supports input de-bouncing function. 7 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft The GPI pin can be latched only if the same input signal continues for 100ms. LED Blinking Speed Change Each LED blinking speed can be changed via LED status registers. Each LED status register has 3-bits that control LED speed (32ms to 1024ms). LED Output Synchronization All LEDs (Single color mode 72+8 LEDs, Bi-color mode 48 LEDs) can change synchronization status via register commands Chip Package LQFP-48 package C R O E N A FI LT fo D E r M EN K TN TIA L GPIO Output Synchronization All 37 GPIOs output synchronization status can be changed via register commands. Serial Data Interface LED Display Controller 8 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 3. Application Examples 3.1. Serial LED Application R O E N A FI LT fo D E r M EN K TN TIA L Serial Data output MAC or CPU Serial Clock RTL8231 Parallel Data Output Serial Data output Parallel Data Output RTL8231 C High Port Count LED Figure 1. Serial LED Application in Shift Register Mode Serial Data Interface LED Display Controller 9 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 3.2. Scan LED Application R O E N A FI LT fo D E r M EN K TN TIA L SMI Interface MAC or CPU SCAN LED Matrix SCAN LED Matrix RTL8231 High Port Count LED Scan LED in High Port Count Switch Application C Figure 2. Serial Data Interface LED Display Controller 10 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 3.3. Scan LED and GPIO Application R O E N A FI LT fo D E r M EN K TN TIA L SMI Interface MAC or CPU GPIO External Circuit SCAN LED Matrix SCAN LED Matrix RTL8231 Low Port Count LED Scan LED and GPIO in Low Port Count Switch Application C Figure 3. Serial Data Interface LED Display Controller 11 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 4. Block Diagram 4.1. RTL8231 Block Diagram R O E N A FI LT fo D E r M EN K TN TIA L MUX LED GPIO Controller Controller Shift Register SMI/ Serial Data Interface SMI Command Register Controller RTL8231 Block Diagram C Figure 4. Serial Data Serial Data Interface LED Display Controller 12 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 5. Pin Assignments RESET SCAN_P6-11 SCAN_P0-5 SCAN_Bi-colorA P11_STA VCC2 P10_STA P9_STA P8_STA P7_STA P6_STA P5_STA 35 34 33 32 31 30 29 28 27 26 25 R O E N A FI LT fo D E r M EN K TN TIA L 36 5.1. SMI Mode Scan Bi-color Pin Assignment VCC3 43 18 MDC/SCK SCAN_P12-17_Bi-colorB 44 17 MDIO/SDA SCAN_P18-23_Bi-colorC 45 16 GPIO[36] P12_STA 46 15 GPIO[35]/Dis_SMI GND3 47 14 TEST P13_STA 48 13 GND1 C 12 VCC1 P23_STA 19 11 42 P22_STA SINGLE_STA_F/MOD[0] 10 P0_STA P21_STA 20 9 41 P20_STA SINGLE_STA_E/Addr[4] 8 P1_STA P19_STA 21 7 40 P18_STA SINGLE_STA_D/Addr[3]/16BIT_SMI 6 P2_STA P17_STA 22 5 39 P16_STA SINGLE_STA_C/Addr[2] P15_STA P3_STA 4 23 3 38 VCC0 SINGLE_STA_B/Addr[1] 2 P4_STA RC_Ref 24 1 37 P14_STA SINGLE_STA_A/Addr[0] Serial Data Interface LED Display Controller 13 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 5.1.1. SMI Mode Scan Bi-color Pin Assignment Table Upon Reset: Defined as a short time after the end of a hardware reset. After Reset: Defined as the time after the specified ‘Upon Reset’ time. I: Input Pin O: Output Pin I/O: Bi-Direction Input/Output Pin Digital Power Pin G: Digital Ground Pin R O E N A FI LT fo D E r M EN K TN TIA L P: IPU: Input Pin With Pull-Up Resistor; (Typical Value = 75K ohm) OPU: Output Pin With Pull-Up Resistor; (Typical Value = 75K ohm) Table 1. Pin No. Type Pin No. Type P14_STA 1 I/O 8 GPIO[35]/Dis_SMI 15 I/OPD 8 RC_Ref 2 I/O - GPIO[36] 16 I/O 8 VCC0 3 P - MDIO/SDA 17 I/OPU - P15_STA 4 I/O 8 MDC/SCK 18 O - P16_STA 5 I/O 8 VCC1 19 P - P17_STA 6 I/O 8 P0_STA 20 I/O 8 P18_STA 7 I/O 8 P1_STA 21 I/O 8 P19_STA 8 I/O 8 P2_STA 22 I/O 8 P20_STA 9 I/O 8 P3_STA 23 I/O 8 P21_STA 10 I/O 8 P4_STA 24 I/O 8 P22_STA 11 I/O 8 P5_STA 25 I/O 8 P23_STA 12 I/O 8 P6_STA 26 I/O 8 GND1 13 G - P7_STA 27 I/O 8 TEST 14 I - P8_STA 28 I/O 8 C Name Pin Assignment Table Driving Name Current (mA) Serial Data Interface LED Display Controller 14 Driving Current (mA) Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Pin No. Type Driving P9_STA 29 I/O 8 P10_STA 30 I/O 8 VCC2 31 P - P11_STA 32 I/O 8 SCAN_Bi-colorA 33 I/O 24 SCAN_P0-5 34 I/O SCAN_P6-11 35 RESET Name Pin No. Type SINGLE_STA_D/Add r[3]/16BIT_SMI 40 I/OPU 4 SINGLE_STA_E/Add r[4] 41 I/OPU 4 42 I/OPU 4 24 SINGLE_STA_E/MO D[0] I/O 24 VCC3 43 P - 36 I - 44 I/O 24 SINGLE_STA_A/Add r[0] 37 I/OPU 4 SCAN_P12-17_Bicolo rB 45 I/O 24 SINGLE_STA_B/Add r[1] 38 4 SCAN_P18-23_Bicolo rC P12_STA 46 I/O 8 SINGLE_STA_C/Add r[2] 39 GND 47 G - P13_STA 48 I/O 8 Current (mA) Driving Current (mA) R O E N A FI LT fo D E r M EN K TN TIA L Name I/OPU 4 C I/OPU Serial Data Interface LED Display Controller 15 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft RESET SCAN_LEDB2 SCAN_LEDB1 SCAN_LEDB0 SCAN_LEDA5 VCC2 SCAN_LEDA4 SCAN_LEDA3 SCAN_STAA5 SCAN_STAA4 SCAN_STAA3 SCAN_STAA2 35 34 33 32 31 30 29 28 27 26 25 37 24 R O E N A FI LT fo D E r M EN K TN TIA L SCAN_STAB0/Addr[0] 36 5.2. SMI Mode Scan Single color Pin Assignment SCAN_STAA1 SCAN_LEDB3 44 17 MDIO/SDA SCAN_LEDB4 45 16 GPIO[36] SCAN_LEDB5 46 15 GPIO[35]/Dis_SMI GND3 47 14 TEST P24_STA 48 13 GND1 C 12 MDC/SCK GPIO[34] 18 11 43 GPIO[33] VCC3 10 VCC1 P31_STA 19 9 42 P30_STA SCAN_STAB5/MOD[0] 8 SCAN_LEDA0 P29_STA 20 7 41 P28_STA SCAN_STAB4/Addr[4] 6 SCAN_LEDA1 SCAN_LED_Bi-colorC 21 5 40 P27_STA SCAN_STAB3/Addr[3]/16BIT_SMI P26_STA SCAN_LEDA2 4 22 3 39 VCC0 SCAN_STAB2/Addr[2] 2 SCAN_STAA0 RC_Ref 23 1 38 P25_STA SCAN_STAB1/Addr[1] Serial Data Interface LED Display Controller 16 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 5.2.1. SMI Mode GPIO Pin Assignment Table Upon Reset: Defined as a short time after the end of a hardware reset. After Reset: Defined as the time after the specified ‘Upon Reset’ time. I: Input Pin O: Output Pin I/O: Bi-Direction Input/Output Pin Digital Power Pin G: Digital Ground Pin R O E N A FI LT fo D E r M EN K TN TIA L P: IPU: Input Pin With Pull-Up Resistor; (Typical Value = 75K ohm) OPU: Output Pin With Pull-Up Resistor; (Typical Value = 75K ohm) Table 2. Pin No. Type Pin No. Type P25_STA 1 I/O 8 TEST 14 I - RC_Ref 2 O - GPIO[35]/Dis_SMI 15 I/OPD 8 VCC0 3 P - GPIO[36] 16 I/O 8 P26_STA 4 I/O 8 MDIO/SDA 17 I/OPU - P27_STA 5 I/O 8 MDC/SCK 18 O - SCAN_LED_Bi-col orC 6 I/O 24 VCC1 19 P - SCAN_LEDA0 20 I/O 24 C Name Pin Assignment Table Driving Name Current (mA) Driving Current (mA) P28_STA 7 I/O 8 SCAN_LEDA1 21 I/O 24 P29_STA 8 I/O 8 SCAN_LEDA2 22 I/O 24 P30_STA 9 I/O 8 SCAN_STAA0 23 I/O 4 P31_STA 10 I/O 8 SCAN_STAA1 24 I/O 4 GPIO[33] 11 I/O 8 SCAN_STAA2 25 I/O 4 GPIO[34] 12 I/O 8 SCAN_STAA3 26 I/O 4 GND1 13 G - SCAN_STAA4 27 I/O 4 Serial Data Interface LED Display Controller 17 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Pin No. Type Driving SCAN_STAA5 28 I/O 4 SCAN_LEDA3 29 I/O 24 SCAN_LEDA4 30 I/O 24 VCC2 31 P - SCAN_LEDA5 32 I/O 24 SCAN_LEDB0 33 I/O SCAN_LEDB1 34 SCAN_LEDB2 RESET Name Pin No. Type SCAN_STAB3/Addr [3]/16BIT_SMI 40 I/OPU 4 SCAN_STAB4/Addr [4] 41 I/OPU 4 42 I/OPU 4 24 SCAN_STAB5/MO D[0] I/O 24 VCC3 43 P - 35 I/O 24 SCAN_LEDB3 44 I/O 24 36 I - SCAN_LEDB4 45 I/O 24 SCAN_STAB0/Addr [0] 37 I/OPU 4 SCAN_LEDB5 46 I/O 24 GND 47 G - SCAN_STAB1/Addr [1] 38 I/OPU 4 P24_STA 48 I/O 8 SCAN_STAB2/Addr [2] 39 I/OPU 4 Current (mA) Driving Current (mA) C R O E N A FI LT fo D E r M EN K TN TIA L Name Serial Data Interface LED Display Controller 18 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft RESET GPIO[14] GPIO[13] GPIO[12] GPIO[11] VCC2 GPIO[10] GPIO[9] GPIO[8] GPIO[7] GPIO[6] GPIO[5] 36 35 34 33 32 31 30 29 28 27 26 25 5.3. SMI Mode GPIO Pin Assignment 37 24 GPIO[4] GPIO[16]/Addr[1] 38 23 GPIO[3] GPIO[17]/Addr[2] 39 22 GPIO[2] GPIO[18]/Addr[3]/16BIT_SMI 40 21 GPIO[1] GPIO[19]/Addr[4] 41 20 GPIO[0] GPIO[20]/MOD[0] 42 19 VCC1 VCC3 43 18 MDC/SCK GPIO[21] 44 17 MDIO/SDA GPIO[22] 45 16 GPIO[36] GPIO[23] 46 15 GPIO[35]/Dis_SMI GND3 47 14 TEST GPIO[24] 48 13 GND1 3 4 5 6 7 8 9 10 11 VCC0 GPIO[26] GPIO[27] GPIO[28] GPIO[29] GPIO[30] GPIO[31] GPIO[32] GPIO[33] 12 2 RC_Ref GPIO[34] 1 C GPIO[25] R O E N A FI LT fo D E r M EN K TN TIA L GPIO[15]/Addr[0] Serial Data Interface LED Display Controller 19 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 5.3.1. SMI Mode GPIO Pin Assignment Table Upon Reset: Defined as a short time after the end of a hardware reset. After Reset: Defined as the time after the specified ‘Upon Reset’ time. I: Input Pin O: Output Pin I/O: Bi-Direction Input/Output Pin Digital Power Pin G: Digital Ground Pin R O E N A FI LT fo D E r M EN K TN TIA L P: IPU: Input Pin With Pull-Up Resistor; (Typical Value = 75K ohm) OPU: Output Pin With Pull-Up Resistor; (Typical Value = 75K ohm) Table 3. Pin No. Type Pin No. Type GPIO[25] 1 I/O 8 GPIO[35]/Dis_SMI 15 I/OPD 8 RC_Ref 2 O - GPIO[36] 16 I/O 8 VCC0 3 P - MDIO 17 I/OPU - GPIO[26] 4 I/O 8 MDC 18 O - GPIO[27] 5 I/O 8 VCC1 19 P - GPIO[28] 6 I/O 8 GPIO[0] 20 I/O 8 GPIO[29] 7 I/O 8 GPIO[1] 21 I/O 8 C Name Pin Assignment Table Driving Name Current (mA) Driving Current (mA) GPIO[30] 8 I/O 8 GPIO[2] 22 I/O 8 GPIO[31] 9 I/O 8 GPIO[3] 23 I/O 8 GPIO[32] 10 I/O 8 GPIO[4] 24 I/O 8 GPIO[33] 11 I/O 8 GPIO[5] 25 I/O 8 GPIO[34] 12 I/O 8 GPIO[6] 26 I/O 8 GND1 13 G - GPIO[7] 27 I/O 8 TEST 14 I - GPIO[8] 28 I/O 8 Serial Data Interface LED Display Controller 20 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Pin No. Type Driving GPIO[9] 29 I/O 8 GPIO[10] 30 I/O VCC2 31 GPIO[11] Name Pin No. Type 40 I/OPU 8 8 GPIO[18]/Addr[3]/1 6BIT_SMI P - GPIO[19]/Addr[4] 41 I/OPU 8 32 I/O 8 GPIO[20]/MOD[0] 42 I/OPU 8 GPIO[12] 33 I/O 8 VCC3 43 P - GPIO[13] 34 I/O 8 GPIO[21] 44 I/O 8 GPIO[14] 35 I/O 8 GPIO[22] 45 I/O 8 RESET 36 I - GPIO[23] 46 I/O 8 GPIO[15]/Addr[0] 37 I/OPU 8 GND 47 G - GPIO[16]/Addr[1] 38 I/OPU 8 GPIO[24] 48 I/O 8 GPIO[17]/Addr[2] 39 I/OPU 8 Current (mA) Driving Current (mA) C R O E N A FI LT fo D E r M EN K TN TIA L Name Serial Data Interface LED Display Controller 21 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft RESET LED[21] LED[22] LED[23] LED[24] VCC2 LED[25] LED[26] LED[27] LED[28] LED[29] LED[30] 36 35 34 33 32 31 30 29 28 27 26 25 5.4. Shift Register Mode Pin Assignment 37 24 LED[31] LED[19] 38 23 LED[32] LED[18] 39 22 LED[33] R O E N A FI LT fo D E r M EN K TN TIA L LED[20] LED[12] 46 15 LED[0]/Dis_SMI GND3 47 14 TEST LED[11] 48 13 GND1 C 12 SO/MOD[1] LED[1] 16 11 45 LED[2] LED[13] 10 SI LED[3] 17 9 44 LED[4] LED[14] 8 CLK_IN LED[5] 18 7 43 LED[6] VCC3 6 VCC1 LED[7] 19 5 42 LED[8] LED[15]/MOD[0] 4 LED[35] LED[9] 20 3 41 VCC0 LED[16] 2 LED[34] RC_Ref 21 1 40 LED[10] LED[17] Serial Data Interface LED Display Controller 22 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 5.5. Shift Register Mode Pin Assignment Table Upon Reset: Defined as a short time after the end of a hardware reset. After Reset: Defined as the time after the specified ‘Upon Reset’ time. I: Input Pin O: Output Pin I/O: Bi-Direction Input/Output Pin Digital Power Pin G: Digital Ground Pin R O E N A FI LT fo D E r M EN K TN TIA L P: IPU: Input Pin With Pull-Up Resistor; (Typical Value = 75K ohm) OPU: Output Pin With Pull-Up Resistor; (Typical Value = 75K ohm) Table 4. Name Pin Assignment Table Pin No. Type Pin No. Type LED[10] 1 I/O 4 LED[0]/Dis_SMI 15 I/OPD 4 RC_Ref 2 O - SO/MOD[1]*a 16 I/O 4 VCC0 3 P - SI 17 I/OPU - 4 I/O 4 CLK_IN 18 O - 5 I/O 4 VCC1 19 P - 6 I/O 4 LED[35] 20 I/O 4 7 I/O 4 LED[34] 21 I/O 4 8 I/O 4 LED[33] 22 I/O 4 LED[4] 9 I/O 4 LED[32] 23 I/O 4 LED[3] 10 I/O 4 LED[31] 24 I/O 4 LED[2] 11 I/O 4 LED[30] 25 I/O 4 LED[1] 12 I/O 4 LED[29] 26 I/O 4 GND1 13 G - LED[28] 27 I/O 4 TEST 14 I - LED[27] 28 I/O 4 LED[9] LED[8] LED[7] C LED[6] LED[5] Driving Name Current (mA) Serial Data Interface LED Display Controller 23 Driving Current (mA) Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Pin No. Type Driving LED[26] 29 I/O 4 LED[25] 30 I/O VCC2 31 LED[24] Name Pin No. Type LED[17] 40 I/OPU 4 4 LED[16] 41 I/OPU 4 P - LED[15]/MOD[0] 42 I/OPU 4 32 I/O 4 VCC3 43 P - LED[23] 33 I/O 4 LED[14] 44 I/O 4 LED[22] 34 I/O 4 LED[13] 45 I/O 4 LED[21] 35 I/O 4 LED[12] 46 I/O 4 RESET 36 I - GND 47 G - LED[20] 37 I/OPU 4 LED[11] 48 I/O 4 LED[19] 38 I/OPU 4 LED[18] 39 I/OPU 4 Current (mA) Driving Current (mA) R O E N A FI LT fo D E r M EN K TN TIA L Name C a. Pin 16 SO/MOD[1] internal floating. Must be pull high or low to select the active high or active low application. Serial Data Interface LED Display Controller 24 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 6. Pin Descriptions 6.1. SMI Mode Scan Single Color LED Output Pins Table 5. Pin Name Pin No. Media Dependent Interface Pins Type Drive Description (mA) Port 0-11 I/O 23, 24, 25, SCAN_STAA5 26, 27, 28 Scan LED Status Pins for Port 0~11。 R O E N A FI LT fo D E r M EN K TN TIA L SCAN_STAA1~ 4 SCAN_LEDA0~ 20, 21, 22, SCAN_LEDA5 29, 30, 32 Port 12-23 I/O 24 Scan LED Scan pin for port 0~11。 I/O 4 Scan LED Status Pins for Port 12~23。 I/O 24 Scan LED Scan pin for port 12~23。 I/O 8 Scan LED Bi-color Status Pins for Port 24~31。 I/O 24 Scan LED Bi-color Scan Pins foe Port 24~31。 37, 38, 39, SCAN_STAB5 40, 41, 42 SCAN_LEDB0~ 33, 34, 35, SCAN_LEDB5 44, 45, 46 Port 24-31 Bi-color 48, 1, 4, 5, P24_STA~ 7, 8, 9, 10, P31_STA 11 SCAN_LED_Bi-colorC 6 GPIO[33] 11 GPIO pin GPIO[34] 12 GPIO pin GPIO[35] 15 GPIO pin GPIO[36] 16 GPIO pin C SCAN_STAB0~ Serial Data Interface LED Display Controller 25 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 6.2. SMI Mode Scan Bi-color LED Output Pins Table 6. Pin Name Pin No. Media Dependent Interface Pins Type Drive Description (mA) Port 0-11 20,21,22,23, P0_STA~ 24,25,26,27, P11_STA 28,29,30,32 O 33 SCAN_Bi-colorA 46,48,1,4, P12_STA~ 5,6,7,8, P23_STA 9,10,11,12 O Scan LED Bi-color Status Pins for Port 0~11。 24 Scan LED Bi-color Scan Pins foe Port 0~11。 8 Scan LED Bi-color Status Pins for Port 12~23。 R O E N A FI LT fo D E r M EN K TN TIA L Port 12-23 8 SCAN_P12-17_Bi-colorB 44 24 Scan LED Bi-color Scan Pins foe Port 12~17。 SCAN_P18-23_Bi-colorC 45 24 Scan LED Bi-color Scan Pins foe Port 18~23。 4 Scan LED per port Single color LED status Pins for Port O SINGLE_STA_A ~ 0~23。 SINGLE_STA_D SCAN_P0-5 Scan LED Scan pin for per port LED2 Single-color LED。 24 SCAN_P6-11 These include port 0~23。 SCAN_P11-17_Bi-colorB SCAN_P18-23_Bi-colorC GPIO[35] 15 GPIO pin GPIO[36] 16 GPIO pin 6.3. SMI Mode Miscellaneous Pins C Table 7. Pin Pin Name RC_Ref No. 2 Miscellaneous Pins Type Description AO RC oscillator circuit. Should be Parallel connection (+/- 1%) resistance 249 ohm and (+/- 1%) capacitance 1nF when operate at the SMI mode. Note: The layout trace inductance must under 10nH. Serial Data Interface LED Display Controller 26 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Pin Name MDC/SCK Pin No. 18 Type Description I/OPU Serial Management Data clock MDC operates speed at 0-25Mhz/SCK operates speed at 0-1Mhz Note: SCK operates max speed 1M is depend on RC clock 10Mhz. MDIO/SDA 17 AI Serial Management Data Input/Output RESET 36 IPU System Pin Reset Input. When low active will reset the RTL8231 TEST 14 IPD Internal test pin. Must pull-down. R O E N A FI LT fo D E r M EN K TN TIA L 6.4. SMI Mode Configuration Strapping Pins Table 8. Pin Name Pin No. Configuration Strapping Pins Type Description GPIO[15]/Addr[0] 37 I/OPU When MDC/MDIO is selected, Addr[4:0] is Phy Address. GPIO[16]/Addr[1] 38 I/OPU When SMI Slave interface is selected, Addr[2:0] is Device ID, and the GPIO[17]/Addr[2] 39 I/OPU strapping Addr[3] change to the 16BIT_ SMI. 16BIT_SMI can define GPIO[18]/Addr[3]/16BIT_SM 40 I/OPU SMI Slave format is 16bit word addres when 16BIT_SMI set high. I When SMI Slave GPIO[19]/Addr[4] 41 I/OPU GPIO[20]/MOD[0] 42 I/OPU interface is selected,Addr[4] is reserved. Select MDC/MDIO interface when this strapping pin pull-high and SMI is enabled. LED[0]/Dis_SMI 15 I/OPD Select RTL8231 in the SMI mode or Shift Register mode. Pull-up is setting to shift register mode. Pull-down is setting to SMI mode. C Internal value is Pull-down. Serial Data Interface LED Display Controller 27 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 6.5. Shift Register Mode Pins Table 9. Pin Name Pin No. Shift Register Mode Pins Type Drive Description (mA) I/O 16 SO/MOD[1] 8 For cascade to the RTL8231 of the next stage. Always output the same data with the pin of LED[35]. Never output data inversely. 15 LED[0]/Dis_SMI The first output with the serial data output pin. Maybe R O E N A FI LT fo D E r M EN K TN TIA L output inversely when the strapping MOD[1:0] at the different compose. Must be pull-high when select Shift Register mode. 42 LED[15]/MOD[0] The15th output with the serial data output pin. Maybe output inversely when the strapping MOD[1:0] at the different compose. LED[2] ~ LED[35] O 8 Serial data shift output pin. 6.6. Shift Register Mode Miscellaneous Pins Table 10. Pin Pin Name RC_Ref No. 2 Shift Register Miscellaneous Pins Type Description AO RC oscillator circuit. Should be Parallel connection general resistance 249 ohm and general capacitance 1nF when operate at the shift register mode. Note: The layout trace inductance must under 10nH. 18 I/OPU Serial Data clock. CLK_IN operates speed at 0-25Mhz SI 17 AI Serial Data Input RESET 36 IPU System Pin Reset Input. When low active will reset the RTL8231 TEST 14 IPD Internal test pin. Must pull-down. C CLK_IN Serial Data Interface LED Display Controller 28 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 6.7. Shift Register Configuration Strapping Pins Table 11. Pin Name LED[0]/Dis_SMI Shift Register Mode Configuration Strapping Pins Pin No. 15 Type Description I/OPU Select RTL8231 in the SMI mode or Shift Register mode. Pull-up is setting to shift register mode. Pull-down is setting to SMI mode. Internal value is Pull-down. MOD[1:0] 15 I/O MOD[1:0] can define four compose of [active high, initial low], R O E N A FI LT fo D E r M EN K TN TIA L 42 Define the shift register initial vale after the power on or reset. [active high, initial high],[active low, initial low],and [active low, initial high]. MOD[1] defines that application circuit is active high or low. MOD[0] defines the initial value is output high or low. MOD[1:0] 00: Active low and initial value is low. At this mode, LED[15]/MOD[0] (pin42) output inverse data always. 01: Active low and initial value is high. 10: Active high and initial value is low. At this mode, LED[0]/Dis_SMI (pin15) output inverse data always. 11: Active high and initial value is high. At this mode, LED[0]/Dis_SMI (pin15) and LED[15]/MOD[0] (pin42) output C inverse data always. Serial Data Interface LED Display Controller 29 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 7. Controller Interfaces The strapping “Dis_SMI” of the RTL8231 can set the chip at the GPIO mode or shift register mode. The RTL8231 is GPIO mode when the strapping “Dis_SMI” pull low and pull high at shift register mode. When the RTL8231 is the GPIO mode the control interface is the SMI interface, and the serial data interface at the shift register mode. 7.1. SMI (MDC, MDIO) Interface R O E N A FI LT fo D E r M EN K TN TIA L SMI (MDC, MDIO) Management Packet Format Table 12. SMI (MDC, MDIO) Management Packet Format Management Frame Fields PRE ST O P PHYAD REGA D T A DATA IDLE Read 1…1 01 10 AAAAA RRRRR Z0 DDDDDDDDDDDDDDDD Z Write 1…1 01 01 AAAAA RRRRR 10 DDDDDDDDDDDDDDDD Z PRE (Preamble) At the beginning of each transaction, the station management entity shall send a sequence of 32 or 8 contiguous logic one bits on MDIO with 32 or 8 corresponding cycles on MDC. Note:If the 8 Bits preamble MDIO format be used then the MDC must be a free run clock. PHYAD (PHY Address) C The RTL8231 PHY address default is 5b’11111. Support PHY address from 0 to 31. REGAD (Register Address) The register address is five bits. Data The data field is 16 bits. The first data bit transmitted and received shall be bit 15 of the register being addressed. Serial Data Interface LED Display Controller 30 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Note:Because of the RL6129 clock is independence from whole system clock,MDC/MDIO circuit need the first two clock cycle to help RTL8231 start the MDC/MDIO circuit at the MDC/MDIO mode. That’s mean the first command could be fail when the first command transmit with the first MDC clock cycle. 7.2. SMI Slave Interface The strapping Pin “MOD[0]” can decide between MDC/MDIO and SMI_Slave interface. The switch MAC can access the RTL8231 by SDA and SCK。 The follow as the figure show that the SMI cycle of the MAC access ASIC which start and end by the Start state and the Stop state. // R O E N A FI LT fo D E r M EN K TN TIA L SDA // SCK START STOP Figure 1 Start/Stop state waveform SMI supports sequential Read / Write and a Read / Write a 16-bits data, which could control by strapping pin '16BIT_SMI' (pin40) to determine the support for 16 bits or 8 bits of word address. When the word address of 16 bits, its data format should be control byte (1) + address bytes (2) + data bytes (2N, N: integer, N ≠ 0) a combination of the following format shown below: 2 ADDRESS BYTES 1 CONTROL BYTE S 1 0 1 0 A 2 A 1 A 0 R A / C W K Addr [7:0] C MSB to LSB A C K Addr [15:8] 2N DATA BYTES A C K Data [7:0] A C K Data [15:8] N O A C K P MSB to LSB Figure 2 16 Bits Word Address Access sequence When the CPU to Read / Write 16-bits data to the ASIC, the first control byte of the LSB will be set to 1 (R) / 0 (W), for every eight data clock to be more than one ACK (0) clock (ACK from the CPU to inform ASIC has received 8-bits data). Serial Data Interface LED Display Controller 31 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft When the word address is 8bits, its data format should be control byte (1) + address byte (1) + data byte (2N, N: integer, N ≠ 0) a combination of the following format shown below: ADDRESS BYTES 1 CONTROL BYTE S 1 0 1 0 A 2 A 1 A 0 R A / C W K Addr [7:0] MSB to LSB N O 2N DATA BYTES A C K Data [7:0] A C K A C K Data [15:8] P MSB to LSB R O E N A FI LT fo D E r M EN K TN TIA L Figure 3 8 Bits Word Address Access sequence C Note:The fast frequency of SCK supports to 1Mhz at the SMI Slave interface. Serial Data Interface LED Display Controller 32 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 8. Function Description 8.1. Reset 8.1.1. Hardware Reset In a power-on reset, an internal power-on reset pulse is generated and the RTL8231 will start the reset initialization procedures. These are: R O E N A FI LT fo D E r M EN K TN TIA L Determine various default settings via the hardware strap pins at the end of the nRESET signal Initialize the internal registers 8.1.2. Software Reset When Software Reset is set to 1’b1 (write and self-clear), the chip will take the following steps: 1. Initialize the internal registers 8.2. Shift Register Mode The RTL8231 shift register mode could reserve the serial data, and output parallel data in order. There has the 36 shift register in the RTL8231. The output data sequence show below: LED Pin Output LED[1] LED[0] SI Q D Q D LED[35] Q D Q SO Pin Output ... C D LED[2] CLKI Figure 4 Start/Stop state waveform To latch the currently serial data which receive at the SI pin and shift the preceding data to the next stage at the Each rising edge of the serial clock. At the first the serial data input the RTL8231 output from the Serial Data Interface LED Display Controller 33 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft pin 15 LED[0]. At the last shift register, the serial data output to LED[35] pin and the SO pin at the same time. 8.2.1. Shift Register Mode System Application R O E N A FI LT fo D E r M EN K TN TIA L The RTL8231 shift register mode is designed for LED circuit of the Switch application. The RTL8231 Shift Register mode have the four status corresponded to different LED status circuit of the Switch application. The status individual the [active low, initial low], [active low, initial high], [active high, initial low], and [active high, initial high]. The active high or low means that the Switch external serial LED circuit be blinked by high single or low single. The initial high or low means that the shift register initial output is high or low after power on or hardware pin reset. If the serial data stream is show as the below figure: >40ns >40ns CKLI SI >40ns >40ns 1 2 LED[0] LED[1] 3 LED[2] >40ns 4 35 36 LED[3] LED[34] LED[35] Figure 5, Serial Stream The active low external serial to parallel LED circuit shown below: LED73 Shift data output Serial Data Input LED72 SO MDIO/SI MDC/CLKI LED71 LED70 C ... Clock Input LED3 LED2 SO MDIO/SI MDC/CLKI LED1 LED0 Figure 6, External Circuit for Serial to Parallel LED Serial Data Interface LED Display Controller 34 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Because of the parallel data output pin has the strapping pin be coexisted. The strapping pin value may has the inversely values which we don’t want. The RTL8231 strapping outputs have the inverse or non-inverse data by different status [active low, initial low], [active low, initial high], [active high, initial low], and [active high, initial high]. Table 13. The inverse data by different LED application mode LED[0]/Dis_SMI(pin15) LED[15]/MOD[0] (pin42) SO/MOD[1] (pin16) Initial pull-down Initial pull-high Initial floating 1 pull-high Serial mod output Strapping Serial mod output value value value D 0 D Strapping value Serial mod output Status Mode value 0 D External LED Circuit R O E N A FI LT fo D E r M EN K TN TIA L Strapping value Non-inverse pull-down (Serial output data pull-down Non-inverse will be inversed) Active low and initial output low after power on and or pin reset. 1 pull-high D 1 D 0 D External LED Circuit Non-inverse pull-high Non-inverse pull-down Non-inverse Active low and initial output high after power on and or pin reset. 1 pull-high D 0 D 1 D External LED Circuit (Serial output data pull-down Non-inverse pull-high Non-inverse Active high and initial will be inversed) output low after power on and or pin reset. 1 pull-high D 1 D 1 D External LED Circuit (Serial output data pull-high (Serial output data pull-high Non-inverse Active high and initial will be inversed) will be inversed) output high after power on C and or pin reset. 8.3. Scan LED Single color Mode The all of LEDs status be controlled by register. Each of LED has the 3 bits register to decide off, light, blinking 32ms, 64ms, 128ms, 256ms, 512ms, and 1024ms.*a MAC can control LED status register by SMI interface (MDC/MDIO or SMI_Slave). a. The blinking timing is depend on the 10Mhz RC clock. Serial Data Interface LED Display Controller 35 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Scan LED Single Color Mode is compose of the twins 6x6 circuit matrix. Scan LED single color mode external circuit is shown below: SCAN_STAA5 SCAN_STAA4 SCAN_STAA3 SCAN_STAA2 SCAN_STAA1 SCAN_STAA0 P7_D2 P7_D1 P7_D0 P6_D2 P6_D1 P6_D0 P5_D2 P5_D1 P5_D0 P4_D2 P4_D1 P4_D0 P3_D2 P3_D1 P3_D0 P2_D2 P2_D1 P2_D0 P1_D2 P1_D1 P1_D0 P0_D2 P0_D1 P0_D0 ... R O E N A FI LT fo D E r M EN K TN TIA L SCAN_LEDA0 SCAN_LEDA1 SCAN_LEDA2 SCAN_LEDA3 SCAN_LEDA4 SCAN_LEDA5 Figure 7, External Circuit for Single color Scan Mode The Scan LED Single color mode timing diagram is shown below: 600usec (Driving 24mA) SCAN_LEDA0 100usec (Driving 24mA) SCAN_LEDA1 100usec (Driving 24mA) SCAN_LEDA2 (Driving 24mA) SCAN_LEDA3 (Driving 24mA) SCAN_LEDA4 (Driving 24mA) SCAN_LEDA5 >200ns (Driving 4mA) SCAN_STAA0 P0_LED0 C (Driving 4mA) SCAN_STAA1 98usec (Driving 4mA) SCAN_STAA2 (Driving 4mA) SCAN_STAA3 (Driving 4mA) SCAN_STAA4 (Driving 4mA) SCAN_STAA5 >200ns P1_LED0 P2_LED0 P3_LED0 P4_LED0 P5_LED0 P0_LED1 P1_LED1 P2_LED1 P3_LED1 P4_LED1 P5_LED1 P0_LED2 P1_LED2 P2_LED2 P3_LED2 P4_LED2 P5_LED2 P6_LED0 P7_LED0 P8_LED0 P6_LED1 P7_LED1 P8_LED1 P6_LED2 P7_LED2 P8_LED2 P9_LED0 P9_LED1 P9_LED2 P10_LED0 P10_LED1 P10_LED2 P11_LED0 P11_LED1 P0_LED0 P1_LED0 P2_LED0 P3_LED0 P4_LED0 P11_LED2 P5_LED0 P0_LED1 P1_LED1 P2_LED1 P3_LED1 P4_LED1 P5_LED1 Figure 8, Scan LED Timing Diagram for Single color Mode*a Serial Data Interface LED Display Controller 36 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft a. The Scan LED timing is depend on the 10Mhz RC clock. The LED is turned on interval between 0.2usec to avoid rush current at all of Scan LED mode. 8.3.1. Scan Single Color Mode with RTL8328S Application R O E N A FI LT fo D E r M EN K TN TIA L RTL8328S application is the 24ports Fast Ethernet + 4 Ports 1000 Base-T/1000 Base-X Switch. At the 24 ports 10/100M Ethernet, each port LED status could be used the two single color LED. There is use 48 LEDs in the twins 6x6 scan circuit matrix at the 24 port 10/100M Ethernet application. The remainder Single Color LED can use at 1000M Ethernet port Single Color status. At the RTL8328S the 1000 Base-T and 1000 Base-X bi-color LED status are dividing. Because need to supporting 1000 Base-T/1000 Base-X at the same time,RTL8231 has the 8 bi-color LED at the Scan single color mode. At the Scan single color LED mode the 8 port bi-color LED timing diagram is shown below: 600 usec (Driving 24mA) SCAN_LED_Bi -colorC 150 usec >200ns (Driving 8mA) P24_STA (Driving 8mA) P25_STA (Driving 8mA) P26_STA (Driving 8mA) P27_STA Smart Dynamic Change 133 usec >200ns (Driving 8mA) P28_STA (Driving 8mA) P29_STA C (Driving 8mA) P30_STA (Driving 8mA) P31_STA Figure 9, Scan LED Timing Diagram for Single color Mode with 28S Bi-color LED Serial Data Interface LED Display Controller 37 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 8.3.2. Scan Single Color Output Matrix Maps to Control Register The scan single color output pins constitute the scan matrix. In each of cross line in the scan matrix, which maps to the LED control register is show below: Connect to LED negative pole Pin name SCAN_LEDA0 SCAN_STAA0 P0_LED0 0x9[2:0] SCAN_LEDA1 SCAN_LEDA2 SCAN_LEDA3 SCAN_LEDA4 SCAN_LEDA5 P0_LED1 0x10[2:0] P0_LED2 0x17[2:0] P6_LED0 0xA[5:3] P6_LED1 0x11[5:3] P6_LED2 0x18[5:3] SCAN_STAA0 R O E N A FI LT fo D E r M EN K TN TIA L Connect to LED positive pole P1_LED0 0x9[5:3] P1_LED1 0x10[5:3] P1_LED2 0x17[5:3] P7_LED0 0xA[8:6] P7_LED1 0x11[8:6] P7_LED2 0x18[8:6] SCAN_STAA1 SCAN_STAA2 P2_LED0 0x9[8:6] P2_LED1 0x10[8:6] P2_LED2 0x17[8:6] P8_LED0 0xA[11:9] P8_LED1 0x11[11:9] P8_LED2 0x18[11:9] SCAN_STAA2 SCAN_STAA3 P3_LED0 0x9[11:9] P3_LED1 0x10[11:9] P3_LED2 0x17[11:9] P9_LED0 0xA[14:12] P9_LED1 0x11[14:12] P9_LED2 0x18[14:12] SCAN_STAA3 SCAN_STAA4 P4_LED0 0x9[14:12] P4_LED1 0x10[14:12] P4_LED2 0x17[14:12] P10_LED0 0xB[2:0] P10_LED1 0x12[2:0] P10_LED2 0x19[2:0] SCAN_STAA4 SCAN_STAA5 P5_LED0 0xA[2:0] P5_LED1 0x11[2:0] P5_LED2 0x18[2:0] P11_LED0 0xB[5:3] P11_LED1 0x12[5:3] P11_LED2 0x19[5:3] SCAN_STAA5 SCAN_LEDA0 SCAN_LEDA1 SCAN_LEDA4 SCAN_LEDA5 Pin name SCAN_LEDA2 SCAN_LEDA3 Connect to LED negative pole Connect to LED positive pole Map to Register SCAN_STAA1 C Figure 10, Scan single color LED circuit maps to control register at group A. Serial Data Interface LED Display Controller 38 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Connect to LED negative pole Pin name SCAN_LEDB0 SCAN_STAB0 SCAN_LEDB1 SCAN_LEDB2 SCAN_LEDB3 SCAN_LEDB4 SCAN_LEDB5 P12_LED1 0x12[8:6] P12_LED2 0x19[8:6] P18_LED0 0xC[11:9] P18_LED1 0x13[11:9] P18_LED2 0x1A[11:9] P12_LED0 0xB[8:6] SCAN_STAB0 P13_LED1 0x12[11:9] P13_LED2 0x19[11:9] P19_LED0 0xC[14:12] P19_LED1 0x13[14:12] P19_LED2 0x1A[14:12] SCAN_STAB1 SCAN_STAB2 P14_LED0 0xB[14:12] P14_LED1 0x12[14:12] P14_LED2 0x19[14:12] P20_LED0 0xD[2:0] P20_LED1 0x14[2:0] P20_LED2 0x1B[2:0] SCAN_STAB2 SCAN_STAB3 P15_LED0 0xC[2:0] P15_LED1 0x13[2:0] P15_LED2 0x1A[2:0] P21_LED0 0xD[5:3] P21_LED1 0x14[5:3] P21_LED2 0x1B[5:3] SCAN_STAB3 SCAN_STAB4 P16_LED0 0xC[5:3] P16_LED1 0x13[5:3] P16_LED2 0x1A[5:3] P22_LED0 0xD[8:6] P22_LED1 0x14[8:6] P22_LED2 0x1B[8:6] SCAN_STAB4 SCAN_STAB5 P17_LED0 0xC[8:6] P17_LED1 0x13[8:6] P17_LED2 0x1A[8:6] P23_LED0 0xD[11:9] P23_LED1 0x14[11:9] P23_LED2 0x1B[11:9] SCAN_STAB5 SCAN_LEDB0 SCAN_LEDB1 SCAN_LEDB4 SCAN_LEDB5 R O E N A FI LT fo D E r M EN K TN TIA L Connect to LED positive pole P13_LED0 0xB[11:9] Pin name SCAN_LEDB2 SCAN_LEDB3 Connect to LED negative pole Connect to LED positive pole Map to Register SCAN_STAB1 Figure 11, Scan single color LED circuit maps to control register at group B. Some Color of the Bi-color LED Negative Pole Pin P24_STA name P24_LED0 0xD[14:12] P26_STA P27_STA P28_STA P29_STA P30_STA P31_STA P25_LED0 0xE[2:0] P26_LED0 0xE[5:3] P27_LED0 0xE[8:6] P28_LED0 0xE[11:9] P29_LED0 0xE[14:12] P30_LED0 0xF[2:0] P31_LED0 0xF[5:3] P24_LED1 0x14[14:12] P26_LED1 0x15[5:3] P27_LED1 0x15[8:6] P28_LED1 0x15[11:9] P29_LED1 0x15[14:12] P30_LED1 0x16[2:0] P31_LED1 0x16[5:3] P25_STA P26_STA P27_STA P28_STA P29_STA P30_STA P31_STA C Pin P24_STA name P25_LED1 0x15[2:0] SCAN_LED_Bi-colorC LED Neg. pole LED Neg. pole Map to Register LED Pos. pole SCAN_LED_Bi-colorC LED Pos. pole Pin name P25_STA Some Color of the Bi-color LED Positive Pole Figure 12, Scan single color LED circuit maps to control register at group C. Serial Data Interface LED Display Controller 39 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 8.4. SCAN LED Bi-color Mode Scan Bi-color mode supports 24 ports Bi-color scanning LED, each port includes one bi-color and one single color LED. Scan Bi-color mode compose of one 4x6 single color LED circuit matrix ,one 1x12 bi-color LED circuit matrix and two 1x6 scan bi-color LED circuit matrix. The output pin Scan Bi-color pin of the two (1x6) Scan Bi-color and the output pin scan_LED pin of the 4x6 single color are shared. The RTL8231 reach by the smart dynamic change mechanism. In the Scan LED Bi-color, the SCAN_Bi-color high is lit the LED0, and the SCAN_Bi-color low is lit the LED1. Smart Dynamic Change R O E N A FI LT fo D E r M EN K TN TIA L 8.4.1. In Scan Bi-color LED mode , the SCAN_LED pin to determine which LED to light a color, then through SCEN_STA to determine which Port needs to light up. As the Bi-color LED on the same port will not have the use of two kinds of colors also need to be turned on. Therefore, the period of the SCAN_LED could be divided into four equal parts, each time slot can simultaneously up to 4 port light LED, which is four time slot is automatically classified by RTL8231 between the different port must be lit in different color combinations. For example, when the port 0,2,4,5,11 need to light up bi-color Green while the other port needs light bi-color Yellow. Then the first and second time slot, when we let SCAN_LED for High, in a time slot for port 0,2,4,5 of SCEN_STA for Low light port 0,2,4,5 of the bi-color Green. Let the second time slot when port11's SCEN_STA for Low light port11 of the bi-color Green. The third and the fourth time slot, SCAN_LED compared to Low, in the allocation of the remaining port to light bi-color Yellow. S lo t 2 S lo t 1 S lo t 3 S lo t 4 SC A N _LED C P8 P1 P0 P3 P2 P9 P6 P4 P5 P10 P7 P11 Figure 13, Smart Dynamic Change timing Diagram-1 Serial Data Interface LED Display Controller 40 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 8.4.2. SCAN Bi-color LED Mode Timing Diagram The figure below is the first group Scan Bi-color LED, is the Matrix by a group composed of 1x12. The LED is used by Smart Dynamic Change mechanism, so can increase the Bi-color LED turn on time, in order to increase the Bi-color LED brightness. 600 usec (Driving 24mA) SCAN_Bi-colorA 120 usec R O E N A FI LT fo D E r M EN K TN TIA L Smart Dynamic Change >200ns (Driving 8mA) P0_STA (Driving 8mA) P1_STA (Driving 8mA) P2_STA (Driving 8mA) P3_STA 100 usec >200ns ... ... ... (Driving 8mA) P10_STA (Driving 8mA) P11_STA Figure 14, Scan LED Timing Diagram for Bi-color Mode, Bi-color Diagram 1 C In the Bi-color LED Mode, the other two groups of bi-color LED is two 1x6's matrix, where 1 is the matrix of the SCAN_bi-color pin, and with the single color of the SCAN_LED pin sharing. The following figure is the Bi-color SCAN_LED into single color LED's SCAN_LED timing diagram, can be seen from the diagram belonging to the single color of the time slot, the P12_STA, P13_STA, ..., P17_STA will follow SCAN_P12-17_Bi-colorB change, and P18_STA , ..., P23_STA will follow SCAN_P18-23_Bi-colorC change, in order to avoid stealing Bi-color LED light. In the single color LED connection, is a 4x6 = 24 single color. In the period of bi-color LED be lit, sharing the Pin SCAN_P12-17_Bi-colorB and SCAN_P18-23_Bi-colorC will be transformed into Smart Dynamic Change of status. At this time the all of single color SCAN_STA pins SCAN_STA_A, ..., SCAN_STA_F be maintained as the Low state. We can ensure that Bi-color status, it will not allow single color light. Serial Data Interface LED Display Controller 41 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 600usec (Driving 24mA) SCAN_P0-5 75 usec (Driving 24mA) SCAN_P6-11 75 usec Smart Dynamic Change (Driving 24mA) SCAN_P1217_Bi-colorB (Driving 24mA) SCAN_P1823_Bi-colorC 100 usec >200ns 73usec (Driving 4mA) SCAN_STA_A P0_LED2 P6_LED2 (Driving 4mA) SCAN_STA_B >200ns P1_LED2 (Driving 4mA) SCAN_STA_C P2_LED2 (Driving 4mA) SCAN_STA_D P3_LED2 P9_LED2 P15_LED2 P21_LED2 P3_LED2 P9_LED2 P15_LED2 (Driving 4mA) SCAN_STA_E (Driving 4mA) SCAN_STA_F (Driving 8mA) P12_STA (Driving 8mA) P13_STA (Driving 8mA) P14_STA (Driving 8mA) P15_STA (Driving 8mA) P16_STA (Driving 8mA) P17_STA P4_LED2 P10_LED2 P16_LED2 P22_LED2 P4_LED2 P10_LED2 P16_LED2 P17_LED2 P23_LED2 >200ns 98 usec P5_LED2 P11_LED2 P17_LED2 P18_LED2 P0_LED2 P6_LED2 P7_LED2 P13_LED2 P19_LED2 P1_LED2 P7_LED2 P13_LED2 P8_LED2 P14_LED2 P20_LED2 P2_LED2 P8_LED2 P14_LED2 R O E N A FI LT fo D E r M EN K TN TIA L P12_LED2 P5_LED2 P11_LED2 P12_LED2 (Driving 8mA) P18_STA (Driving 8mA) P19_STA (Driving 8mA) P20_STA (Driving 8mA) P21_STA (Driving 8mA) P22_STA (Driving 8mA) P23_STA C Figure 15, Scan LED Timing Diagram for Bi-color Mode, Single-color Diagram 2 Serial Data Interface LED Display Controller 42 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft SCAN_STAF SCAN_STAE SCAN_STAD SCAN_STAC SCAN_STAB SCAN_STAA P12_STA P13_STA P14_STA P15_STA P16_STA P17_STA P18_STA P19_STA P20_STA P23_STA ... Port12 Port13 Port14 Port15 Port16 Port17 Port18 Port19 Port20 Port23 SCAN_P12-17 SCAN_P18-23 C R O E N A FI LT fo D E r M EN K TN TIA L Figure 16, External Circuit for Bi-color Scan Mode Serial Data Interface LED Display Controller 43 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 8.4.3. Scan Single Color Output Matrix Maps to Control Register The scan single color output pins constitute the scan matrix. In each of cross line in the scan matrix, which maps to the LED control register is show below: Some Color of the Bi-color LEDNegative Pole Pin P0_STA name P0_LED0 0x9[2:0] P2_STA P9_STA P10_STA P11_STA P1_LED0 0x9[5:3] P2_LED0 0x9[8:6] P9_LED0 0xA[14:12] P10_LED0 0xB[2:0] P11_LED0 0xB[5:3] ... P1_LED1 0x10[5:3] P2_LED1 0x10[8:6] P9_LED1 0x11[14:12] P10_LED1 0x12[2:0] P11_LED1 0x12[5:3] Pin P0_STA name P1_STA P2_STA P9_STA P10_STA P11_STA R O E N A FI LT fo D E r M EN K TN TIA L P0_LED1 0x10[2:0] SCAN_Bi-colorA LED Neg. pole LED Neg. pole Map to Register LED Pos. pole SCAN_Bi-colorA LED Pos. pole Pin name P1_STA Some Color of the Bi-color LEDPositive Pole Figure 17, Scan Bi-color LED matrix maps to control register at group A. Some Color of the Bi-color LED Negative Pole Pin P12_STA name P12_LED0 0xB[8:6] P15_STA P16_STA P17_STA P13_LED0 0xB[11:9] P14_LED0 0xB[14:12] P15_LED0 0xC[2:0] P16_LED0 0xC[5:3] P17_LED0 0xC[8:6] P13_LED1 0x12[11:9] P14_LED1 0x12[14:12] P15_LED1 0x13[2:0] P16_LED1 0x13[5:3] P17_LED1 0x13[8:6] P13_STA P14_STA P15_STA P16_STA P17_STA Map to Register P12_LED1 0x12[8:6] Pin P12_STA name LED Neg. pole LED Neg. pole P14_STA LED Pos. pole SCAN_P12-17_BicolorB LED Pos. pole Pin name P13_STA SCAN_P12-17_BicolorB Some Color of the Bi-color LED Positive Pole Some Color of the Bi-color LED Negative Pole Pin P18_STA name P18_LED0 0xC[11:9] LED Neg. pole P21_STA P22_STA P23_STA P19_LED0 0xC[14:12] P20_LED0 0xD[2:0] P21_LED0 0xD[5:3] P22_LED0 0xD[8:6] P23_LED0 0xD[11:9] P19_LED1 0x13[14:12] P20_LED1 0x14[2:0] P21_LED1 0x14[5:3] P22_LED1 0x14[8:6] P23_LED1 0x14[11:9] P19_STA P20_STA P21_STA P22_STA P23_STA Map to Register P18_LED1 0x13[11:9] Pin P18_STA name LED Neg. pole C SCAN_P18-23_BicolorC P20_STA LED Pos. pole LED Pos. pole Pin name P19_STA SCAN_P18-23_BicolorC Some Color of the Bi-color LED Positive Pole Figure 18, Scan Bi-color LED matrix maps to control register at group B. Serial Data Interface LED Display Controller 44 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Connect to LED negative pole Pin name SCAN_P0-5 SCAN_P6-11 SCAN_P1217_Bi-colorB SCAN_P1823_Bi-colorC P0_LED2 0x17[2:0] P6_LED2 0x18[5:3] P12_LED2 0x19[8:6] P18_LED2 0x1A[11:9] SCAN_STA_A SCAN_STA_A P7_LED2 0x18[8:6] P13_LED2 0x19[11:9] P19_LED2 0x1A[14:12] P2_LED2 0x17[8:6] P8_LED2 0x18[11:9] P14_LED2 0x19[14:12] P20_LED2 0x1B[2:0] SCAN_STA_B SCAN_STA_C R O E N A FI LT fo D E r M EN K TN TIA L Connect to LED positive pole SCAN_STA_C P1_LED2 0x17[5:3] SCAN_STA_D P3_LED2 0x17[11:9] P9_LED2 0x18[14:12] P15_LED2 0x1A[2:0] P21_LED2 0x1B[5:3] P4_LED2 0x17[14:12] P10_LED2 0x19[2:0] P16_LED2 0x1A[5:3] P22_LED2 0x1B[8:6] P5_LED2 0x18[2:0] P11_LED2 0x19[5:3] P17_LED2 0x1A[8:6] P23_LED2 0x1B[11:9] SCAN_P0-5 SCAN_P6-11 SCAN_P1217_Bi-colorB SCAN_P1823_Bi-colorC SCAN_STA_E SCAN_STA_F SCAN_STA_D SCAN_STA_E Connect to LED positive pole Map to Register SCAN_STA_B SCAN_STA_F Pin name Connect to LED negative pole Figure 19, Scan Bi-color LED matrix maps to control register at group C. 8.5. GPIO Mode C In SMI mode, each of RTL8231 I/O pin could become the GPIO pin. The RTL8231 has the 37 GPIO pins which are set by register. The register 0x0002~0x0004 could select all I/O pins operate at the SCAN_LED mode or GPIO mode. The register 0x0004~0x0006 could select all of the GPIO are GPI or GPO. 8.5.1. Setting GPIO Pin Descriptions In the SMI mode, the RTL8231 is allowed to choose each Pin whether or not to set GPIO or SCAN LED pin besides of the VCC / GND, Clock input, and the SMI Data input pin. To Setting GPIO will be used by the Register as in the following shows: SEL_GPIO Serial Data Interface LED Display Controller 45 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Choose RTL8231 the use of Pin for SCAN LED or GPIO. SEL_GPIO Register, when the Register value is 1'b0 indicates that the Pin for Scan LED. When the Register value is 1'b1, it said that the Pin for the GPIO Pin. IO_GPIO When the Pin is set as a GPIO, the pin was input or output. IO_GPIO Register, when the Register value is 1'b0, which the mapping SEL_GPIO value is 1'b1, said the GPIO pin as Output. When the Register value is 1'b1, which the mapping SEL_GPIO value is 1'b1, said the GPIO pin for the Input. R O E N A FI LT fo D E r M EN K TN TIA L INV_GPIO When the Pin is set to GPO (output), it was decided Output data whether or not to inverse. INV_GPIO Register, when the INV_GPIO Register value is 1'b1 which mapping the Pin was selected GPO, the Output data written to the data with the SMI contrast. The GPI (Input) is not affected by INV_GPIO. When INV_GPIO Register value is 1'b0, then the same. Buzzer_on Only setting at Pin 15 GPIO [35]. The pin 15 is a general GPIO when Buzzer_on (0x0001 bit[3]) is set to 1'b0. When the Buzzer_on setting 1'b1, GPIO [35] was forced the output pin (ignore IO_GPIO [35] of the setting).At this moment, pin 15 will be sent to the frequency single for Buzzer. The frequency could set by the Buzzer_Freq [2:0] (0x0001 bits[2:0]) to decide. Output on Output off Pin 17 Output Beep Frequency Figure 20, Buzzer signal Output C En_Debouncing When the Pin is set as a GPI state, the input signal required to continuously maintain the same status 100ms in order to be latch. Input data will be written in DATA_GPIO. Only part of the Pin can support En_Debouncing function. When the En_Debouncing is Enable, the corresponding Pin will be forced into GPI (input). At this moment, the corresponding register SEL_GPIO [X], and IO_GPIO [x] will be forced to write to 1'b1. Serial Data Interface LED Display Controller 46 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft The first 100ms continue signal and latch the value The same signal continue 100ms GPIO[x] pin signal En_Debouncing [x] t In first 100ms the Enable No continue 100ms Data_GPIO[x] value is debouncing initial value GPIO[x] the same signal level (GPIO[31]~[33] are 1'b1, Debouncing GPIO[34]~[36] are 1'b0) function Figure 21, Dip Switch Debouncing C R O E N A FI LT fo D E r M EN K TN TIA L 4mA_Driving Each GPIO's output driving default driving current of 8mA. If you need to change the 4mA, you can set the 4mA_Driving (0x0000 bit[7]) register to 1’b1. This is a global register, all of the GPIO pin output driving current will be into 4mA when set to high. DATA_GPIO DATA_GPIO Register, when the corresponding Pin was selected as GPIO, the GPIO is used to store the contents of the required output or input which the latch to the value. Serial Data Interface LED Display Controller 47 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 9. Inter Register Description Symbols: R: Read V: Configurable W: Write P: Partially Configurable RW: Read/Write X: Not Configurable 9.1. LED Mode System Configuration Register R O E N A FI LT fo D E r M EN K TN TIA L In MDC/MDIO mode the Register table is at Page 30. In SMI Slave mode the Register address are the same in the table Register Base Address column. Register Base Address RW Defaul t Pin 0 En_bicolor 1’b0: Using single color LED, when in Scan LED mode. 1’b1: Using bi-color LED, when in Scan LED mode. RW 1 - 1 LED_Start When MAC setting RTL8231 ready MAC should write this bit 1’b1. RW 0 2 PHY Address[0]/Device ID[0] R 1 3 PHY Address[1]/Device ID[1] R 1 4 PHY Address[2]/Device ID[2] R 1 5 PHY Address[3]/16BIT_I2C R 1 6 PHY Address[4] R 1 7 4mA_Driving RW 0 - 0 - 8 All_light_LED0 (In the Scan LED Bi-color, the SCAN_Bi-color pin high is lit the LED0) 1’b1:all LED0 light 9 All_light_LED1 (In the Scan LED Bi-color, the SCAN_Bi-color pin low is lit the LED1. 1’b1:all LED1 light C 0x0000 Offse t Description Serial Data Interface LED Display Controller 48 RW 0 RW Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Register Description RW 10 All_light_LED2 1’b1:all LED2 light RW 11 All_blinking_LED0 1’b1:all LED0 blinking RW 12 All_blinking_LED1 1’b1:all LED1 blinking RW 13 All_blinking_LED2 1’b1:all LED2 blinking RW Defaul t En_Sync_LED 1’b0:Scan LED output update status at 14 Pin 0 0 0 0 R O E N A FI LT fo D E r M EN K TN TIA L Base Address Offse t RW 0 RW 0 RW Defaul t Pin RW 1 - RW 0 - RW 0 - RW 0 - real-time when LED status register value was be changed. (default value) 1’b1:Scan LED output only update status when 0x001B[15]( Sync_LED) write to 1’b1. En_Sync_GPIO 1’b0:GPIO output update status at real-time 15 when DATA_GPIO register value was be changed. (default value) 1’b1:GPIO output only update status when 0x001E[15]( Sync_GPIO) write to 1’b1. Register Base Address Offse t C 0x0001 2:0 Description Buzzer_Freq[2:0] 000:1.5K 011:3K 001:2K(Default) 100:3.5K 010:2.5K 101:4K 110:5K 111:6K The frequency is depend on RC clock is 10Mhz. 3 Buzzer_on(GPIO[35]) Serial Data Interface LED Display Controller 49 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Register Description RW Defaul t Pin R 1 - 4 Ready_Code[0] The MAC can read the bit Ready_Code[5:0] value when LED_S2P is ready. 5 Ready_Code[1] R 1 - 6 Ready_Code[2] R 1 - 7 Ready_Code[3] R 0 - 8 Ready_Code[4] R 1 - 9 Ready_Code[5] R 1 - 10 En_Debouncing[31] RW 0 - 11 En_Debouncing[32] RW 0 - 12 En_Debouncing[33] RW 0 - 13 En_Debouncing[34] RW 0 - 14 En_Debouncing[35] RW 0 - 15 En_Debouncing[36] RW 0 - R O E N A FI LT fo D E r M EN K TN TIA L Base Address Offse t Register Base Address Description RW Defaul t Pin 0 SEL_GPIO[0] RW 0 - 1 SEL_GPIO[1] RW 0 - 2 SEL_GPIO[2] RW 0 - 3 SEL_GPIO[3] RW 0 - 4 SEL_GPIO[4] RW 0 - 5 SEL_GPIO[5] RW 0 - 6 SEL_GPIO[6] RW 0 - 7 SEL_GPIO[7] RW 0 - 8 SEL_GPIO[8] RW 0 - 9 SEL_GPIO[9] RW 0 - 10 SEL_GPIO[10] RW 0 - 11 SEL_GPIO[11] RW 0 - 12 SEL_GPIO[12] RW 0 - C 0x0002 Offse t Serial Data Interface LED Display Controller 50 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Register Base Address Register Base Address Description RW Defaul t Pin 13 SEL_GPIO[13] RW 0 - 14 SEL_GPIO[14] RW 0 - 15 SEL_GPIO[15] RW 0 - RW Defaul t Pin Offse t Description 0 SEL_GPIO[16] RW 0 - 1 SEL_GPIO[17] RW 0 - 2 SEL_GPIO[18] RW 0 - 3 SEL_GPIO[19] RW 0 - 4 SEL_GPIO[20] RW 0 - 5 SEL_GPIO[21] RW 0 - 6 SEL_GPIO[22] RW 1 - 7 SEL_GPIO[23] RW 0 - 8 SEL_GPIO[24] RW 0 - 9 SEL_GPIO[25] RW 0 - 10 SEL_GPIO[26] RW 0 - 11 SEL_GPIO[27] RW 1 - 12 SEL_GPIO[28] RW 1 - 13 SEL_GPIO[29] RW 1 - 14 SEL_GPIO[30] RW 1 - 15 SEL_GPIO[31] RW 1 - RW Defaul Pin R O E N A FI LT fo D E r M EN K TN TIA L 0x0003 Offse t Offse Base Address t 0x0004 0 SEL_GPIO[32] RW 1 SEL_GPIO[33] 2 C Register Description t RW 1 1 - SEL_GPIO[34] RW 1 - 3 Reserved RW 1 - 4 Reserved RW 1 - Serial Data Interface LED Display Controller 51 Track ID: JATR-1076-21 - Rev. 0.5 RTL8231 Datasheet Draft Register Description RW Defaul t Pin 5 IO_GPIO[32] I/O Masker RW 0 - 6 IO_GPIO[33] I/O Masker RW 0 - 7 IO_GPIO[34] I/O Masker RW 0 - 8 IO_GPIO[35] I/O Masker RW 0 - 9 IO_GPIO[36] I/O Masker RW 0 - 10 INV_GPIO[32] RW 0 - 11 INV_GPIO[33] RW 0 - 12 INV_GPIO[34] RW 0 - 13 INV_GPIO[35] RW 0 - 14 INV_GPIO[36] RW 0 - 15 Software Reset RW/SC 0 - Offse t Description RW Defaul t Pin R O E N A FI LT fo D E r M EN K TN TIA L Base Address Offse t Register Base Address 0 IO_GPIO[0] I/O Masker RW 0 - 1 IO_GPIO[1] I/O Masker RW 0 - 2 IO_GPIO[2] I/O Masker RW 0 - 3 IO_GPIO[3] I/O Masker RW 0 - 4 IO_GPIO[4] I/O Masker RW 0 - 5 IO_GPIO[5] I/O Masker RW 0 - 6 IO_GPIO[6] I/O Masker RW 0 - 7 IO_GPIO[7] I/O Masker RW 0 - 8 IO_GPIO[8] I/O Masker RW 0 - 9 IO_GPIO[9] I/O Masker RW 0 - 10 IO_GPIO[10] I/O Masker RW 0 - 11 IO_GPIO[11] I/O Masker RW 0 - 12 IO_GPIO[12] I/O Masker RW 0 - 13 IO_GPIO[13] I/O Masker RW 0 - 14 IO_GPIO[14] I/O Masker RW 0 - 15 IO_GPIO[15] I/O Masker RW 0 - C 0x0005 Serial Data Interface LED Display Controller 52 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Register Base Address Register Base Address Description RW Defaul t Pin Offse t Description RW Defaul t Pin 0 IO_GPIO[16] I/O Masker RW 0 - 1 IO_GPIO[17] I/O Masker RW 0 - 2 IO_GPIO[18] I/O Masker RW 0 - 3 IO_GPIO[19] I/O Masker RW 0 - 4 IO_GPIO[20] I/O Masker RW 0 - 5 IO_GPIO[21] I/O Masker RW 0 - 6 IO_GPIO[22] I/O Masker RW 0 - 7 IO_GPIO[23] I/O Masker RW 0 - 8 IO_GPIO[24] I/O Masker RW 0 - 9 IO_GPIO[25] I/O Masker R 0 - 10 IO_GPIO[26] I/O Masker R 0 - 11 IO_GPIO[27] I/O Masker R 0 - 12 IO_GPIO[28] I/O Masker R 0 - 13 IO_GPIO[29] I/O Masker R 0 - 14 IO_GPIO[30] I/O Masker R 0 - 15 IO_GPIO[31] I/O Masker R 0 - RW Defaul t Pin R O E N A FI LT fo D E r M EN K TN TIA L 0x0006 Offse t Register Base Address Description 0 INV_GPIO[0] Inverter Masker RW 0 - 1 INV_GPIO[1] Inverter Masker RW 0 - 2 INV_GPIO[2] Inverter Masker RW 0 - 3 INV_GPIO[3] Inverter Masker RW 0 - 4 INV_GPIO[4] Inverter Masker RW 0 - 5 INV_GPIO[5] Inverter Masker RW 0 - 6 INV_GPIO[6] Inverter Masker RW 0 - 7 INV_GPIO[7] Inverter Masker RW 0 - C 0x0007 Offse t Serial Data Interface LED Display Controller 53 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Register Description RW Defaul t Pin 8 INV_GPIO[8] Inverter Masker RW 0 - 9 INV_GPIO[9] Inverter Masker RW 0 - 10 INV_GPIO[10] Inverter Masker RW 0 - 11 INV_GPIO[11] Inverter Masker RW 0 - 12 INV_GPIO[12] Inverter Masker RW 0 - 13 INV_GPIO[13] Inverter Masker RW 0 - 14 INV_GPIO[14] Inverter Masker RW 0 - 15 INV_GPIO[15] Inverter Masker RW 0 - RW Defaul Pin Register Offse Base Address t 0x0008 0 INV_GPIO[16] Inverter Masker RW 0 - 1 INV_GPIO[17] Inverter Masker RW 0 - 2 INV_GPIO[18] Inverter Masker RW 0 - 3 INV_GPIO[19] Inverter Masker RW 0 - 4 INV_GPIO[20] Inverter Masker RW 0 - 5 INV_GPIO[21] Inverter Masker RW 0 - 6 INV_GPIO[22] Inverter Masker RW 0 - 7 INV_GPIO[23] Inverter Masker RW 0 - 8 INV_GPIO[24] Inverter Masker RW 0 - 9 INV_GPIO[25] Inverter Masker RW 0 - 10 INV_GPIO[26] Inverter Masker RW 0 - 11 INV_GPIO[27] Inverter Masker RW 0 - C R O E N A FI LT fo D E r M EN K TN TIA L Base Address Offse t Description 12 INV_GPIO[28] Inverter Masker RW 0 - 13 INV_GPIO[29] Inverter Masker RW 0 - 14 INV_GPIO[30] Inverter Masker RW 0 - 15 INV_GPIO[31] Inverter Masker RW 0 - t Serial Data Interface LED Display Controller 54 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Register Base Address 0x0009 Offse t RW Defaul t Pin RW 0 - RW 0 - RW 0 - Port1_LED0_[0] (In the Scan LED Bi-color, the SCAN_Bi-color pin high is lit the LED0) RW 0 - 4 Port1_LED0_[1] RW 0 - 5 Port1_LED0_[2] RW 0 - 6 Port2_LED0_[0] RW 0 - 7 Port2_LED0_[1] RW 0 - 8 Port2_LED0_[2] RW 0 - 9 Port3_LED0_[0] RW 0 - 10 Port3_LED0_[1] RW 0 - 11 Port3_LED0_[2] RW 0 - 12 Port4_LED0_[0] RW 0 - 13 Port4_LED0_[1] RW 0 - 14 Port4_LED0_[2] RW 0 - 15 Reserved RW 0 - Description RW Defaul t Pin 0 Port5_LED0_[0] RW 0 - 1 Port5_LED0_[1] RW 0 - 2 Port5_LED0_[2] RW 0 - 3 Port6_LED0_[0] RW 0 - 4 Port6_LED0_[1] RW 0 - 5 Port6_LED0_[2] RW 0 - 6 Port7_LED0_[0] RW 0 - 2:0 1 2 Port0_LED0_[2:0] 000:off 011:blinking 128ms 111:light 100:blinking 256ms 001:blinking 32ms 101:blinking 512ms 010:blinking 64ms 110:blinking 1024ms R O E N A FI LT fo D E r M EN K TN TIA L 3 Description Register Base Address C 0x000A Offse t Serial Data Interface LED Display Controller 55 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Register Description RW Defaul t Pin 7 Port7_LED0_[1] RW 0 - 8 Port7_LED0_[2] RW 0 - 9 Port8_LED0_[0] RW 0 - 10 Port8_LED0_[1] RW 0 - 11 Port8_LED0_[2] RW 0 - 12 Port9_LED0_[0] RW 0 - 13 Port9_LED0_[1] RW 0 - 14 Port9_LED0_[2] RW 0 - 15 Reserved RW 0 - Description RW Defaul t Pin R O E N A FI LT fo D E r M EN K TN TIA L Base Address Offse t Register 0 Port10_LED0_[0] RW 0 - 1 Port10_LED0_[1] RW 0 - 2 Port10_LED0_[2] RW 0 - 3 Port11_LED0_[0] RW 0 - 4 Port11_LED0_[1] RW 0 - 5 Port11_LED0_[2] RW 0 - 6 Port12_LED0_[0] RW 0 - 7 Port12_LED0_[1] RW 0 - 8 Port12_LED0_[2] RW 0 - 9 Port13_LED0_[0] RW 0 - 10 Port13_LED0_[1] RW 0 - C Base Address 0x000B Offse t 11 Port13_LED0_[2] RW 0 - 12 Port14_LED0_[0] RW 0 - 13 Port14_LED0_[1] RW 0 - 14 Port14_LED0_[2] RW 0 - 15 Reserved RW 0 - Serial Data Interface LED Display Controller 56 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Register Base Address Description RW Defaul t Pin 0 Port15_LED0_[0] RW 0 - 1 Port15_LED0_[1] RW 0 - 2 Port15_LED0_[2] RW 0 - 3 Port16_LED0_[0] RW 0 - 4 Port16_LED0_[1] RW 0 - 5 Port16_LED0_[2] RW 0 - 6 Port17_LED0_[0] RW 0 - 7 Port17_LED0_[1] RW 0 - 8 Port17_LED0_[2] RW 0 - 9 Port18_LED0_[0] RW 0 - 10 Port18_LED0_[1] RW 0 - 11 Port18_LED0_[2] RW 0 - 12 Port19_LED0_[0] RW 0 - 13 Port19_LED0_[1] RW 0 - 14 Port19_LED0_[2] RW 0 - 15 Reserved RW 0 - RW Defaul t Pin R O E N A FI LT fo D E r M EN K TN TIA L 0x000C Offse t Offse t 0x000D 0 Port20_LED0_[0] RW 0 - 1 Port20_LED0_[1] RW 0 - 2 Port20_LED0_[2] RW 0 - 3 Port21_LED0_[0] RW 0 - 4 Port21_LED0_[1] RW 0 - 5 Port21_LED0_[2] RW 0 - 6 Port22_LED0_[0] RW 0 - 7 Port22_LED0_[1] RW 0 - 8 Port22_LED0_[2] RW 0 - 9 Port23_LED0_[0] RW 0 - 10 Port23_LED0_[1] RW 0 - C Register Base Address Description Serial Data Interface LED Display Controller 57 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Register Base Address Register Description RW Defaul t Pin 11 Port23_LED0_[2] RW 0 - 12 Port24_LED0_[0] RW 0 - 13 Port24_LED0_[1] RW 0 - 14 Port24_LED0_[2] RW 0 - 15 Reserved RW 0 - RW Defaul t Pin Offse t Description R O E N A FI LT fo D E r M EN K TN TIA L Base Address Offse t 0 Port25_LED0_[0] RW 0 - 1 Port25_LED0_[1] RW 0 - 2 Port25_LED0_[2] RW 0 - 3 Port26_LED0_[0] RW 0 - 4 Port26_LED0_[1] RW 0 - 5 Port26_LED0_[2] RW 0 - 6 Port27_LED0_[0] RW 0 - 7 Port27_LED0_[1] RW 0 - 8 Port27_LED0_[2] RW 0 - 9 Port28_LED0_[0] RW 0 - 10 Port28_LED0_[1] RW 0 - 11 Port28_LED0_[2] RW 0 - 12 Port29_LED0_[0] RW 0 - 13 Port29_LED0_[1] RW 0 - 14 Port29_LED0_[2] RW 0 - 15 Reserved RW 0 - C 0x000E Serial Data Interface LED Display Controller 58 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Register Base Address Description RW Defaul t Pin 0 Port30_LED0_[0] RW 0 - 1 Port30_LED0_[1] RW 0 - 2 Port30_LED0_[2] RW 0 - 3 Port31_LED0_[0] RW 0 - 4 Port31_LED0_[1] RW 0 - 5 Port31_LED0_[2] RW 0 - 6 Reserved RW 0 - 7 Reserved RW 0 - 8 Reserved RW 0 - 9 Reserved RW 0 - 10 Reserved RW 0 - 11 Reserved RW 0 - 12 Reserved RW 0 - 13 Reserved RW 0 - 14 Reserved RW 0 - 15 Reserved RW 0 - RW Defaul t Pin 0 Port0_LED1_[0] (In the Scan LED Bi-color, the SCAN_Bi-color pin low is lit the LED1) RW 0 - 1 Port0_LED1_[1] RW 0 - 2 Port0_LED1_[2] RW 0 - 3 Port1_LED1_[0] RW 0 - 4 Port1_LED1_[1] RW 0 - 5 Port1_LED1_[2] RW 0 - 6 Port2_LED1_[0] RW 0 - 7 Port2_LED1_[1] RW 0 - R O E N A FI LT fo D E r M EN K TN TIA L 0x000F Offse t Register Base Address C 0x0010 Offse t Description Serial Data Interface LED Display Controller 59 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Register Description RW Defaul t Pin 8 Port2_LED1_[2] RW 0 - 9 Port3_LED1_[0] RW 0 - 10 Port3_LED1_[1] RW 0 - 11 Port3_LED1_[2] RW 0 - 12 Port4_LED1_[0] RW 0 - 13 Port4_LED1_[1] RW 0 - 14 Port4_LED1_[2] RW 0 - 15 Reserved RW 0 - RW Defaul Pin R O E N A FI LT fo D E r M EN K TN TIA L Base Address Offse t Offse Base Address t 0x0011 0 Port5_LED1_[0] RW 0 - 1 Port5_LED1_[1] RW 0 - 2 Port5_LED1_[2] RW 0 - 3 Port6_LED1_[0] RW 0 - 4 Port6_LED1_[1] RW 0 - 5 Port6_LED1_[2] RW 0 - 6 Port7_LED1_[0] RW 0 - 7 Port7_LED1_[1] RW 0 - 8 Port7_LED1_[2] RW 0 - 9 Port8_LED1_[0] RW 0 - 10 Port8_LED1_[1] RW 0 - 11 Port8_LED1_[2] RW 0 - 12 Port9_LED1_[0] RW 0 - 13 Port9_LED1_[1] RW 0 - 14 Port9_LED1_[2] RW 0 - 15 Reserved RW 0 - C Register Description t Serial Data Interface LED Display Controller 60 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Register Base Address Description RW Defaul t Pin 0 Port10_LED1_[0] RW 0 - 1 Port10_LED1_[1] RW 0 - 2 Port10_LED1_[2] RW 0 - 3 Port11_LED1_[0] RW 0 - 4 Port11_LED1_[1] RW 0 - 5 Port11_LED1_[2] RW 0 - 6 Port12_LED1_[0] RW 0 - 7 Port12_LED1_[1] RW 0 - 8 Port12_LED1_[2] RW 0 - 9 Port13_LED1_[0] RW 0 - 10 Port13_LED1_[1] RW 0 - 11 Port13_LED1_[2] RW 0 - 12 Port14_LED1_[0] RW 0 - 13 Port14_LED1_[1] RW 0 - 14 Port14_LED1_[2] RW 0 - 15 Reserved RW 0 - RW Defaul t Pin R O E N A FI LT fo D E r M EN K TN TIA L 0x0012 Offse t Offse t 0x0013 0 Port15_LED1_[0] RW 0 - 1 Port15_LED1_[1] RW 0 - 2 Port15_LED1_[2] RW 0 - 3 Port16_LED1_[0] RW 0 - 4 Port16_LED1_[1] RW 0 - 5 Port16_LED1_[2] RW 0 - 6 Port17_LED1_[0] RW 0 - 7 Port17_LED1_[1] RW 0 - 8 Port17_LED1_[2] RW 0 - 9 Port18_LED1_[0] RW 0 - 10 Port18_LED1_[1] RW 0 - C Register Base Address Description Serial Data Interface LED Display Controller 61 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Register Base Address Register Description RW Defaul t Pin 11 Port18_LED1_[2] RW 0 - 12 Port19_LED1_[0] RW 0 - 13 Port19_LED1_[1] RW 0 - 14 Port19_LED1_[2] RW 0 - 15 Reserved RW 0 - RW Defaul t Pin Offse t Description R O E N A FI LT fo D E r M EN K TN TIA L Base Address Offse t 0 Port20_LED1_[0] RW 0 - 1 Port20_LED1_[1] RW 0 - 2 Port20_LED1_[2] RW 0 - 3 Port21_LED1_[0] RW 0 - 4 Port21_LED1_[1] RW 0 - 5 Port21_LED1_[2] RW 0 - 6 Port22_LED1_[0] RW 0 - 7 Port22_LED1_[1] RW 0 - 8 Port22_LED1_[2] RW 0 - 9 Port23_LED1_[0] RW 0 - 10 Port23_LED1_[1] RW 0 - 11 Port23_LED1_[2] RW 0 - 12 Port24_LED1_[0] RW 0 - 13 Port24_LED1_[1] RW 0 - 14 Port24_LED1_[2] RW 0 - 15 Reserved RW 0 - C 0x0014 Serial Data Interface LED Display Controller 62 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Register Base Address Description RW Defaul t Pin 0 Port25_LED1_[0] RW 0 - 1 Port25_LED1_[1] RW 0 - 2 Port25_LED1_[2] RW 0 - 3 Port26_LED1_[0] RW 0 - 4 Port26_LED1_[1] RW 0 - 5 Port26_LED1_[2] RW 0 - 6 Port27_LED1_[0] RW 0 - 7 Port27_LED1_[1] RW 0 - 8 Port27_LED1_[2] RW 0 - 9 Port28_LED1_[0] RW 0 - 10 Port28_LED1_[1] RW 0 - 11 Port28_LED1_[2] RW 0 - 12 Port29_LED1_[0] RW 0 - 13 Port29_LED1_[1] RW 0 - 14 Port29_LED1_[2] RW 0 - 15 Reserved RW 0 - RW Defaul t Pin R O E N A FI LT fo D E r M EN K TN TIA L 0x0015 Offse t Offse t 0x0016 0 Port30_LED1_[0] RW 0 - 1 Port30_LED1_[1] RW 0 - 2 Port30_LED1_[2] RW 0 - 3 Port31_LED1_[0] RW 0 - 4 Port31_LED1_[1] RW 0 - 5 Port31_LED1_[2] RW 0 - 6 Reserved RW 0 - 7 Reserved RW 0 - 8 Reserved RW 0 - 9 Reserved RW 0 - 10 Reserved RW 0 - C Register Base Address Description Serial Data Interface LED Display Controller 63 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Register Base Address Register Description RW Defaul t Pin 11 Reserved RW 0 - 12 Reserved RW 0 - 13 Reserved RW 0 - 14 Reserved RW 0 - 15 Reserved RW 0 - RW Defaul t Pin Offse t Description R O E N A FI LT fo D E r M EN K TN TIA L Base Address Offse t 0 Port0_LED2_[0] RW 0 - 1 Port0_LED2_[1] RW 0 - 2 Port0_LED2_[2] RW 0 - 3 Port1_LED2_[0] RW 0 - 4 Port1_LED2_[1] RW 0 - 5 Port1_LED2_[2] RW 0 - 6 Port2_LED2_[0] RW 0 - 7 Port2_LED2_[1] RW 0 - 8 Port2_LED2_[2] RW 0 - 9 Port3_LED2_[0] RW 0 - 10 Port3_LED2_[1] RW 0 - 11 Port3_LED2_[2] RW 0 - 12 Port4_LED2_[0] RW 0 - 13 Port4_LED2_[1] RW 0 - 14 Port4_LED2_[2] RW 0 - 15 Reserved RW 0 - C 0x0017 Serial Data Interface LED Display Controller 64 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Register Base Address Description RW Defaul t Pin 0 Port5_LED2_[0] RW 0 - 1 Port5_LED2_[1] RW 0 - 2 Port5_LED2_[2] RW 0 - 3 Port6_LED2_[0] RW 0 - 4 Port6_LED2_[1] RW 0 - 5 Port6_LED2_[2] RW 0 - 6 Port7_LED2_[0] RW 0 - 7 Port7_LED2_[1] RW 0 - 8 Port7_LED2_[2] RW 0 - 9 Port8_LED2_[0] RW 0 - 10 Port8_LED2_[1] RW 0 - 11 Port8_LED2_[2] RW 0 - 12 Port9_LED2_[0] RW 0 - 13 Port9_LED2_[1] RW 0 - 14 Port9_LED2_[2] RW 0 - 15 Reserved RW 0 - RW Defaul t Pin R O E N A FI LT fo D E r M EN K TN TIA L 0x0018 Offse t Offse t 0x0019 0 Port10_LED2_[0] RW 0 - 1 Port10_LED2_[1] RW 0 - 2 Port10_LED2_[2] RW 0 - 3 Port11_LED2_[0] RW 0 - 4 Port11_LED2_[1] RW 0 - 5 Port11_LED2_[2] RW 0 - 6 Port12_LED2_[0] RW 0 - 7 Port12_LED2_[1] RW 0 - 8 Port12_LED2_[2] RW 0 - 9 Port13_LED2_[0] RW 0 - 10 Port13_LED2_[1] RW 0 - C Register Base Address Description Serial Data Interface LED Display Controller 65 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Register Base Address Register Description RW Defaul t Pin 11 Port13_LED2_[2] RW 0 - 12 Port14_LED2_[0] RW 0 - 13 Port14_LED2_[1] RW 0 - 14 Port14_LED2_[2] RW 0 - 15 Reserved RW 0 - RW Defaul t Pin Offse t Description R O E N A FI LT fo D E r M EN K TN TIA L Base Address Offse t 0 Port15_LED2_[0] RW 0 - 1 Port15_LED2_[1] RW 0 - 2 Port15_LED2_[2] RW 0 - 3 Port16_LED2_[0] RW 0 - 4 Port16_LED2_[1] RW 0 - 5 Port16_LED2_[2] RW 0 - 6 Port17_LED2_[0] RW 0 - 7 Port17_LED2_[1] RW 0 - 8 Port17_LED2_[2] RW 0 - 9 Port18_LED2_[0] RW 0 - 10 Port18_LED2_[1] RW 0 - 11 Port18_LED2_[2] RW 0 - 12 Port19_LED2_[0] RW 0 - 13 Port19_LED2_[1] RW 0 - 14 Port19_LED2_[2] RW 0 - 15 Reserved RW 0 - C 0x001A Serial Data Interface LED Display Controller 66 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Register Base Address Description RW Defaul t Pin 0 Port20_LED2_[0] RW 0 - 1 Port20_LED2_[1] RW 0 - 2 Port20_LED2_[2] RW 0 - 3 Port21_LED2_[0] RW 0 - 4 Port21_LED2_[1] RW 0 - 5 Port21_LED2_[2] RW 0 - 6 Port22_LED2_[0] RW 0 - 7 Port22_LED2_[1] RW 0 - 8 Port22_LED2_[2] RW 0 - 9 Port23_LED2_[0] RW 0 - 10 Port23_LED2_[1] RW 0 - 11 Port23_LED2_[2] RW 0 - RW 0 - RW/SC 0 - RW Defaul t Pin R O E N A FI LT fo D E r M EN K TN TIA L 0x001B Offse t 12:14 Reserved 15 Register Base Address Description 0 DATA_GPIO[0] RW 0 - 1 DATA_GPIO[1] RW 0 - 2 DATA_GPIO[2] RW 0 - 3 DATA_GPIO[3] RW 0 - 4 DATA_GPIO[4] RW 0 - 5 DATA_GPIO[5] RW 0 - 6 DATA_GPIO[6] RW 0 - 7 DATA_GPIO[7] RW 0 - 8 DATA_GPIO[8] RW 0 - 9 DATA_GPIO[9] RW 0 - 10 DATA_GPIO[10] RW 0 - 11 DATA_GPIO[11] RW 0 - 12 DATA_GPIO[12] RW 0 - C 0x001C Offse t Sync_LED Serial Data Interface LED Display Controller 67 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Register Base Address Register Base Address Description RW Defaul t Pin 13 DATA_GPIO[13] RW 0 - 14 DATA_GPIO[14] RW 0 - 15 DATA_GPIO[15] RW 0 - RW Defaul t Pin Offse t Description 0 DATA_GPIO[16] RW 0 - 1 DATA_GPIO[17] RW 0 - 2 DATA_GPIO[18] RW 0 - 3 DATA_GPIO[19] RW 0 - 4 DATA_GPIO[20] RW 0 - 5 DATA_GPIO[21] RW 0 - 6 DATA_GPIO[22] RW 0 - 7 DATA_GPIO[23] RW 0 - 8 DATA_GPIO[24] RW 0 - 9 DATA_GPIO[25] RW 0 - 10 DATA_GPIO[26] RW 0 - 11 DATA_GPIO[27] RW 0 - 12 DATA_GPIO[28] RW 0 - 13 DATA_GPIO[29] RW 0 - 14 DATA_GPIO[30] RW 0 - 15 DATA_GPIO[31] RW 0 - RW Defaul t Pin R O E N A FI LT fo D E r M EN K TN TIA L 0x001D Offse t Offse t 0x001E 0 DATA_GPIO[32] RW 0 - 1 DATA_GPIO[33] RW 0 - 2 DATA_GPIO[34] RW 0 - 3 DATA_GPIO[35] RW 0 - C Register Base Address Description Serial Data Interface LED Display Controller 68 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Register Description RW Defaul t Pin 4 DATA_GPIO[36] RW 0 - 5 Reserved RW 0 - 6 Reserved RW 0 - 7 Reserved RW 0 - 8 Reserved RW 0 - 9 Reserved RW 0 - 10 Reserved RW 0 - 11 Reserved RW 0 - 12 Reserved RW 0 - 13 Reserved RW 0 - 14 Reserved RW 0 - 15 Sync_GPIO RW/SC 0 - C R O E N A FI LT fo D E r M EN K TN TIA L Base Address Offse t Serial Data Interface LED Display Controller 69 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 10. Electrical Characteristics 10.1. Absolute Maximum Ratings WARNING: Absolute maximum ratings are limits beyond which permanent damage may be caused to the device, or device reliability will be affected. All voltages are specified reference to GND unless otherwise specified. Table 14. Absolute Maximum Ratings Parameter Min Max Units - +125 °C -45 +125 °C VDD Supply Referenced to GND GND-0.3 +3.63 V Digital Input Voltage GND-0.3 VDD+0.3 V R O E N A FI LT fo D E r M EN K TN TIA L Junction Temperature (Tj) Storage Temperature 10.2. Recommended Operating Range Table 15. Recommended Operating Range Parameter Ambient Operating Temperature (Ta) VDD Supply Voltage Range Min Typical Max Units 0 - 70 °C 3.135 3.3 3.465 V 10.3. Thermal Characteristics Assembly Description Table 16. Assembly Description Type LQFP-48 Dimension (L x W) 7 x 7mm Thickness 0.27mm PCB Dimension (L x W) 81mm2 PCB Thickness 1.6mm C Package PCB Serial Data Interface LED Display Controller 70 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 2 layers (2S): -Top layer: 20% coverage of Cu -Bottom layer: 75% coverage of Cu 4 layers (2S2P): -1st layer: 20% coverage of Cu -2nd layer: 80% coverage of Cu -3rd layer: 80% coverage of Cu -4th layer: 75% coverage of Cu Number of Cu Layer-PCB Material Properties R O E N A FI LT fo D E r M EN K TN TIA L Table 17. Material Properties Item Package Material Thermal Conductivity K (W/m-k) Die Si 147 Silver Paste 1033BF 1.5 Lead Frame CDA7025 168 Mold Compound 7372 0.92 Cu 400 FR4 0.2 PCB 10.3.1. Shift Register mode Simulation Conditions Table 18. Simulation Conditions 435.6 mW Test Board (PCB) 2L (2S) / 4L (2S2P) Control Condition Air Flow = 0, 1, 2, 3 m/s C Input Power Thermal Performance of E-Pad LQFP-216 on PCB Under Still Air Convention Table 19. Thermal Performance of LQFP-48 on PCB Under Still Air Convention θJA θJB θJC ΨJT ΨJB 4L PCB TBD TBD TBD TBD TBD 2L PCB TBD TBD TBD TBD TBD Serial Data Interface LED Display Controller 71 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Thermal Performance of E-Pad LQFP-216 on PCB Under Forced Convection Table 20. Thermal Performance of LQFP-48 on PCB Under Forced Convection Air Flow (m/s) 0 1 2 3 θJA TBD TBD TBD TBD ΨJT TBD TBD TBD TBD ΨJB TBD TBD TBD TBD θJA TBD TBD TBD TBD ΨJT TBD TBD TBD TBD ΨJB TBD TBD TBD TBD 4L PCB R O E N A FI LT fo D E r M EN K TN TIA L 2L PCB Note: θJA: Junction to ambient thermal resistance θJB: Junction to board thermal resistance C θJC: Junction to case thermal resistance ΨJT: Junction to top center of package thermal characterization ΨJB: Junction to bottom surface center of PCB thermal characterization Serial Data Interface LED Display Controller 72 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 10.4. DC Characteristics Table 21. DC Characteristics Parameter SYM Min Typica Max l Unit s RTL8231 idle (no loading) Power Supply Current for VDD IDVDDIO0 - Total Power Consumption 17 - 56.1 mA mW Scan Single color LED IDVDDIO0 - 109 - mA PS - 359.7 - mW IDVDDIO0 - 116 - mA PS - 382.8 - mW IDVDDIO0 - 132 - mA PS - 435.6 - mW TTL Input High Voltage Vih 2.0 - - V TTL Input Low Voltage Vil - - 0.8 V Output High Voltage Voh 2.7 - - V Output Low Voltage Vol - - 0.6 V R O E N A FI LT fo D E r M EN K TN TIA L Power Supply Current for VDD Total Power Consumption for 72 LED application Scan Bi-color LED Power Supply Current for VDD 48 LED application Total Power Consumption Shift Register Mode Power Supply Current for VDD 36 LED application Total Power Consumption C VDDIO=3.3V Serial Data Interface LED Display Controller 73 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 10.5. AC Characteristics 10.5.1. SMI Slave Mode Timing Characteristics t1 t2 SCK SDA t5 t6 t7 t8 R O E N A FI LT fo D E r M EN K TN TIA L t3 t4 Data Input Data Output Data Input Figure 22. SMI Slave Mode Timing Characteristics Table 22. SMI Slave Mode Timing Characteristics Symbol Description I/O Min Typical Max Units t1 SCK High Time *A1 I 400 - - ns t2 SCK Low Time *A1 I 400 - - ns t3 START Condition Setup Time I 150 - - ns t4 START Condition Hold Time I 150 - - ns t5 Data Hold Time I 200 - - ns t6 Data Setup Time I 10 - - ns t7 Clock to Data Output Delay O 200 350 ns t8 STOP Condition Setup Time I 150 - ns - C *A1: Base on the RC clock is 10MHz Serial Data Interface LED Display Controller 74 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 10.6. MII Management (MIIM) Interface Timing MDC T IO _H T CYC T IO_S R O E N A FI LT fo D E r M EN K TN TIA L MDIO Figure 23. MII Management (MIIM) Interface Write Timing MDC T CYC T Delay MDIO Figure 24. MII Management (MIIM) Interface Read Timing Table 23. MII Management (MIIM) Interface Timing SYM Condition MDC Clock Input Cycle TCYC MDIO to MDC Rising Input Setup Time TIO_S C Parameter Min Typic al Max Units MDC Clock Input Cycle 50 - - ns MDIO to MDC Rising Input Setup Time 10 - - ns Serial Data Interface LED Display Controller 75 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft SYM Condition MDIO to MDC Rising Input Hold Time TIO_H MDIO to MDC Rising Input Hold Time MDIO Output Delay TDelay MDC to MDIO Rising Output Delay Min Typic al Max Units 10 - - ns - - 10 ns C R O E N A FI LT fo D E r M EN K TN TIA L Parameter Serial Data Interface LED Display Controller 76 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 10.7. Reset Characteristics t1 t2 VDD R O E N A FI LT fo D E r M EN K TN TIA L nRESET Figure 25. Reset Characteristics Table 24. Reset Characteristics Description I/O Min Typical Max Units t1 Reset Delay I 1 - - ms t2 Reset Low I 1 - - ms C Symbol Serial Data Interface LED Display Controller 77 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 11. Mechanical Dimensions C R O E N A FI LT fo D E r M EN K TN TIA L 11.1. LQFP-48 Dimensions Serial Data Interface LED Display Controller 78 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft Table 25. Dimension Range for LQFP-48 Pin (7*7 mm) Symbol Dimension in mm Min Max Min Max A -- 1.6 -- 0.06299 A1 0.05 0.15 0.00196 0.00591 A2 1.35 1.45 0.05315 0.05708 c1 0.09 0.16 0.00354 0.00629 9.00 BSC 0.3543 BSC R O E N A FI LT fo D E r M EN K TN TIA L D D1 7.00 BSC 0.2756 BSC E 9.00 BSC 0.3543 BSC E1 7.00 BSC 0.2756 BSC e 0.5 BSC 0.0197 BSC b 0.17 0.27 0.0067 0.0106 L 0.45 0.75 0.0177 0.0295 L1 NOTES: Dimension in inch 1 REF 0.0393 REF 1. JEDEC outline: MS-026 BBC 2. Dimensions D1 and E1 do not include mold protrusion. Allowable protrusion is 0.25mm per side. D1 and E1 are maximum plastic body size dimensions including mold mismatch. 3. dimension b does not include dambar protrusion. Allowable dambar protrusion shall not cause the lead width to exceed the C maximum b dimension by more than 0.08mm. Serial Data Interface LED Display Controller 79 Track ID: JATR-1076-21 Rev. 0.5 RTL8231 Datasheet Draft 12. Ordering Information Table 26. Ordering Information Package Status RTL8231-GR LQFP 48-Pin ‘Green’ Package - C R O E N A FI LT fo D E r M EN K TN TIA L Part Number Realtek Semiconductor Corp. Headquarters No. 2, Innovation Road II, Hsinchu Science Park, Hsinchu 300, Taiwan, R.O.C. Tel: 886-3-5780211 Fax: 886-3-5776047 www.realtek.com Serial Data Interface LED Display Controller 80 Track ID: JATR-1076-21 Rev. 0.5
RTL8231-GR 价格&库存

很抱歉,暂时无法提供与“RTL8231-GR”相匹配的价格&库存,您可以联系我们找货

免费人工找货
RTL8231-GR
    •  国内价格
    • 1+5.17000
    • 100+4.31200
    • 750+3.91600
    • 1500+3.63000

    库存:150

    RTL8231-GR
    •  国内价格
    • 1+3.86001
    • 10+3.56001
    • 30+3.50001

    库存:39

    RTL8231-GR
      •  国内价格
      • 1+7.14960
      • 10+5.96160
      • 30+5.36760
      • 250+4.02840

      库存:336

      RTL8231-GR
      •  国内价格
      • 1+4.51580
      • 10+4.16840
      • 100+3.82110
      • 1000+3.47370

      库存:500