參數資料
      型號: PIC16C74B-04I/P
      元件分類: 微控制器/微處理器
      英文描述: 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDIP40
      封裝: 0.600 INCH, PLASTIC, MO-011, DIP-40
      文件頁數: 154/184頁
      文件大?。?/td> 2181K
      代理商: PIC16C74B-04I/P
      第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頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁當前第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁
      2000 Microchip Technology Inc.
      DS30605C-page 71
      PIC16C63A/65B/73B/74B
      Steps to follow when setting up an Asynchronous
      Reception:
      1.
      Initialize the SPBRG register for the appropriate
      baud rate. If a high speed baud rate is desired,
      set bit BRGH. (Section 11.1).
      2.
      Enable the asynchronous serial port by clearing
      bit SYNC, and setting bit SPEN.
      3.
      If interrupts are desired, set interrupt enable bits
      RCIE (PIE1<5>), PEIE (INTCON<6>), and GIE
      (INTCON<7>), as required.
      4.
      If 9-bit reception is desired, then set bit RX9.
      5.
      Enable the reception by setting bit CREN.
      6.
      Flag bit RCIF will be set when reception is com-
      plete and an interrupt will be generated if enable
      bit RCIE was set.
      7.
      Read the RCSTA register to get the ninth bit (if
      enabled) and determine if any error occurred
      during reception.
      8.
      Read the 8-bit received data by reading the
      RCREG register.
      9.
      If any error occurred, clear the error by clearing
      enable bit CREN.
      FIGURE 11-5:
      ASYNCHRONOUS RECEPTION
      TABLE 11-4:
      REGISTERS ASSOCIATED WITH ASYNCHRONOUS RECEPTION
      START
      bit
      bit7/8
      bit1
      bit0
      bit7/8
      bit0
      STOP
      bit
      START
      bit
      START
      bit
      bit7/8
      STOP
      bit
      RX (pin)
      reg
      Rcv buffer reg
      Rcv shift
      Read Rcv
      buffer reg
      RCREG
      RCIF
      (interrupt flag)
      OERR bit
      CREN
      Word 1
      RCREG
      Word 2
      RCREG
      STOP
      bit
      Note:
      This timing diagram shows three words appearing on the RX input. The RCREG (receive buffer) is read after the
      third word, causing the OERR (overrun) bit to be set. An overrun error indicates an error in user’s firmware.
      Address
      Name
      Bit 7
      Bit 6
      Bit 5
      Bit 4
      Bit 3
      Bit 2
      Bit 1
      Bit 0
      Value on:
      POR,
      BOR
      Value on
      all other
      RESETS
      0Bh,8Bh
      INTCON
      GIE
      PEIE
      T0IE
      INTE
      RBIE
      T0IF
      INTF
      RBIF
      0000 000x
      0000 000u
      0Ch
      PIR1
      PSPIF(1) ADIF(2)
      RCIF
      TXIF
      SSPIF
      CCP1IF
      TMR2IF
      TMR1IF
      0000 0000
      18h
      RCSTA
      SPEN
      RX9
      SREN
      CREN
      FERR
      OERR
      RX9D
      0000 -00x
      1Ah
      RCREG USART Receive register
      0000 0000
      8Ch
      PIE1
      PSPIE(1) ADIE(2)
      RCIE
      TXIE
      SSPIE
      CCP1IE
      TMR2IE
      TMR1IE
      0000 0000
      98h
      TXSTA
      CSRC
      TX9
      TXEN
      SYNC
      BRGH
      TRMT
      TX9D
      0000 -010
      99h
      SPBRG
      Baud Rate Generator register
      0000 0000
      Legend: u = unchanged, x = unknown, - = unimplemented locations read as '0'.
      Shaded cells are not used for asynchronous reception.
      Note
      1:
      Bits PSPIE and PSPIF are reserved on the PIC16C73/73A/76; always maintain these bits clear.
      2: Bits ADIE and ADIF are reserved on the PIC16C63A/65B; always maintain these bits clear.
      相關PDF資料
      PDF描述
      PIC16LC73B-04I/SS 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDSO28
      PIC16LC74B-04I/P 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDIP40
      PIC16C72-4E/SO 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDSO28
      PIC16C72A-04I/SS 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDSO28
      PIC16C74T-20I/TQ 8-BIT, OTPROM, 20 MHz, RISC MICROCONTROLLER, PQFP44
      相關代理商/技術參數
      參數描述
      PIC16C74B-20/L 功能描述:8位微控制器 -MCU 7KB 192 RAM 33 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
      PIC16C74B-20/L 制造商:Microchip Technology Inc 功能描述:8BIT CMOS MCU SMD 16C74 PLCC44
      PIC16C74B-20/P 功能描述:8位微控制器 -MCU 7KB 192 RAM 33 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
      PIC16C74B-20/P 制造商:Microchip Technology Inc 功能描述:IC 8BIT CMOS MCU 16C74 DIP40
      PIC16C74B-20/PQ 功能描述:8位微控制器 -MCU 7KB 192 RAM 33 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數據總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數據 RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT