DLP-245PL-G DLP Design Inc, DLP-245PL-G Datasheet - Page 7

MOD USB-MCU FT245RL W/18LF8722

DLP-245PL-G

Manufacturer Part Number
DLP-245PL-G
Description
MOD USB-MCU FT245RL W/18LF8722
Manufacturer
DLP Design Inc
Datasheet

Specifications of DLP-245PL-G

Module/board Type
Development Board
Interface Type
USB
Data Bus Width
8 bit
Operating Supply Voltage
5 V
Product
Interface Modules
For Use With/related Products
USB
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Other names
813-1005

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DLP-245PL-G
Manufacturer:
DLP Design
Quantity:
135
TOKEN I/O COMMAND SET
0xA5 – Line In – Reads the state of a single port pin
Parameters:
Returns:
Function:
Example:
0xA6 – Line Out - Sets a single port pin high or low
Parameters:
Returns:
Function:
Example:
0xA7 – Return Board ID
Parameters:
Returns:
Function:
Example:
0xA8 – Setup A/D
Parameters:
Returns:
Function:
Example:
0xA9 – A/D Conversion
Parameters:
Returns:
Function:
Example:
Port – Select from available port pins (PIN_A3, PIN_B0, etc.)
1 Byte: State of the port pin (0 or 1)
This function will read the state of a single port pin. If the data direction for the
pin selected was set to output, the direction is first set to input.
0x2, 0xA5, 0x2F, 0x88 - Reads the current state of port pin PIN_A3.
Port – Select from available port pins (PIN_A3, PIN_B3, etc.)
State – 0 or 1
Undefined
This function will change the output state of a single port pin. If the data direction
for the pin selected was set to input, the direction is first set to output.
0x3, 0xA6, 0x2F, 0x1, 0x8B – Sets port pin PIN_A3 high.
None
5 bytes: “245PL”
This function will return the boardID.
0x1, 0xA7, A6 – Reads the board ID.
Port Configuration – Selects analog port configuration. [See command 0xA8,
setup_AD() in the example firmware for options.]
A/D Conversion Clock – Select the source for the A/D conversion clock. [See
command 0xA8, setup_AD() in the example firmware for options.]
Undefined
This function will select the input channel(s) and the source for the A/D
conversion clock. (Refer to the datasheet for the 18LF8722 for a detailed
explanation of the conversion clock.)
0x3, 0xA8, 0x00, 0x7, 0xAC – Sets all available A/D inputs on the DLP-245PL-G
to analog mode (0x00) and selects Fosc/64 for 20MHz operation (0x7).
Analog Port Number – Selects the analog port for the A/D conversion.
2 Bytes: The 10-bit voltage data; LSB first.
This function will set the channel for the A/D conversion, pause 10uS, perform
the A/D conversion, and then return 2 bytes to the host (LSB first). Command
0xA8 must have been previously called to configure the desired analog channel
as an A/D input.
0x2, 0xA9, 0x2, 0xA8 – Selects analog channel 2 (AN2), performs the A/D
conversion, and returns 2 bytes of data.
7

Related parts for DLP-245PL-G