5.0 TOKEN I/O
The MSP430FR5739 microcontroller on the DLP-2232MSPF comes preprogrammed with firmware
that provides rudimentary access to the port pins via either the VCP or DLL drivers. Features include
the ability to read and write individual port pins.
The firmware in the DLP-2232MSPF also provides access to the MSP430FR5739’s A/D converter
and communications. Commands sent to the Token I/O firmware must adhere to a specific
communications protocol. Each command sequence contains the following information:
Byte 0:
Byte 1:
Byte 2…n:
Number of bytes in command sequence
Command
Parameter/data bytes
For example, setting Port Pin P1.1 high would require the following string of bytes:
0x05, 0x30, 0x11, 0x00, 0x01
Definition of the Bytes :
0x05 – Number of bytes in command
0x30 – Command for digital port-pin access
0x11 – Affected port pin
0x00 – Set port pin to output
0x01 – Desired state of port pin
The port pins equate to hexadecimal numeric constants as defined here:
PORT 1 :
0x10 = P1.0 MSP430FR5739 Pin 1, DLP-2232MSPF module Pin J1.2
0x11 = P1.1 MSP430FR5739 Pin 2, DLP-2232MSPF module Pin J1.1
0x12 = P1.2 MSP430FR5739 Pin 3, DLP-2232MSPF module Pin J1.4
0x13 = P1.3 MSP430FR5739 Pin 8, DLP-2232MSPF module Pin J1.5
0x14 = P1.4 MSP430FR5739 Pin 9, DLP-2232MSPF module Pin J1.6
0x15 = P1.5 MSP430FR5739 Pin 10, DLP-2232MSPF module Pin J1.7
0x16 = P1.6 MSP430FR5739 Pin 28, DLP-2232MSPF module Pin J1.35
0x17 = P1.7 MSP430FR5739 Pin 29, DLP-2232MSPF module Pin J1.34
PORT 2 :
0x22 = P2.2 MSP430FR5739 Pin 23, DLP-2232MSPF module Pin J1.26
0x23 = P2.3 MSP430FR5739 Pin 34, DLP-2232MSPF module Pin J1.38
0x24 = P2.4 MSP430FR5739 Pin 35, DLP-2232MSPF module Pin J1.39
0x27 = P2.7 MSP430FR5739 Pin 33, DLP-2232MSPF module Pin J1.37
Rev. 1.1 (November 2011)
4
? DLP Design, Inc.
相关PDF资料
DLP-CB-DLPC200-10R BOARD CONTROLLER FOR DLP
DLP-D-G MODULE USB SECURITY DONGLE
DLP-HS-FPGA2 MODULE USB ADAPTER FOR FT2232H
DLP-IOR4 MODULE LATCHING-RELAY 4-CH
DLP-TEMP-G MODULE DATA-ACQUISITION 3-CH
DLP-TXRX-G MODULE USB-TO-TTL SRL UART CONV
DLP-USB1232H MODULE USB-TO-UART/FIFO HS 18DIP
DLP-USB232M-G MODULE USB-TO-TTL SRL UART CONV
相关代理商/技术参数
DLP-2232PB 功能描述:界面模块 50P-DIP USB-FIFO Module RoHS:否 制造商:4D Systems 产品:Serial Converters 通道/端口数量: 数据速率: 接口类型:USB, UART 工作电源电压:3.3 V, 5 V 最大工作温度:
DLP2232PB-CCS 功能描述:界面模块 50P USB-FIFO Module w/ CCS Compiler CD RoHS:否 制造商:4D Systems 产品:Serial Converters 通道/端口数量: 数据速率: 接口类型:USB, UART 工作电源电压:3.3 V, 5 V 最大工作温度:
DLP-2232PB-G 功能描述:界面模块 50P-DIP USB-FIFO Module RoHS:否 制造商:4D Systems 产品:Serial Converters 通道/端口数量: 数据速率: 接口类型:USB, UART 工作电源电压:3.3 V, 5 V 最大工作温度:
DLP-2232PB-G-CCS 制造商:DLP Design 功能描述:DLP-2232PB-G module Plus CCS compiler
DLP-232PC 功能描述:数据记录与采集 MINI USB MICROCONTR- OLLER MODULE RoHS:否 制造商:Lantronix 描述/功能:Analog device server 显示器类型:None 电流额定值:
DLP240-24/E 制造商:TDK-Lambda Corporation 功能描述:PSU DIN RAIL 24V 10A 制造商:TDK-Lambda Corporation 功能描述:PSU, DIN RAIL, 24V, 10A 制造商:TDK-Lambda Corporation 功能描述:PSU, DIN RAIL, 24V, 10A; Power Supply Output Type:Fixed; Input Voltage VAC:85V to 265V; No. of Outputs:1; Output Power Max:240W; Approvals / Standards:EN 50178; SVHC:No SVHC (19-Dec-2012); Approval Bodies:CE / CSA / EN / UL; ;RoHS Compliant: Yes
DLP240-24/E 制造商:TDK-Lambda Corporation 功能描述:PSU DIN RAIL 24V 10A
DLP240241 功能描述:线性和开关式电源 240W 24V 10A RoHS:否 制造商:TDK-Lambda 产品:Switching Supplies 开放式框架/封闭式:Enclosed 输出功率额定值:800 W 输入电压:85 VAC to 265 VAC 输出端数量:1 输出电压(通道 1):20 V 输出电流(通道 1):40 A 商用/医用: 输出电压(通道 2): 输出电流(通道 2): 安装风格:Rack 长度: 宽度: 高度: