Microsoft Word - ~ doc

Size: px
Start display at page:

Download "Microsoft Word - ~ doc"

Transcription

1 1 適用產品 : 1.1 SM59R16A5/ SM59R09A5/ SM59R05A5/ SM59R16A3/ SM59R09A3/ SM59R05A3 1.2 SM59R16G6/ SM59R09G6/ SM59R05G6 1.3 SM59R04A2/ SM59R04A1/ SM59R03A1/ SM59R02A1 1.4 SM59R16A2/ SM59R08A2 2 UART 差異如下說明 : P4UR1 P1UR0 UART0 UART1 (UART1 function pin assign) (UART0 function pin assign) SM59R16A5 SM59R16A3 SM59R09A5 SM59R09A3 SM59R05A5 SM59R05A3 SM59R16A2 SM59R08A2 SM59R16G6 SM59R09G6 SM59R05G6 SM59R04A2 SM59R04A1 SM59R03A1 SM59R02A1 : 表示該型號可以使用此特殊功能 : 表示該型號不可使用此特殊功能 Notice: 選用 Package DIP 因沒有 P4, 所以無法使用此特殊功能 2.1 SM59R 系列 UART0 和傳統 12T 8051 程序可完全相容 ( 使用 Timer 1), 不須修改 2.2 SM59R 系列大多數皆有雙 UART 功能, 有少數系列只提供 UART0 功能, 如上表 2.3 建議使用 UART0 和 UART1 獨立的 10-bit baud-rate generator, 可不佔用 MCU 其它資源 ( 例如 Timer 1, 2) ISSFA Ver B 2011/01

2 2.4 UART0 鮑率功式選擇 (BRS) 位置不同, 其它用方相同, 請參考以下 : SM59R16A5/ SM59R09A5/ SM59R05A5/ SM59R16A3/ SM59R09A3/ SM59R05A3/ SM59R04A2 請參考以下 : Mnemonic Description Direct Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 RESET Serial interface 0 and 1 AUX Auxiliary register 91h BRS P4CC P4SPI P4UR1 P4IIC P0KBI - DPS 00H SM59R16G6/ SM59R09G6/ SM59R05G6 請參考以下 : Mnemonic Description Direct Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 RESET Serial interface 0 and 1 AUX Auxiliary register 91h BRS P4SPI P4UR0 P4IIC P2PWM DPS 00H SM59R16A2/ SM59R08A2 請參考以下 : Mnemonic Description Direct Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 RESET Serial interface 0 and 1 Baud rate BRGS D8h BRS h generator switch 各系列 UART 串口鮑率 (Baud rate) 計算功式, 請參考下表 : Device Device SM59R16A5/ SM59R09A5/ SM59R05A5/ SM59R16A3/ SM59R09A3/ SM59R05A3/ SM59R16G6/ SM59R09G6/ SM59R05G6 SM59R04A2/ SM59R04A1/ SM59R03A1/ SM59R02A1/ SM59R16A2/ SM59R08A2 T1PS[1:0] is 00 2 Fclk TH1 ( ) BRS = 0 T1PS[1:0] is 01 2 Fclk TH1 ( ) T1PS[1:0] is 10 2 Fclk TH1 ( ) * T1PS 請參考 SFR PFCON 說明 Baud Rate F OSC = ( 256 TH1) ISSFA Ver B 2011/01

3 S0RELPS[1:0] is 00 2 Fclk S0REL ( ) BRS = 1 S0RELPS[1:0] is 01 2 Fclk S0REL ( ) S0RELPS[1:0] is 10 2 Fclk S0REL ( ) F OSC ( 2 S0REL) S0RELPS[1:0] is 11 2 Fclk S0REL ( ) SM59R16G6/ SM59R09G6/ SM59R05G6 系列,UART0 支援更快速的 baud rate, 請參考以下 : Mnemonic Description Direct Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 RESET Timer 0 and 1 PFCON Peripheral Frequency control register D9H S0RELPS[1:0] T1PS[1:0] T0PS[1:0] 00H Mnemonic: PFCON Address: D9H Reset - - S0RELPS[1:0] T1PS[1:0] T0PS[1:0] 00H S0RELPS[1:0]: S0REL Prescaler select S0RELPS[1:0] Prescaler 00 Fclk/64 01 Fclk/32 10 Fclk/16 11 Fclk/8 T1PS[1:0]: Timer1 Prescaler select T1PS[1:0] Prescaler 00 Fosc/12 01 Fosc 10 Fosc/96 11 reserved ISSFA Ver B 2011/01

4 2.5 UART0( 或 UART1) 的 RX 和 TX 提供可指定腳位 (pin assign) 的功能, 避免和其它特殊功能腳位重複, 並提高硬體規劃的相容性 指定腳位只須在程序中設定 P4UR0( 或 P4UR1) 即可, 更可擴展為多組 UART SM59R16A5/ SM59R09A5/ SM59R05A5/ SM59R16A3/ SM59R09A3/ SM59R05A3/ SM59R04A2, 請參考以下 : P4UR1: P4UR1 = 0 Serial interface 1 function on P1 ( RXD1 in P1.2, TXD1 in P1.3 ). P4UR1 = 1 Serial interface 1 function on P4 ( RXD1 in P4.2, TXD1 in P4.3 ) SM59R16G6/ SM59R09G6/ SM59R05G6, 請參考以下 : P1UR0: P4UR0 = 0 Serial interface 1 function on P1 ( RXD0 in P3.0, TXD0 in P3.1). P4UR0 = 1 Serial interface 1 function on P4 ( RXD0 in P1.2, TXD0 in P1.3 ). 3 UART 使用概述鮑率說明 : 3.1 使用串口時, 系統晶振頻率的誤差須小於 2%, 因內部晶振頻率的誤差較大, 為避免資料遺失, 系統建議使用外部晶振 3.2 UART0 鮑率 : 功能和一般 8051 相同, 可使用 Timer1(8-bit) 做鮑率產生, 另多一組內部鮑率 (Baud rate) 產生器 (16-bit), 鮑率相容更高更準確, 可供選用, 詳細說明參考 計算公式 3.3 UART1 鮑率 : 使用內部鮑率產生器 (16-bit) 產生, 詳細說明參考 計算公式 硬件說明 : 3.4 UART0 有四種操作模式 (mode 1~mode 4), 使用方式及設定可完全相容傳統 8051, 詳細請參考章節第 6.0 說明 3.5 UART1 有二種操作模式 (mode A 和 mode B), 請參考章節第 7.0 說明 3.6 每一組串口分別有獨立的緩衝記憶體, 傳送及接收則是共用緩衝記憶體 : UART0 使用 S0BUF UART1 使用 S1BUF 當執行資料接收時, 必須在前一筆資料完成執行工作以後, 否則會造成資料流失 ( 新資料覆蓋舊資料 ) 的情形 ; 可由傳送旗標 (TXIF) 和接收旗標 (RXIF) 判斷前一次的工作狀態是否完成 3.7 鮑率無論由 Timer(8-bit) 或內部鮑率產生器 (16-bit) 產生, 其頻率固定預除 12, 不受系統頻率選擇 1T 或 2T 的影響 4 UART 相關的特殊暫存器 UART Special Function Register (SFR) Mnemonic Description Direct Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 RESE T Serial interface 0 and 1 PCON Power control 87h MDUF STOP IDLE 40h AUX Auxiliary register 91h BRS P4CC P4SPI P4UR0 P4IIC P0KBI - DPS 00H S0CON Serial Port 0 control register 98h SM0 SM1 SM20 REN0 TB80 RB80 TI0 RI0 00h S0RELL Serial Port 0 reload register AAh S0REL.7 S0REL.6 S0REL.5 S0REL.4 S0REL.3 S0REL.2 S0REL.1 S0REL.0 00h low byte S0RELH Serial Port 0 BAh S0REL.9 S0REL.8 00h ISSFA Ver B 2011/01

5 S0BUF S1CON L H S1BUF reload register high byte Serial Port 0 data buffer Serial Port 1 control register Serial Port 1 reload register low byte Serial Port 1 reload register high byte Serial Port 1 data buffer 99h S0BUF[7:0] 00h 9Bh SM - SM21 REN1 TB81 RB81 TI1 RI1 00h 9Dh BBh Ch S1BUF[7:0] 00h 00h 00h Only for SM59R16A2/ SM59R08A2 used: Mnemonic Description Direct Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 RESE T Serial interface 0 and 1 PCON Power control 87h MDUF - PMW - - STOP IDLE 00h BRGS Baud rate generator switch D8h BRS h Mnemonic: S0CON Address: 98h Reset SM0 SM1 SM20 REN0 TB80 RB80 TI0 RI0 00h SM0,SM1: 串口 0(UART0) 模式選擇 (Serial Port 0 mode selection.) SM0 SM1 Mode Description Board Rate Baud Rate generate Shift register Fosc/12 Fixed bit UART Variable bit UART Fosc/32 or Fosc/ bit UART Variable 詳細可參考章節 6. 說明 Internal baud rate generator or Timer 1 ISSFA Ver B 2011/01 Fixed Internal baud rate generator or Timer 1 SM20: 多工處理機通訊致能旗標 (Enables multiprocessor communication feature.) 此功能只和 UART 串口接收中斷 (RI) 有關, 不影響傳送中斷中 (TI), 各模式說明如下 : Mode SM2 功能說明 0 模式 0,SM20 必須為 0 1 模式 1:RB80 為停止位元 (stop bit) 若 SM20=0, 無論停止位元為 1 或 0,RI 皆會動作 若 SM20=1, 當停止位元不正確時,RI 則不動作 2 & 3 RB80 為資料的第 9 位元 (9 th -bit) 若 SM20 設定 =0: 無論第 9 位元為 1 或 0,RI 皆會動作 若 SM20 設定 =1: 若第 9 位元 =1 則 RI 會動作 若第 9 位元 =0 則 RI 不會動作

6 REN0: 接收致能旗標 : 1 致能 0 禁能, 必須由軟體清除 TB80: 在傳送模式 2 和模式 3 時, 所傳送的資料的第 9 位元 (9 th -bit) The 9 th transmitted data bit in modes 2 and 3. Set or cleared by the CPU depending on the function it performs such as parity check, multiprocessor communication etc. RB80: 在傳送模式 2 和模式 3 時, 所接收的資料的第 9 位元 (9 th -bit) 在傳送模式 1 時, 如果 SM20 為 0, 則 RB80 為停止位元 (stop bit) 在傳送模式 0 時,RB80 無作用此位元必須由軟體清除 TI0: 傳送中斷旗標 (Transmit interrupt flag): 在模式 0 時, 在第 8 位元結束時, 硬體會將它設為 1; 其他模式時, 在 stop bit 停止位元的開始時設定為 1 1 傳送完成由硬體設置 0 必須由軟體清除 RI0: 接收中斷旗標 (Receive interrupt flag) 在模式 0 時, 在第 8 位元結束時, 硬體會將它設為 1, 其他模式時, 在 stop bit 停止位元的一半的時候由硬體設定 1 接收完成由硬體設置 0 必須由軟體清除 須參考 SM20 Mnemonic: S1CON Address: 9Bh Reset SM - SM21 REN1 TB81 RB81 TI1 RI1 00h SM: 串通訊列埠 1(UART1) 模式選擇 (Serial Port1 mode selection.) SM Mode Description Baud Rate Notice 0 A 9-bit UART Variable 此模式與 UART0 的 Mode 2 和 Mode 3 相似 1 B 8-bit UART Variable 此模式與 UART0 的 Mode 1 類似 詳細可參考章節 7. 說明 SM21: 多工處理機通訊致能位元 (Enables multiprocessor communication feature.) 此功能只和串口接收中斷 (RI) 有關, 和傳送中斷 (TI) 無關, 各模式說明如下 : Mode SM2 功能說明 A RB81 為資料的第 9 位元 (9 th -bit) 若 SM21 設定 =0: 無論第 9 位元為 1 或 0,RI 皆會動作 若 SM21 設定 =1: 若第 9 位元 =1 則 RI 會動作 若第 9 位元 =0 則 RI 不會動作 B RB81 為停止位元 (stop bit) 若 SM21=0: 無論停止位元為 1 或 0,RI 皆會動作 若 SM21=1: 當停止位元不正確時,RI 則不動作 REN1: 接收致能位元 : ISSFA Ver B 2011/01

7 1 致能 0 禁能, 必須由軟體清除 TB81: 在傳送模式 2 和模式 3 時, 所傳送的資料的第 9 位元 (9 th -bit) The 9 th transmitted data bit in mode A. Set or cleared by the CPU depending on the function it performs such as parity check, multiprocessor communication etc. RB81: 在傳送模式 A 時, 所接收的資料的第 9 位元 (9 th -bit) 在傳送模式 B 時, 如果 SM21 為 0, 則 RB81 為停止位元 (stop bit) 此位元必須由軟體清除 TI1: 傳送中斷旗標 (Transmit interrupt flag) 在模式 0 時, 在第 8 位元結束時, 硬體會將它設為 1 其他模式時, 在 stop bit 停止位元的開始時設定為 1 1 傳送完成由硬體設置 0 必須由軟體清除 RI1: 接收中斷旗標 (Receive interrupt flag) 在模式 0 時, 在第 8 位元結束時, 硬體會將它設為 1, 其他模式時, 在 stop bit 停止位元的一半的時候由硬體設定 1 接收完成由硬體設置 0 必須由軟體清除 須參考 SM 串口鮑率 (Baud rate) 計算功式 : Serial interface 0(UART0) modes 1 and 3 (a) When BRS = 0: (b) When BRS = 1: Baud Rate F OSC = ( 256 TH1) F OSC ( 2 S0REL) Serial interface 1(UART1) modes A and B F OSC ( 2 ) 5 UART0(Serial interface 0) 串口有以下四種操作模式 : SM0 SM1 Mode Description Board Rate Baud Rate generate Shift register Fosc/12 Fixed bit UART Variable Internal baud rate generator or Timer 1 ISSFA Ver B 2011/01

8 bit UART Fosc/32 or Fosc/64 Fixed bit UART Variable Internal baud rate generator or Timer 1 Fosc 指 crystal 或 oscillator 的振盪頻率 Mode 0 1. MCU 資料輸出或輸入都是利用 RXD0 為引腳 TXD0 為 MCU 輸出移位時脈 ( 固定為 Fosc/12) 2. 資料為 8 bits, 由 LSB 先傳送 3. 固定鮑率 (Baud rate) 為 Fosc/12 4. Mode 0 初始化由旗標 S0CON 設定 :RI0 = 0 and REN0 = 1 5. 當傳送資料時 : 須先以軟體清除 S0CON 中的 REN0=0, 執行資料寫入 S0BUF 指令, 則會引發資料傳送的動作 ; 資料傳送完畢後,MCU 會將 S0CON 中的 TI0 設定為 1, 通知中斷產生 6. 當接收資料時 : 須先以軟體設定 S0CON 中的 REN0=1, 然後執行清除 RI 位元, 串列埠就會依時序進行接收的工作 ; 資料接收完畢後,MCU 會將 S0CON 中的 RI0 設定為 1, 通知中斷產生 Fig. 9-1: Transmit mode 0 for Serial 0 Fig. 9-2: Receive mode 0 for Serial Mode 1 1. 鮑率 (Baud rate), 由內部鮑率產生器 (SFR S0RELH 及 S0RELL 設定 ) 或 Timer1 來產生 2. RXD0 為輸入資料的引腳,TXD0 為輸出資料的引腳 ISSFA Ver B 2011/01

9 3. Mode1 沒有使用任何的位移時脈, 資料以 10bits 傳輸, 分為三部分 : (1) bit[0] a start bit (always 0) (2) bit[1~8] 8 data bits (LSB first) (3) bit[9] a stop bit (always 1) (save to RB80, clear by software) 4. 在接收模式中,start bit 與資料傳輸會同時發生, 可從 SFR S0BUF 讀取 8 data bits,stop bit 則存至 SFR S0CON 的 RB80 旗標設置 ( 由軟體清除 ) Fig. 9-3: Transmit mode 1 for Serial 0 Fig. 9-4: Receive mode 1 for Serial Mode 2 此模式與 Mode 1 相似, 僅有兩點不相同 : 1. 固定的鮑率 (Baud rate) 有兩種 : (1) Fosc/12 (=1) (2) Fosc/64 (=0) 2. 資料是以 11bits 傳送或接收, 分為四個部分 : (1) bit[0] a start bit (always 0) (2) bit[1~8] 8 data bits (LSB first) (3) bit[9] a programmable (4) bit[10] a stop bit(always 1) 3. 資料 bit[9] 可當作同位元檢查位元 (parity check bit) (1) 在傳送模式 :SFR S0CON 的 TB80 為傳送資料的第九位元 (2) 在接收模式 :SFR S0CON 的 RB80 為接收資料的第九位元 ISSFA Ver B 2011/01

10 5.1.4 Mode 3 此模式與 Mode 2 相似, 僅有一項不同, 即鮑率 (Baud rate) 可指定由內部鮑率產生器 (SFR S0RELH 及 S0RELL 設定 ) 或 Timer1 來產生 ( 與 Mode1 相同 ) Fig. 9-5: Transmit modes 2 and 3 for Serial 0 Fig. 9-6: Receive modes 2 and 3 for Serial 0 6 UART1(Serial interface 1) 串口有以下二種操作模式 : SM Mode Description Baud Rate 0 A 9-bit UART Variable 1 B 8-bit UART Variable 6.1 Mode A 此模式與 UART0 的 Mode 2 和 Mode 3 相似 鮑率 (Baud rate), 由內部鮑率產生器產生 (SFR H 及 L 設定 ) 數據為 11bits 傳送或接收, 分為四個部分 : (1) bit[0] a start bit (always 0) (2) bit[1~8] 8 data bits (LSB first) (3) bit[9] a programmable (TB81 or RB81) (4) bit[10] a stop bit(always 1) ISSFA Ver B 2011/01

11 6.1.4 資料 bit[9] 可當作同位元檢查位元 (parity check bit) (1) 在傳送模式 :SFR S1CON 的 TB81 為傳送資料的第九位元 (2) 在接收模式 :SFR S1CON 的 RB81 為接收資料的第九位元 Fig. 9-7: Transmit mode A for Serial 1 Fig. 9-8: Receive mode A for Serial Mode B 此模式與 UART0 的 Mode 1 類似 鮑率 (Baud rate), 由內部鮑率產生器產生 (SFR H 及 L 設定 ) RXD0 為輸入資料的引腳,TXD0 為輸出資料的引腳 沒有使用任何的位移時脈 數據為 10bits 傳輸, 分為三部分 : (1) bit[0] a start bit (always 0) (2) bit[1~8] 8 data bits (LSB first) (3) bit[9] a stop bit (always 1) (save to RB80, clear by software) 在接收模式中,start bit 與資料傳輸會同時發生,8 data bits 可從 SFR S1BUF 讀取,stop bit 則存至 SFR S1CON 的 RB80 旗標設置 ( 由軟體清除 ) Fig. 9-9: Transmit mode B for Serial 1 ISSFA Ver B 2011/01

12 Fig. 9-10: Receive mode B for Serial 1 7 以下為 UART 串口中斷應用有關的致能旗標 Interrupt vectors Table Interrupt Vector Interrupt Number Interrupt Request Flags Address *(use Keil C Tool) IE0 External interrupt h 0 TF0 Timer 0 interrupt 000Bh 1 IE1 External interrupt h 2 TF1 Timer 1 interrupt 001Bh 3 RI0/TI0 Serial channel 0 interrupt 0023h 4 TF2/EXF2 Timer 2 interrupt 002Bh 5 PWMIF PWM interrupt (The SM59R16A2/SM59R08A2 haven t) 0043h 8 SPIIF SPI interrupt 004Bh 9 ADCIF A/D converter interrupt 0053h 10 KBIIF keyboard Interface interrupt 005Bh 11 LVIIF Low Voltage Interrupt (The SM59R16A2/SM59R08A2 haven t) 0063h 12 IICIF IIC interrupt 006Bh 13 RI1/TI1 Serial channel 1 interrupt 0083h 16 RTC/ALARM interrupt (Only SM59R16A5/SM59R09A5/SM59R05A5 have) 008Bh 17 Comparator interrupt (Only SM59R16A5/SM59R09A5/SM59R05A5 have) 0093h 18 *See Keil C about C51 User s Guide about Interrupt Function description Mnemonic Description Direct Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 RESET Interrupt IEN0 Interrupt Enable 0 register A8h EA - ET2 ES0 ET1 EX1 ET0 EX0 00h IEN1 Interrupt Enable 1 register B8h EXEN2 - IEIIC IELVI IEKBI IEADC IESPI IEPWM 00h IEN2 Interrupt Enable 2 register 9Ah ES1 00h IRCON Interrupt request register C0H EXF2 TF2 IICIF LVIIF KBIIF ADCIF SPIIF PWMIF 00H IP0 Interrupt priority level 0 A9h - - IP0.5 IP0.4 IP0.3 IP0.2 IP0.1 IP0.0 00h ISSFA Ver B 2011/01

13 IP1 Interrupt priority level 1 B9h - - IP1.5 IP1.4 IP1.3 IP1.2 IP1.1 IP1.0 00h * 如果需要使用中斷程序, 可參考以下設置 : void SerialChannel_0(void) interrupt 4 void SerialChannel_1(void) interrupt 16 8 範例程式 Serial Port 1(UART1) TX 及 RX 通訊的範例程式 Description 1. 程式使用雙串口 (UART0,UART1), 中斷致能, 設定 baud rate bps 2. UART0 及 UART1 設定使用 internal baud rate generator 3. UART0 及 UART1 通訊協定相同, 程序會一直等待接收外部資料, 收到資料後會以相同的數 據回傳, 例如 RX 收到數據 5Ah,TX 會回傳 5Ah 4. 連接 PC COM Port 設定 : 4.1. baud rate=115200bps 4.2. Data Bits= No Parity 4.4. Stop bits=1 Main program //=================================================================== // // S Y N C M O S T E C H N O L O G Y // //=================================================================== #include "SM59R04A2.h" #define S0BUF SBUF #define S0CON SCON #define S0CON_TI TI #define S0CON_RI RI bit TX_IF0 = 0; bit TX_IF1 = 0; bit UART0_toogle = 0; bit UART1_toogle = 0; unsigned char RXBUF0 = 0; unsigned char RXBUF1 = 0; void UART0_INT(void) interrupt 4 if(s0con_ri) //UART0_INT_RX UART0_toogle = 1; RXBUF0 = S0BUF; S0CON_RI= 0; //clear UART0 RI //RX_IF0 = 1; ISSFA Ver B 2011/01

14 else S0CON_TI=0; TX_IF0 =1; //UART0_INT_TX //clear UART0 TI void UART1_INT(void) interrupt 16 if(s1con & 0x01) //UART1_INT_RX UART1_toogle = 1; RXBUF1 = S1BUF; S1CON &= 0xFE; //clear UART1 RI //RX_IF1 = 1; else //UART1_INT_TX S1CON &= 0xFD; //clear UART1 TI TX_IF1 =1; void UART0_TX(void) S0BUF = RXBUF0; while(!tx_if0); //while(!s0con_ti); TX_IF0 =0; // confirm INT void UART1_TX(void) S1BUF = RXBUF1; while(!tx_if1); // confirm INT // while(!(s1con & 0x02)); TX_IF1 =0; void init_uart0(void) //AUX &= 0x7F; // for UART0, set BRS =0, BR ref.to TH1(8-bit) AUX = 0x80; S0RELH/S0RELL(16-bit) // for UART0, set BRS =1, BR ref.to PCON = 0x80; // set 1 S0CON = 0x50; // Mode 1 sel / REN Enable / RI&TI Clear S0RELH = 0x03; // set BR External OSC= MHz S0RELL = 0xFA; // set BR External OSC= MHz IEN0 = 0x10; // ES0 enbale (serial channel 0 interrupt) void init_uart1(void) S1CON = 0xB0; // Mode B sel / REN Enable / RI&TI Clear H = 0x03; // set BR External OSC= MHz L = 0xFA; // set BR External OSC= MHz IEN2 = 0x01; // ES1 enbale (serial channel 1 interrupt) void init_mcu(void) IFCON = 0X80; // 1T select IEN0 = 0x80; // all Interrupt enable ISSFA Ver B 2011/01

15 void main(void) unsigned int Loop=0; init_mcu(); init_uart0(); init_uart1(); while(1) if(uart0_toogle) UART0_TX(); UART0_toogle = 0; if(uart1_toogle) UART1_TX(); UART1_toogle = 0; ISSFA Ver B 2011/01

Microsoft Word - ~ doc

Microsoft Word - ~ doc 1 适用产品 : 1.1 SM59R16A5/ SM59R09A5/ SM59R05A5/ SM59R16A3/ SM59R09A3/ SM59R05A3 1.2 SM59R16G6/ SM59R09G6/ SM59R05G6 1.3 SM59R04A2/ SM59R04A1/ SM59R03A1/ SM59R02A1 1.4 SM59R16A2/ SM59R08A2 2 UART 差异如下说明 :

More information

Microsoft Word - ISSFA-0177_A_SM59R_series_SPI_APN_TC_.doc

Microsoft Word - ISSFA-0177_A_SM59R_series_SPI_APN_TC_.doc SPI 功能使用方法 1 適用產品 : 1.1 SM59R16A2/ SM59R08A2 1.2 SM59R16A5/ SM59R09A5/SM59R05A5/SM59R16A3/ SM59R09A3 /SM59R05A3 1.3 SM59R04A2/ SM59R04A1/ SM59R03A1/ SM59R02A1 2 SPI 使用概述 : SPI 通信使用 4 個引腳, 分別為 : SPI_MOSI:

More information

Microsoft Word - IRFWX-A078_A_SM59R08A2_SM59R16A2_IIC APN_SC_.doc

Microsoft Word - IRFWX-A078_A_SM59R08A2_SM59R16A2_IIC APN_SC_.doc 1 适用产品 :SM59R16A2 / SM59R08A2 2 IIC 使用概述 : 2.1 IIC module 硬件使用 SCL (clock) 及 SDA (data) 两条线 2.2 速度 :SCL 最高可达 400Kbps( 可由软件设定 SFR IICBR[2:0]) 2.3 IIC 可选择 master 或 slave 两种模式 2.4 提供中断 (RXIF, TXIF) 及两组控制地址使用

More information

Microsoft Word - ~ doc

Microsoft Word - ~ doc RTC( 實時時鐘 ) 功能使用方法 1 適用產品 :SM59R16A5/ SM59R09A5/ SM59R05A5 2 RTC 使用說明 : 1. 建內一組 RTC, 時間具有秒 分 時 日 星期 月 年 2. RTC 晶振選用 32.768KHz, 匹配電容建議使用 25pF, 或依實際晶振做調教 3. 二種中斷, 分別, 為 period interrupt 和 ALARM interrupt,

More information

Microsoft Word - ISSFA-0237_A_SM39R_series_EEPROM_APN_TC_.doc

Microsoft Word - ISSFA-0237_A_SM39R_series_EEPROM_APN_TC_.doc EEPROM 功能使用方法 1 適用產品 : 1.1 SM39R16A2/ SM39R12A2/ SM39R08A2 1.2 SM39R4051/ SM39R2051 1.3 SM39R04G1/ SM39R02G1 2 EEPROM 功能概述 : 2.1 使用 code flash 模擬為 Internal EEPROM, 在程序執行時, 可將 code flash 作為 data flash 儲存資料使用

More information

W77E58中文手册

W77E58中文手册 W77E58 77E58 8051 8051 8051 77E58 8051 1.5 3 COMS 32K EEPROM 1K SRAM 1 8 2 40M 4 3 8051 4 8051 5 4 8 I/O 6 4 I/O 44 PLCC QFP 7 16 / 8 12 9 10 11 1K 12 13 16 DPTR 14 15 DIP40 W77E58 25/40 PLCC44 W77E58P

More information

2 Keil µ vision 2.1 1) Keil µ vision2 V2.34 µ vision3 2) Sino_Keil.exe Keil c:\keil\ 3) JET51 USB PC C:\Keil\ USB PC 4) S-L

2 Keil µ vision 2.1 1) Keil µ vision2 V2.34 µ vision3 2) Sino_Keil.exe   Keil c:\keil\ 3) JET51 USB PC C:\Keil\ USB PC 4) S-L 1 SH88F516 8051 64K FLASH 1024 EEPROM SH88F516 JET51 S-Lab Keil µ vision ISP51 Keil µ vision ISP51 ISP51 PC RS232 MCU SH88F516 SH88F516 1.1 SH88F516 1.1 SH88F516 SH88Fxx: QFP44, DIP40 RAM Flash E2 ADC

More information

Microsoft Word - ~ doc

Microsoft Word - ~ doc EEPROM 功能使用方法 1 适用产品 : 1.1 SM39R16A2/ SM39R12A2/ SM39R08A2 1.2 SM39R4051/ SM39R2051 1.3 SM39R04G1/ SM39R02G1 2 EEPROM 功能概述 : 2.1 使用 code flash 仿真为 Internal EEPROM, 在程序执行时, 可将 code flash 作为 data flash 储存数据使用

More information

DPJJX1.DOC

DPJJX1.DOC 8051 111 2K 1 2 3 ' ' 1 CPU RAM ROM / A/D D/A PC CPU 40 68 10 20 8 51 PIII 8051 2 MCS51 8051 8031 89C51 8051 8031 89C51? MCS51 INTEL INTEL 8031 8051 8751 8032 8052 8752 8051 8051 8051 MCS51 8031 8031

More information

6 C51 ANSI C Turbo C C51 Turbo C C51 C51 C51 C51 C51 C51 C51 C51 C C C51 C51 ANSI C MCS-51 C51 ANSI C C C51 bit Byte bit sbit

6 C51 ANSI C Turbo C C51 Turbo C C51 C51 C51 C51 C51 C51 C51 C51 C C C51 C51 ANSI C MCS-51 C51 ANSI C C C51 bit Byte bit sbit 6 C51 ANSI C Turbo C C51 Turbo C C51 C51 C51 C51 C51 C51 C51 C51 C51 6.1 C51 6.1.1 C51 C51 ANSI C MCS-51 C51 ANSI C C51 6.1 6.1 C51 bit Byte bit sbit 1 0 1 unsigned char 8 1 0 255 Signed char 8 11 128

More information

1 Project New Project 1 2 Windows 1 3 N C test Windows uv2 KEIL uvision2 1 2 New Project Ateml AT89C AT89C51 3 KEIL Demo C C File

1 Project New Project 1 2 Windows 1 3 N C test Windows uv2 KEIL uvision2 1 2 New Project Ateml AT89C AT89C51 3 KEIL Demo C C File 51 C 51 51 C C C C C C * 2003-3-30 pnzwzw@163.com C C C C KEIL uvision2 MCS51 PLM C VC++ 51 KEIL51 KEIL51 KEIL51 KEIL 2K DEMO C KEIL KEIL51 P 1 1 1 1-1 - 1 Project New Project 1 2 Windows 1 3 N C test

More information

2 12

2 12 SHENZHEN BRILLIANT CRYSTAL TECHNOLOGIC CO.,LTD. The specification for the following models Graphic LCM serial communication control board CB001 PROPOSED BY APPROVED Design Approved TEL:+86-755-29995238

More information

Microsoft Word - IRFWX-A124_A_SM59D03G2_SM59D04G2_PCA_ APN_SC_.doc

Microsoft Word - IRFWX-A124_A_SM59D03G2_SM59D04G2_PCA_ APN_SC_.doc 可程序计数数组 (PCA) 功能使用方法 1 适用产品 :SM59D04G2,SM59D03G2 2 应用说明 : PCA 共有五组, 每组皆可工作于以下七种模式 : 捕获模式 - 正缘捕获模式 (Positive edge capture mode) 捕获模式 - 负缘捕获模式 (Negative edge capture mode) 捕获模式 - 正缘及负缘捕获模式 (Both positive

More information

目 录

目 录 1 Quick51...1 1.1 SmartSOPC Quick51...1 1.2 Quick51...1 1.3 Quick51...2 2 Keil C51 Quick51...4 2.1 Keil C51...4 2.2 Keil C51...4 2.3 1 Keil C51...4 2.4 Flash Magic...9 2.5 ISP...9 2.6...10 2.7 Keil C51...12

More information

Microsoft Word - ISSFA-0227_A_SM39R_series_WDT_APN_TC_.doc

Microsoft Word - ISSFA-0227_A_SM39R_series_WDT_APN_TC_.doc 1 適用產品 : 1.1 SM39R16A2/ SM39R12A2/ SM39R08A2 1.2 SM39R04G1/ SM39R02G1 1.3 SM39R2051/ SM39R4051 2 以下說明適用 :SM39R08/12/16A2/ SM39R02/04G1/ SM39R4051/ SM39R2051: 2.1 WDT 模組之時鐘源為 MCU 內部之 250KHz RC 振盪電路產生 2.2

More information

Microsoft Word - MSP430 Launchpad 指导书.docx

Microsoft Word - MSP430 Launchpad 指导书.docx Contents 3... 9... 14 MSP430 LAUNCHPAD 指导书 3 第一部分第一个工程 New Project File > New > CCS Project Project name: ButtonLED Device>Family: MSP430 Variant: MSP430G2553 Project templates and examples : Empty Project

More information

Microsoft Word - 專題封面.doc

Microsoft Word - 專題封面.doc 逢 甲 大 學 資 訊 工 程 學 系 專 題 研 究 報 告 8051 小 遊 戲 -21 點 指 導 教 授 : 陳 德 生 學 生 : 許 博 益 中 華 民 國 九 十 六 年 六 月 I 目 錄 第 一 章 緒 論 1 1-1 研 究 背 景 1 1-2 研 究 動 機 2 1-3 研 究 目 的 3 1-3-1 21 點 源 起 3 1-3-2 21 點 規 則 3 第 二 章 微 電

More information

1-1 SH79F6431 A. 2( ) 9~15V ( 12V) U2 U3 3.3V SH79F B. 1(VCC/GND) SH79F6431 C. VDDIO SH79F6431 P4 P5 P0.6 P0.7 VDDIO VDDIO=5V D. 2 V 1.0

1-1 SH79F6431 A. 2( ) 9~15V ( 12V) U2 U3 3.3V SH79F B. 1(VCC/GND) SH79F6431 C. VDDIO SH79F6431 P4 P5 P0.6 P0.7 VDDIO VDDIO=5V D. 2 V 1.0 SH79F6431 1. SH79F6431 1T 8051 FLASH SH79F JET51 Keil µ vision JTAG 1.1. SH79F6431 LQFP64 1.2. (Target Board) SH79F6431 1 V 1.0 1-1 SH79F6431 A. 2( ) 9~15V ( 12V) U2 U3 3.3V SH79F6431 1 2 1 B. 1(VCC/GND)

More information

7688使用手冊V10.doc

7688使用手冊V10.doc TP-7688 . 2 2. 3 3. 5 4. 5 5. 6 6. 7 7. 8 8. 9 9.. 4. 7 2 2., 7x9 / 6x9 7x9.3() x 3.()mm 6x9 2.84() x 3.()mm 3 ASCII 7x9 95 ASCII 6x9 95 6x9 7 BIG5 6x9 3973 6x9 28 7x9 24 24 55 6x9 2 2 27 4.23mm (/6 inch)

More information

目录

目录 ALTERA_CPLD... 3 11SY_03091... 3 12SY_03091...4....5 21 5 22...8 23..10 24..12 25..13..17 3 1EPM7128SLC.......17 3 2EPM7032SLC.......18 33HT46R47......19..20 41..20 42. 43..26..27 5151DEMO I/O...27 52A/D89C51...28

More information

Microsoft Word - ISSFA-0109_B_SM59264_WDT_ APN_TC_.doc

Microsoft Word - ISSFA-0109_B_SM59264_WDT_ APN_TC_.doc Watch Dog Timer () 功能使用說明 ( 使用內部 250KHz) 適用產品 :SM59264 SM59128 SM8954A SM8958A SM89516A SM894051 SM79108 SM79164 SM59D03/04G2 應用說明 : 1 針對使用新茂 (SyncMOS)MCU, 如有因程式設計之關係, 需防止當機之發生時, 可啟動 Watch Dog 功能, 以防止當機之發生

More information

CAUTION RISK OF ELECTRIC SHOCK DO NOT OPEN 2

CAUTION RISK OF ELECTRIC SHOCK DO NOT OPEN 2 WV-CU950/G WV-CU650/G CAUTION RISK OF ELECTRIC SHOCK DO NOT OPEN 2 S3125A 3 4 5 6 7 8 9 #9 $0 #8 $1 $2 $3 r q w e t $4 i u!0 y WV-CU950!1!3!4!7!6!5!8 @0!9 @3 @2 @1!2 o ALARM ACK ALM RESET ALM SUSPEND ALM

More information

51 C 51 isp 10 C PCB C C C C KEIL

51 C 51 isp 10   C   PCB C C C C KEIL http://wwwispdowncom 51 C " + + " 51 AT89S51 In-System-Programming ISP 10 io 244 CPLD ATMEL PIC CPLD/FPGA ARM9 ISP http://wwwispdowncom/showoneproductasp?productid=15 51 C C C C C ispdown http://wwwispdowncom

More information

(Load Project) (Save Project) (OffLine Mode) (Help) Intel Hex Motor

(Load Project) (Save Project) (OffLine Mode) (Help) Intel Hex Motor 1 4.1.1.1 (Load) 14 1.1 1 4.1.1.2 (Save) 14 1.1.1 1 4.1.2 (Buffer) 16 1.1.2 1 4.1.3 (Device) 16 1.1.3 1 4.1.3.1 (Select Device) 16 2 4.1.3.2 (Device Info) 16 2.1 2 4.1.3.3 (Adapter) 17 2.1.1 CD-ROM 2 4.1.4

More information

ICD ICD ICD ICD ICD

ICD ICD ICD ICD ICD MPLAB ICD2 MPLAB ICD2 PIC MPLAB-IDE V6.0 ICD2 usb PC RS232 MPLAB IDE PC PC 2.0 5.5V LED EEDATA MPLAB ICD2 Microchip MPLAB-IDE v6.0 Windows 95/98 Windows NT Windows 2000 www.elc-mcu.com 1 ICD2...4 1.1 ICD2...4

More information

RS-232C [11-13] 1 1 (PLC) (HMI) Visual Basic (PLC) 402

RS-232C [11-13] 1 1 (PLC) (HMI) Visual Basic (PLC) 402 年 路 年 1 [1-3][4] [5-7] [15] Visual Basic [10] 401 RS-232C [11-13] 1 1 (PLC) (HMI) Visual Basic (PLC) 402 1 1 X0 X1 X2 X3 SENSOR Y0 SENSOR VB X3 Y0 Y1 Y2 Y3 Y4 Y5 Y1~Y5 Y6 VB Y7 VB Y11 Y12 Y13 Y14 Y15 Y11~Y15

More information

MICROCHIP EVM Board : APP APP001 PICmicro Microchip APP001 40pin PDIP PICmicro Design Tips Character LCM Temperature Sensor Application I/O Pi

MICROCHIP EVM Board : APP APP001 PICmicro Microchip APP001 40pin PDIP PICmicro Design Tips Character LCM Temperature Sensor Application I/O Pi MICROCHIP EVM Board : APP001 1-1. APP001 PICmicro Microchip APP001 40pin PDIP PICmicro Design Tips Character LCM Temperature Sensor Application I/O Pin 16 I/O Extension Interface 1-2. APP001 Block_A Block_B

More information

SST SPAC SST SoftICE SST89C5x/SST89x554RC /564RD /SST89x516/5xRD / SoftICE SoftICE MCU SoftICE SS

SST SPAC SST SoftICE SST89C5x/SST89x554RC /564RD /SST89x516/5xRD / SoftICE SoftICE MCU SoftICE SS SST SoftICE SST89C5x/SST89x554RC /564RD /SST89x516/5xRD2 1...2 1.1...2 1.2...2 1.3 /...2 2 SoftICE...2 3 SoftICE MCU...2 4 SoftICE...3 4.1 SST BootLoader SOFTICE...3 4.2 SoftICE SST MCU...6 5 SoftICE...7

More information

FM1935X智能非接触读写器芯片

FM1935X智能非接触读写器芯片 FM3316/3315 MCU 2017.06 FM3316/3315 MCU 2.21 (http://www.fmsh.com/) FM3316/3315 MCU 2.22 ... 3 1... 4 2... 5 2.1... 5 2.2... 5 2.3... 6 2.3.1... 6 2.3.2... 6 2.4... 9 2.5... 10 2.5.1 LQFP64... 10 2.5.2

More information

System Design and Setup of a Robot to Pass over Steps Abstract In the research, one special type of robots that can pass over steps is designed and se

System Design and Setup of a Robot to Pass over Steps Abstract In the research, one special type of robots that can pass over steps is designed and se 8051 8051 System Design and Setup of a Robot to Pass over Steps Abstract In the research, one special type of robots that can pass over steps is designed and setup. This type of robot uses two kinds of

More information

P4i45GL_GV-R50-CN.p65

P4i45GL_GV-R50-CN.p65 1 Main Advanced Security Power Boot Exit System Date System Time Floppy Drives IDE Devices BIOS Version Processor Type Processor Speed Cache Size Microcode Update Total Memory DDR1 DDR2 Dec 18 2003 Thu

More information

84

84 83 84 EKI-1526 EKI-1528 EKI-1524 EKI-1522 EKI-1521 2 2 2 2 2 16 8 4 2 1 10/100 Mbps 10/100 Mbps 10/100 Mbps 10/100 Mbps 10/100 Mbps RS-232/422/485 RS-232/422/485 RS-232/422/485 RS-232/422/485 RS-232/422/485

More information

SH79F161B I/O 1. SH79F161B SH79F161B IO 30 I/O I/O 4 I/O SH79F161B 30 I/O Px I/O PxCRy I/O PxPCRy x = 0-3 y = IO PxCRy IO x=0-3 y=0-7

SH79F161B I/O 1. SH79F161B SH79F161B IO 30 I/O I/O 4 I/O SH79F161B 30 I/O Px I/O PxCRy I/O PxPCRy x = 0-3 y = IO PxCRy IO x=0-3 y=0-7 SH79F161B - 10 ADC 8051 V 1.0 SH79F161B I/O 1. SH79F161B 8051 8051 SH79F161B IO 30 I/O I/O 4 I/O SH79F161B 30 I/O Px I/O PxCRy I/O PxPCRy x = 0-3 y = 0-7 2. IO PxCRy IO x=0-3 y=0-7 PxPCRy IO x=0-3 y=0-7

More information

專題最終版.doc

專題最終版.doc The Principle and Application of the Electric Combination Lock The Principle and Application of the Electric Combination Lock Abstract Recently, there are more and more burglaries in the society. It's

More information

bingdian001.com

bingdian001.com TSM12M TSM12 STM8L152C6, STM8L152R8 MSP430F5325 whym1987@126.com! /******************************************************************************* * : TSM12.c * : * : 2013/10/21 * : TSM12, STM8L f(sysclk)

More information

untitled

untitled XZL024 http://item.taobao.com/item.htm?id=6321822194 1 1 1.1 1.2 1.3 1.4 2 2.1 2.2 2.3 3 USBee Suite 3.1 3.2 3.3 3.4 4 RS232 RS485 RS422 CAN http://item.taobao.com/item.htm?id=6321822194 2 1 XZL024 PC

More information

General Description: Preliminary TTP916 Consumer IC VCD/DVD LCD Green mode Stand-by mode( 1W ) Features: 2.2V-5.5V LCD RAM read condition 2.6V-5.5V RC

General Description: Preliminary TTP916 Consumer IC VCD/DVD LCD Green mode Stand-by mode( 1W ) Features: 2.2V-5.5V LCD RAM read condition 2.6V-5.5V RC General Description: IC VCD/DVD LCD Green mode Stand-by mode( 1W ) Features: 2.2V-5.5V LCD RAM read condition 2.6V-5.5V RC 15K 300pF 256KHZ default on 32 function key Built-in TT6221/TT6222 decoder Provide

More information

Microsoft Word - ISSFA-0134_A_AP_User-definedDownload_SC_.doc

Microsoft Word - ISSFA-0134_A_AP_User-definedDownload_SC_.doc 自定义下载应用说明 一 适用产品 :SM59XX 系列 SM59D XX 系列 SM59R XX 系列二 应用方式 : 可以让使用者自定义 command 作为进入 ISP 刻录的通关指令, 透过 UART 连接 ISAP 软件做联机更新三 操作说明 ( 使用 SM59D04G2 为例 ): 1. ISAP 操作方式 : 1.1 先将主程序及 ISP 服务程序烧进 MCU 中 1.2 将 MCU 放至系统版上,

More information

LK110_ck

LK110_ck Ck 电子琴 LK110CK1A Ck-1 1. 2. 1. 2. 3. (+) ( ) Ck-2 1. 2. 3. * 1. 2. 3. Ck-3 Ck-4 LCD LCD LCD LCD LCD LCD 15 * * / MIDI Ck-5 100 50 100 100 100 1 2 MIDI MIDI Ck-6 ... Ck-1... Ck-6... Ck-8... Ck-9... Ck-10...

More information

User ID 150 Password - User ID 150 Password Mon- Cam-- Invalid Terminal Mode No User Terminal Mode No User Mon- Cam-- 2

User ID 150 Password - User ID 150 Password Mon- Cam-- Invalid Terminal Mode No User Terminal Mode No User Mon- Cam-- 2 Terminal Mode No User User ID 150 Password - User ID 150 Password Mon- Cam-- Invalid Terminal Mode No User Terminal Mode No User Mon- Cam-- 2 Mon1 Cam-- Mon- Cam-- Prohibited M04 Mon1 Cam03 Mon1 Cam03

More information

USB解决方案.ppt

USB解决方案.ppt USB USB? RS232 USB USB HID U modem ADSL cable modem IrDA Silabs USB CP210x USB UART USB RS-232 USB MCU 15 USB 12 FLASH MCU 3 USB MCU USB MCU C8051F32x 10 ADC 1.5%, Vref CPU 25MIPS 8051 16KB Flash -AMUX

More information

AN INTRODUCTION TO PHYSICAL COMPUTING USING ARDUINO, GRASSHOPPER, AND FIREFLY (CHINESE EDITION ) INTERACTIVE PROTOTYPING

AN INTRODUCTION TO PHYSICAL COMPUTING USING ARDUINO, GRASSHOPPER, AND FIREFLY (CHINESE EDITION ) INTERACTIVE PROTOTYPING AN INTRODUCTION TO PHYSICAL COMPUTING USING ARDUINO, GRASSHOPPER, AND FIREFLY (CHINESE EDITION ) INTERACTIVE PROTOTYPING 前言 - Andrew Payne 目录 1 2 Firefly Basics 3 COMPONENT TOOLBOX 目录 4 RESOURCES 致谢

More information

2005.book

2005.book ...4... 4... 7...10... 10... 10... 10... 10... 11... 11 PCC... 11 TB170... 12 /... 12...13... 13 BP150 / BP151 / BP152 / BP155... 14...15... 15... 15... 15... 15... 15... 15... 16 PS465 / PS477... 17 PS692

More information

PTS7_Manual.PDF

PTS7_Manual.PDF User Manual Soliton Technologies CO., LTD www.soliton.com.tw - PCI V2.2. - PCI 32-bit / 33MHz * 2 - Zero Skew CLK Signal Generator. - (each Slot). -. - PCI. - Hot-Swap - DOS, Windows 98/2000/XP, Linux

More information

P4V88+_BIOS_CN.p65

P4V88+_BIOS_CN.p65 1 Main H/W Monitor Boot Security Exit System Overview System Time System Date [ 17:00:09] [Wed 12/22/2004] BIOS Version : P4V88+ BIOS P1.00 Processor Type : Intel (R) Pentium (R) 4 CPU 2.40 GHz Processor

More information

TX-NR3030_BAS_Cs_ indd

TX-NR3030_BAS_Cs_ indd TX-NR3030 http://www.onkyo.com/manual/txnr3030/adv/cs.html Cs 1 2 3 Speaker Cable 2 HDMI OUT HDMI IN HDMI OUT HDMI OUT HDMI OUT HDMI OUT 1 DIGITAL OPTICAL OUT AUDIO OUT TV 3 1 5 4 6 1 2 3 3 2 2 4 3 2 5

More information

JLX

JLX PRODUCT:LCD MODULE. Model No.: JLX177-006 Product Type: 1.77 inch QVGA TFT Modoule. 产品规格书 晶联讯研发研发部 : Written By Checked By Approved By 客户名称 : 结构电子核准 地址 : 深圳市宝安区西乡宝安大道东华工业区 A3 栋 6 楼电话 :0755-29784961 Http://www.jlxlcd.cn

More information

Microsoft Word - PLC與GP接線說明_缺WDH_2.doc

Microsoft Word - PLC與GP接線說明_缺WDH_2.doc PC 與 HMI 下載線路圖 HMI PC 1 RS422 R+ 2 RS232 RX 3 RS232 TX 2 RS232 RX 3 RS232 TX 4RS485 D+/RS422 T+ 6 RS422 R- 7 RS232 RTS 8 RS232 CTS 7 RS232 RTS 8 RS232CTS 9RS485 D-/RS422 T- SH( 外殼 ) DB9( 母 ) 接頭 SH( 外殼

More information

(Guangzhou) AIT Co, Ltd V 110V [ ]! 2

(Guangzhou) AIT Co, Ltd V 110V [ ]! 2 (Guangzhou) AIT Co, Ltd 020-84106666 020-84106688 http://wwwlenxcn Xi III Zebra XI III 1 (Guangzhou) AIT Co, Ltd 020-84106666 020-84106688 http://wwwlenxcn 230V 110V [ ]! 2 (Guangzhou) AIT Co, Ltd 020-84106666

More information

1 TPIS TPIS 2 2

1 TPIS TPIS 2 2 1 1 TPIS TPIS 2 2 1. 2. 3. 4. 3 3 4 5 4 TPIS TPIS 6 5 350 Mark Coil F3/F6 350 M 150 M 25 M 7.12M 8 M F3 F6 F4 F7 F8 8M AA 7 350 28V 5V IC HCPL2731 0.5mA 6 8 (TPIS) TPIS 9 7 IC AT89C2051 AT89C2051 CMOS8

More information

KL DSC DEMO 使用说明

KL DSC DEMO 使用说明 :0755-82556825 83239613 : (0755)83239613 : http://www.kingbirdnet.com EMAIL Good989@163.com 1 1 KB3000 DTU... 3 1.1... 3 1.2... 3 1.3... 3 1.4... 3 2... 4 2.1 GSM/GPRS... 4 2.2... 4 2.3... 5 2.4... 6 2.5...

More information

FM1935X智能非接触读写器芯片

FM1935X智能非接触读写器芯片 FM33A0xx MCU 2017. 05 2.0 1 (http://www.fmsh.com/) 2.0 2 ... 3 1... 4 1.1... 4 1.2... 4 1.3... 5 1.3.1... 5 1.3.2... 5 1.4... 8 1.4.1 LQFP100... 8 1.4.2 LQFP80... 9 1.4.3... 9 2... 15 2.1 LQFP100... 15

More information

ARM Cortex-M3 (STM32F) STMicroelectronics ( ST) STM32F103 Core: ARM 32-bit Cortex -M3 CPU 72 MHz, 90 DMIPS with 1.25 DMIPS/MHz Single-cycle multiplica

ARM Cortex-M3 (STM32F) STMicroelectronics ( ST) STM32F103 Core: ARM 32-bit Cortex -M3 CPU 72 MHz, 90 DMIPS with 1.25 DMIPS/MHz Single-cycle multiplica CP Chip Power ARM Cortex-M3 (STM32F) ARM Cortex-M3 (STM32F) STMicroelectronics ( ST) STM32F103 Core: ARM 32-bit Cortex -M3 CPU 72 MHz, 90 DMIPS with 1.25 DMIPS/MHz Single-cycle multiplication and hardware

More information

中文手册

中文手册 PCC-3428 PC/104 1. PCC-3428 1.1 PCC-3428 90mm 96mm ST CPU STPC Atlas Atlas CPU 486 DX/DX2 CPU DX2 133MHz Atlas 2D LCD/CRT 100MHz SDRAM 64MBytes PCC-3428 10/100Mbps DOC EIDE USB PC/104 ST STPC Atlas STPC

More information

C语言的应用.PDF

C语言的应用.PDF AVR C 9 1 AVR C IAR C, *.HEX, C,,! C, > 9.1 AVR C MCU,, AVR?! IAR AVR / IAR 32 ALU 1KBytes - 8MBytes (SPM ) 16 MBytes C C *var1, *var2; *var1++ = *--var2; AVR C 9 2 LD R16,-X ST Z+,R16 Auto (local

More information

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO

Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO Car DVD New GUI IR Flow User Manual V0.1 Jan 25, 2008 19, Innovation First Road Science Park Hsin-Chu Taiwan 300 R.O.C. Tel: 886-3-578-6005 Fax: 886-3-578-4418 Web: www.sunplus.com Important Notice SUNPLUS

More information

C PICC C++ C++ C C #include<pic.h> C static volatile unsigned char 0x01; static volatile unsigned char 0x02; static volatile unsigned cha

C PICC C++ C++ C C #include<pic.h> C static volatile unsigned char 0x01; static volatile unsigned char 0x02; static volatile unsigned cha CYPOK CYPOK 1 UltraEdit Project-->Install Language Tool: Language Suite----->hi-tech picc Tool Name ---->PICC Compiler Executable ---->c:hi-picinpicc.exe ( Command-line Project-->New Project-->File Name--->myc

More information

ch08.PDF

ch08.PDF 8-1 CCNA 8.1 CLI 8.1.1 8-2 8-3 8.1.21600 2500 1600 2500 / IOS 8-4 8.2 8.2.1 A 5 IP CLI 1600 2500 8-5 8.1.2-15 Windows 9598NT 2000 HyperTerminal Hilgraeve Microsoft Cisco HyperTerminal Private Edition (PE)

More information

穨control.PDF

穨control.PDF TCP congestion control yhmiu Outline Congestion control algorithms Purpose of RFC2581 Purpose of RFC2582 TCP SS-DR 1998 TCP Extensions RFC1072 1988 SACK RFC2018 1996 FACK 1996 Rate-Halving 1997 OldTahoe

More information

P3C2000 JumperFree TM Camino

P3C2000 JumperFree TM Camino P3C2000 JumperFree TM Camino 1999 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 2 3 4 5 6 7 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 13 USB

More information

SPHE8202R Design Guide Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provi

SPHE8202R Design Guide Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provi SPHE8202R Design Guide V2.0 JUN, 2007 19, Innovation First Road Science Park Hsin-Chu Taiwan 300 R.O.C. Tel: 886-3-578-6005 Fax: 886-3-578-4418 Web: www.sunplus.com SPHE8202R Design Guide Important Notice

More information

Windows RTEMS 1 Danilliu MMI TCP/IP QEMU i386 QEMU ARM POWERPC i386 IPC PC104 uc/os-ii uc/os MMI TCP/IP i386 PORT Linux ecos Linux ecos ecos eco

Windows RTEMS 1 Danilliu MMI TCP/IP QEMU i386 QEMU ARM POWERPC i386 IPC PC104 uc/os-ii uc/os MMI TCP/IP i386 PORT Linux ecos Linux ecos ecos eco Windows RTEMS 1 Danilliu MMI TCP/IP 80486 QEMU i386 QEMU ARM POWERPC i386 IPC PC104 uc/os-ii uc/os MMI TCP/IP i386 PORT Linux ecos Linux ecos ecos ecos Email www.rtems.com RTEMS ecos RTEMS RTEMS Windows

More information

学习MSP430单片机推荐参考书

学习MSP430单片机推荐参考书 MSP430 16 MSP430 C MSP430 C MSP430 FLASH 16 1 CPU 16 ALU 16 PC SP SR R4~R15 2 3 00-FFH 100-1FFH 4 5 1 2 51 24 27 6 1 2 3 4 5 6 4 12 SR SP SR CPU SR CPU C Z N GIE CPUOff CPU OscOff SCG0 SCG1 CPU EXIT SP

More information

1 CPU

1 CPU 2000 Tel 82316285 82317634 Mail liuxd@buaa.edu.cn 1 CPU 2 CPU 7 72 A B 85 15 3 1/2 M301 2~17 : 3/4 1/2 323 IBM PC 1. 2. 3. 1. 2. 3. 1.1 Hardware Software 1.2 M3 M2 M1 1.2 M3 M1 M2 M2 M1 M1 M1 1.2 M3 M1

More information

untitled

untitled FBC0409 V1.0 1.0 05.06.22 SIA 2005 SIA SIA SIA SIA SIA 114 86-24-23970133 HTTP://WWW.SIA.CN YANG@SIA.CN 2 ...5...5...6 PIN...6...7 1 CPU...8 2...8 4...8 5 DMA...9 7....9 8...9 9...10 A...10 B...10...11.

More information

PCM-3386用户手册.doc

PCM-3386用户手册.doc PCM-3386 BBPC-4x86 10/100M PC/104 (Lanry technology Co. Ltd. Zhuhai) 38 1012836 (Address: Room 1012,Linhai Building,No. 38,west of Shihua Road,Zhuhai City,Guangdong Province,China) (post code)519015 (phone)0756-3366659

More information

untitled

untitled www.mcudriver.cn 1.1 / 1) WinAVR20070525 2) Source Insight 3) ISP 4) PonyProg ISP 5) USB 6) 1.2. MCU ATMEGA16 1.3. AVR8 1.4 LED0~LED7 1 1.5 #include // Program 1.1 LED.C #define uchar unsigned

More information

AL-M200 Series

AL-M200 Series NPD4754-00 TC ( ) Windows 7 1. [Start ( )] [Control Panel ()] [Network and Internet ( )] 2. [Network and Sharing Center ( )] 3. [Change adapter settings ( )] 4. 3 Windows XP 1. [Start ( )] [Control Panel

More information

untitled

untitled (100V 120V 220V 230V) i ii ! (Return Lead) iii iv 1....... 1 1-1.... 1 1-2.... 2 2..... 4 3..... 3-1.... 3-2.... 3-3....... 4..... 9 5......... 5-1.LCD..... 5-2.... 5-3.... 5-4.... 6..... 6-1.... 6-2....

More information

P4VM800_BIOS_CN.p65

P4VM800_BIOS_CN.p65 1 Main H/W Monitor Boot Security Exit System Overview System Time System Date [ 17:00:09] [Fri 02/25/2005] BIOS Version : P4VM800 BIOS P1.00 Processor Type : Intel (R) Pentium (R) 4 CPU 2.40 GHz Processor

More information

行业

行业 PCL-818HD/HG/L PCL-818HD/HG/L 1.1...2 1.1.1 /...2 1.1.2 ID...2 1.2...3 1.3...3 2.1...3 2.2...3 2.2.1...4 2.2.2...4 2.2.3 DMA...5 2.2.4...5 2.2.5 D/A...5 2.2.6...6 2.2.7 EXE.trigger GATE0...6 2.2.8 FIFO

More information

逢 甲 大 學

逢  甲  大  學 益 老 年 不 易更 例 不 異 列 - I - 錄 錄 流 錄 六 來 錄 - II - 錄 錄 錄 錄 錄 錄 參 料 錄 - III - 料 讀 讀 錄 讀 數 錄 錄 錄 錄 錄 - IV - 錄 錄 行 錄 錄 錄 錄 讀 錄 錄 錄 讀 錄 錄 - V - 了 說 力 兩 了 - 1 - 列 邏 路 列 不 不 FLEX 10K Devices at a Glance Feature

More information

untitled

untitled EDM12864-GR 1 24 1. ----------------------------------------------------3 2. ----------------------------------------------------3 3. ----------------------------------------------------3 4. -------------------------------------------------------6

More information

C/C++ - 函数

C/C++ - 函数 C/C++ Table of contents 1. 2. 3. & 4. 5. 1 2 3 # include # define SIZE 50 int main ( void ) { float list [ SIZE ]; readlist (list, SIZE ); sort (list, SIZE ); average (list, SIZE ); bargragh

More information

P4Dual-915GL_BIOS_CN.p65

P4Dual-915GL_BIOS_CN.p65 1 Main H/W Monitor Boot Security Exit System Overview System Time System Date Total Memory DIMM 1 DIMM 2 [ 14:00:09] [Wed 01/05/2005] BIOS Version : P4Dual-915GL BIOS P1.00 Processor Type : Intel (R) Pentium

More information

775i65PE_BIOS_CN.p65

775i65PE_BIOS_CN.p65 1 Main H/W Monitor Boot Security Exit System Overview System Time System Date [ 14:00:09] [Wed 10/20/2004] BIOS Version : 775i65PE BIOS P1.00 Processor Type : Intel (R) CPU 3.20 GHz Processor Speed : 3200

More information

行业

行业 PCL-1800 PCL-1800 1.1...2 1.1.1 1K FIFO...2 1.1.2...2 1.1.3 16...3 1.1.4...3 1.1.5...3 1.1.6...3 1.2...3 1.3...4 1.4...5 2.1...5 2.2...6 2.2.1...6 2.2.2...6 2.2.3 D/A...7 2.2.4...7 2.2.5 TRIG0 GATE0...8

More information

untitled

untitled I G B T S310 220V 0.4~1.5KW (0.88~2.9KVA) : : 65-C : 0510-85227555() : 0510-85227556 http://www.taian-technology.com VER:06 2011.7 S310 0.1 0.2 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 3.1 3.2 3.3 3.3.1 3.3.2

More information

CC213

CC213 : (Ken-Yi Lee), E-mail: feis.tw@gmail.com 49 [P.51] C/C++ [P.52] [P.53] [P.55] (int) [P.57] (float/double) [P.58] printf scanf [P.59] [P.61] ( / ) [P.62] (char) [P.65] : +-*/% [P.67] : = [P.68] : ,

More information

Serial ATA ( Silicon Image SiI3114)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 5 (4) S A T A... 8 (5) S A T A... 10

Serial ATA ( Silicon Image SiI3114)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 5 (4) S A T A... 8 (5) S A T A... 10 Serial ATA ( Silicon Image SiI3114)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 5 (4) S A T A... 8 (5) S A T A... 10 Ác Åé å Serial ATA ( Silicon Image SiI3114) S A T A (1) SATA (2)

More information

行业

行业 PCI-1713 1.1...2 1.1.1...2 1.1.2...2 1.1.3...2 1.1.4...2 1.2...2 1.3...3 1.4...3 2.1...4 2.2...4 2.2.1...4 2.2.2...6 2.3... 11 2.3.1... 11 3.1...13 3.1.1...13 3.1.2...14 3.2...15 4.1 4.2...16 4.2.1 ADSOFT/ADTRIG...16

More information

f2.eps

f2.eps 前 言, 目 录 产 品 概 况 1 SICAM PAS SICAM 电 力 自 动 化 系 统 配 置 和 使 用 说 明 配 置 2 操 作 3 实 时 数 据 4 人 机 界 面 5 SINAUT LSA 转 换 器 6 状 态 与 控 制 信 息 A 版 本 号 : 08.03.05 附 录, 索 引 安 全 标 识 由 于 对 设 备 的 特 殊 操 作 往 往 需 要 一 些 特 殊 的

More information

Microsoft PowerPoint - C15_LAB_MTS86_INTRO

Microsoft PowerPoint - C15_LAB_MTS86_INTRO INTRODUCTION TO THE MTS-86C MICROCOMPUTER TRAINER What s MTS-86? 7-4 7-5 7-7 7-3 7-2 7-3 7-6 2 4 5 3 7-6 7-8 7-3 8 4 5 3 6 37 微處理機原理與應用國立台灣大學生物機電系 SPECIFICATION () CPU: 886 (2) Display Unit: LCD (6x2 Line)

More information

EZ-4206/4216/4304 操作手冊\(繁\)

EZ-4206/4216/4304 操作手冊\(繁\) P/N 920-010521-04 Edition 4 SEP 17 EZ-4206/4216/4304 FCC COMPLIANCE STATEMENT FOR AMERICAN USERS This equipment has been tested and found to comply with the limits for a CLASS A digital device, pursuant

More information

PIC_SERVER (11) SMTP ( ) ( ) PIC_SERVER (10) SMTP PIC_SERVER (event driven) PIC_SERVER SMTP 1. E-

PIC_SERVER (11) SMTP  ( ) ( ) PIC_SERVER (10) SMTP  PIC_SERVER (event driven)  PIC_SERVER SMTP  1.  E- (2005-02-01) (2005-04-28) PIC_SERVER (10) SMTP E-mail PIC_SERVER (event driven) E-mail PIC_SERVER SMTP E-mail 1. E-mail E-mail 1 (1) (2) (3) (4) 1 1. 2 E-mail A E-mail B E-mail SMTP(Simple Mail Transfer

More information

2

2 1 2 3 4 PHY (RAN1) LTE/LTE-A 6.3 Enhanced Downlink Multiple Antenna Transmission 6.3.1 CSI RS 6.4 Uplink Multiple Antenna Transmission 6.4.1 Transmission modes and Signalling requirements for SU-MIMO 6.5

More information

SL2511 SR Plus 操作手冊_單面.doc

SL2511 SR Plus 操作手冊_單面.doc IEEE 802.11b SL-2511 SR Plus SENAO INTERNATIONAL CO., LTD www.senao.com - 1 - - 2 - .5 1-1...5 1-2...6 1-3...6 1-4...7.9 2-1...9 2-2 IE...11 SL-2511 SR Plus....13 3-1...13 3-2...14 3-3...15 3-4...16-3

More information

Microsoft PowerPoint - C15_LECTURE_NOTE_15

Microsoft PowerPoint - C15_LECTURE_NOTE_15 THE 8051 MICROCONTROLLER THE 8051 MICROCONTROLLER 15.1 Introduction 15.2 The 8051 Architecture 15.3 Interfacing to External Memory 15.4 The 8051 Instruction Set 15.5 Timer Operations 15.6 Serial Port Operations

More information

K7M SLOT 1

K7M SLOT 1 K7M SLOT 1 1999 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 2 3 4 5 6 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 13 USB PS/2 COM1 COM2 CPU Core Voltage Setting

More information

1.1 ML_ONOFF = 1 Q 3 Q 8 C 0.3V M 2 L 1 ML_ONOFF = 0 Q 3 Q 8 C 1. + R31 VCC R21 10K ML_ONOFF R15 0:off 1:on 1K Green Light VCC=5V L1 Q VDD=12V C

1.1 ML_ONOFF = 1 Q 3 Q 8 C 0.3V M 2 L 1 ML_ONOFF = 0 Q 3 Q 8 C 1. + R31 VCC R21 10K ML_ONOFF R15 0:off 1:on 1K Green Light VCC=5V L1 Q VDD=12V C AUTOMATIC TROLLEY H K Hwang K K Chen J-S Lin S-C Wang M-L Li C-C Lin W-B Lin Dept. Of Electrical Engineering Far East College ABSTRACT This paper proposes an automatic trolley which can move automatically

More information

1.ai

1.ai HDMI camera ARTRAY CO,. LTD Introduction Thank you for purchasing the ARTCAM HDMI camera series. This manual shows the direction how to use the viewer software. Please refer other instructions or contact

More information

1 Project New Project 1 2 Windows 1 3 N C test Windows uv2 KEIL uvision2 1 2 New Project Ateml AT89C AT89C51 3 KEIL Demo C C File

1 Project New Project 1 2 Windows 1 3 N C test Windows uv2 KEIL uvision2 1 2 New Project Ateml AT89C AT89C51 3 KEIL Demo C C File 51 C 51 51 C C C C C C * 2003-3-30 pnzwzw@163.com C C C C KEIL uvision2 MCS51 PLM C VC++ 51 KEIL51 KEIL51 KEIL51 KEIL 2K DEMO C KEIL KEIL51 P 1 1 1 1-1 - 1 Project New Project 1 2 Windows 1 3 N C test

More information

BC04 Module_antenna__ doc

BC04 Module_antenna__ doc http://www.infobluetooth.com TEL:+86-23-68798999 Fax: +86-23-68889515 Page 1 of 10 http://www.infobluetooth.com TEL:+86-23-68798999 Fax: +86-23-68889515 Page 2 of 10 http://www.infobluetooth.com TEL:+86-23-68798999

More information

行业

行业 PCI-1710 1.1...2 1.1.1...2 1.1.2...2 1.1.3 FIFO( )...2 1.1.4...2 1.1.5...2 1.1.6 16 16...3 1.1.7...3 1.2...3 1.3...3 2.1...3 2.2...4 2.2.1...4 2.2.2...5 2.3...9 2.3.1...10 2.3.2... 11 2.3.3...12 2.3.4...12

More information

EK-STM32F

EK-STM32F STMEVKIT-STM32F10xx8 软 件 开 发 入 门 指 南 目 录 1 EWARM 安 装... 1 1.1 第 一 步 : 在 线 注 册... 1 1.2 第 二 步 : 下 载 软 件... 2 1.3 第 三 步 : 安 装 EWARM... 3 2 基 于 STMEVKIT-STM32F10xx8 的 示 例 代 码 运 行... 6 2.1 GPIO Demo... 6 2.2

More information

6020

6020 6020 ... 1 1.1... 1 1.2... 1 1.3 6020... 2 1.3... 5 1.3.1... 5 1.3.2 ISA I/O (S1)... 5 1.3.3 (J4,5,6)... 6 1.3.4... 6... 9 2.1... 9 2.2... 9 2.3 COMPILING AND LINKING... 11 2.3.1 MICROSOFT C MICROSOFT

More information

行业

行业 PCI-1716/1716L 1.1...2 1.1.1...2 1.1.2 / /SD*/BU*...2 1.1.3 FIFO( )...2 1.1.4...2 1.1.5 16 16...3 1.1.6...3 1.1.7 ID...3 1.2...3 2.1...3 2.2...4 2.2.1...4 2.2.2...6 2.3... 11 2.3.1... 11 2.3.2...12 2.3.3...13

More information

C35_RG_E.book

C35_RG_E.book 快 速 指 南 . 目 录 1 简 介...1-1 简 介...1-2 文 档 CD/DVD 简 介...1-2 可 用 的 功 能...1-3 打 印 操 作...1-3 复 印 操 作...1-3 扫 描 操 作...1-3 传 真 操 作...1-3 控 制 面 板...1-4 帮 助 功 能...1-5 2 更 换 耗 材...2-1 更 换 耗 材...2-2 更 换 碳 粉 盒...2-2

More information

员工签到录

员工签到录 Archivist 2002 Eletech Enterprise Co., Ltd. All Rights Reserved. 1-1 ELETECH VOICE SYSTEMS INC 2 / 2 VLR, 1-1-1 VP894AS-M11 1. VP894AS-M11 1 2. Y 4 3. RJII 4 4. 2-PIN 1 5. VLR 1 2 3 4 ELETECH VOICE SYSTEMS

More information