Cypress Semiconductor AN6077 Guia do Utilizador Página 87

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 107
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 86
CY3687 MoBL-USB FX2LP18 Development Kit User Guide, Doc. # 001-68582 Rev. *B 87
MoBL-USB Development Kit Firmware Examples
Figure 8-13. A2 Vendor Command Write Operation using CyControlCenter
2. 0xA3 command-Download data to RAM memory
This command is used to download data to MoBL-USB FX2LP18 internal (0x0000-0x3FFFF)
RAM.
a. Test using CyControlCenter
To write the contents to RAM memory select Direction=OUT Req Type=vendor Target=Device
Bytes to Transfer=8 bytes (data to read) wValue=0x1800(RAM address), Req Code=0xA3 and
enter data to send. For e.g: "C2 B4 04 84 00 01 00 11" in Data to send box. Click on Transfer
Data button and observe the RAM memory getting programmed. Figure 8-14 summarizes the
entire operation.
Figure 8-14. A3 Vendor Command Read Operation using CyControlCenter
To read the contents from RAM memory select Direction=IN Req Type=vendor Target=Device
Bytes to Transfer=8 bytes (data to read) and Req Code=0xA3. Click on Transfer Data button and
observe the RAM memory written previously matches with the read data. Figure 8-15 summa-
rizes the entire operation.
Vista de página 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 106 107

Comentários a estes Manuais

Sem comentários