參數(shù)資料
型號(hào): DS87C550
廠商: Maxim Integrated Products, Inc.
英文描述: EPROM High-Speed Micro with A/D and PWM(帶 A/D 和 PWM的EPROM/ROM高速微控制器)
中文描述: 存儲(chǔ)器高速微與A / D及PWM(帶A / D轉(zhuǎn)換和脈寬調(diào)制的存儲(chǔ)器/ ROM的高速微控制器)
文件頁(yè)數(shù): 16/27頁(yè)
文件大?。?/td> 119K
代理商: DS87C550
APPLICATION NOTE 78
030998 16/27
ljmp START
cseg at 13h ;External Interrupt 1 vector.
ljmp EXT_INT1
cseg at 23h ;Serial Interrupt 0 vector.
ljmp SER0_INT
cseg at 100h ;Beginning of code segment.
START: MOV SP, #40h ;Initialize stack pointer.
MOV P3, #0Fh ;Set port pins as inputs.
MOV P1, #0FFh ;Set port pins as inputs.
CALL RING_ENA ;Switch to ring oscillator to conserve power.
MOV TH1, #0FDh ;Set timer for 19200 baud rate at 11.059 MHz
MOV TMOD, #20h ;Set Timer as mode 2 for baud rate generation.
MOV SCON0, #50h ;Select Mode 1, enable receiver.
ORL PCON, #80h ;Set SMOD for 19200 operation.
SETB TR1 ;Start Timer 1 for baud rate generation.
MOV IE, #94h ;Enable global, serial 0, and ext. interrupt 1.
MOV R1, #0 ;Reset maximum value counter.
CLR_BUF: MOV R0, #0 ;This is the reentry point after command
; completion that clears the command buffer.
; It then falls through to the main prog loop.
MAIN: CJNE R0, #0, COMMAND ;If R0<>0, then service pending command.
PORTSCAN: MOV A, P1 ;Get the current port value.
PUSH ACC ;Make a temporary copy of port value.
CLR C ;Compare current value to maximum. If smaller,
SUBB A, R1 ; or equal, loop back for next check.
POP ACC ;Restore port value. Note that this does not
; affect the carry flag from the SUBB inst.
JC MAIN ;If negative number from SUBB, value is not
; a new maximum, so go on.
MOV R1, A ;We have a new maximum. Store it.
JMP MAIN ;End of main program loop
COMMAND: CJNE R0, #’1’, CHECK_2 ;If command is not XMIT_MAX, go on.
XMIT_MAX: MOV A, STATUS ;Host is requesting maximum value. Wait until
JB ACC.1, XMIT_MAX ; serial port transmit activity is complete.
MOV SBUF0, R1 ;Send maximum value back to host.
JMP CLR_BUF ;Return to main loop to await next command.
CHECK_2: CJNE R0, #’2’,INVALID ;If command is not RESET_MAX, then an
; invalid command has been received.
RESET_MAX: MOV R1, #0 ;Host is requesting that maximum value
JMP CLR_BUF ; be reset. Zero value and return
相關(guān)PDF資料
PDF描述
DS9503 ESD Protection Diode with Resistors(帶電阻器的ESD保護(hù)二極管)
DSTINIM400 Networked Microcontroller Evaluation Kit
DSTINIS-005 Sockets Evaluation Board
DSTINIS-006 Sockets Evaluation Board
DSTINIS400 Sockets Evaluation Board
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
DS87C550-FCL 制造商:DALLAS 制造商全稱:Dallas Semiconductor 功能描述:EPROM High-Speed Micro with A/D and PWM
DS87C550-FNL 制造商:DALLAS 制造商全稱:Dallas Semiconductor 功能描述:EPROM High-Speed Micro with A/D and PWM
DS87C550-KCL 制造商:DALLAS 制造商全稱:Dallas Semiconductor 功能描述:EPROM High-Speed Micro with A/D and PWM
DS87C550-QCL 制造商:DALLAS 制造商全稱:Dallas Semiconductor 功能描述:EPROM High-Speed Micro with A/D and PWM
DS87C550-QCL+ 功能描述:IC MCU EPROM ADC/PWM HS 68-PLCC RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:87C 產(chǎn)品培訓(xùn)模塊:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 標(biāo)準(zhǔn)包裝:260 系列:73S12xx 核心處理器:80515 芯體尺寸:8-位 速度:24MHz 連通性:I²C,智能卡,UART/USART,USB 外圍設(shè)備:LED,POR,WDT 輸入/輸出數(shù):9 程序存儲(chǔ)器容量:64KB(64K x 8) 程序存儲(chǔ)器類型:閃存 EEPROM 大小:- RAM 容量:2K x 8 電壓 - 電源 (Vcc/Vdd):2.7 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:- 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:68-VFQFN 裸露焊盤 包裝:管件