Motor de Búsqueda de Datasheet de Componentes Electrónicos
Selected language     Spanish  ▼

Delete All
ON OFF
ALLDATASHEET.ES

X  

Preview PDF Download HTML

TSM-110-01-L-DV-P Datasheet(PDF) 56 Page - Texas Instruments

No. de Pieza. TSM-110-01-L-DV-P
Descripción  TLV320AIC3104EVM and TLV320AIC3104EVM-PDK
Descarga  60 Pages
Scroll/Zoom Zoom In 100% Zoom Out
Fabricante  TI1 [Texas Instruments]
Página de inicio  http://www.ti.com
Logo 

TSM-110-01-L-DV-P Datasheet(HTML) 56 Page - Texas Instruments

 
Zoom Inzoom in Zoom Outzoom out
 56 / 60 page
background image
www.ti.com
G.2
GPIO Capability
G.3
Writing Scripts
GPIO Capability
The return packet should be
[0]
0x21
[1]
0xA0
[2]
0x02
[3]
0x05
[4]
0xAA
[5]
0x55
assuming that the values we wrote above starting at Register 5 were actually written to the device.
The USB-MODEVM has seven GPIO lines. Access them by specifying the interface to be 0x08, and then
using the standard format for packets—but addresses are unnecessary. The GPIO lines are mapped into
one byte (see Table G-3):
Table G-3. GPIO Pin Assignments
Bit 7
6
5
4
3
2
1
0
x
P3.5
P3.4
P3.3
P1.3
P1.2
P1.1
P1.0
Example: write P3.5 to a 1, set all others to 0:
[0]
0x18
--> write, GPIO
[1]
0x00
--> this value is ignored
[2]
0x01
--> length - ALWAYS a 1
[3]
0x00
--> this value is ignored
[4]
0x40
--> 01000000
The user may also read back from the GPIO to see the state of the pins. Let's say we just wrote the
previous example to the port pins.
Example: read the GPIO
[0]
0x08
--> read, GPIO
[1]
0x00
--> this value is ignored
[2]
0x01
--> length - ALWAYS a 1
[3]
0x00
--> this value is ignored
The return packet should be:
[0]
0x28
[1]
0x00
[2]
0x01
[3]
0x00
[4]
0x40
A script is simply a text file that contains data to send to the serial control buses. The scripting language is
quite simple, as is the parser for the language. Therefore, the program is not very forgiving about mistakes
made in the source script file, but the formatting of the file is simple. Consequently, mistakes should be
rare.
52
USB-MODEVM Protocol
SLAU218 – August 2007
Submit Documentation Feedback


Html Pages

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 


Datasheet Download




Enlace URL




Privacy Policy
ALLDATASHEET.ES
Does ALLDATASHEET help your business so far?  [ DONATE ]  

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Favorito   |   Intercambio de Enlaces   |   Lista de Fabricantes
All Rights Reserved© Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn