enCoRe™ V CY7C643xx, enCoRe™ V LV CY7C604xx TRM, Document No. 001-32519 Rev *H
155
Full-Speed USB
20.3.12 PMAx_DR Register
The PSoC Memory Arbiter Data Register (PMAx_DR) is
used to read and write to a particular PMA channel by either
the USB SIE or the M8C. Note that a PMA channel may not
be used simultaneously by both the USB SIE and the M8C.
Bits 7 to 0: Data Byte[7:0].
When the M8C writes to this
register, the PMA registers the byte and then stores the
value at the address in SRAM indicated by the PMAx_WA
register.
After the value is written to SRAM, the PMAx_WA register is
automatically incremented. When the USB SIE writes to this
register, the PMA registers the byte and then stores the
value in SRAM using the sum of the value of the PMAx_WA
register and the USB SIEs received byte count. When the
M8C reads this register, a pre-loaded value is returned and
the PMAx_RA value is automatically incremented.
The new PMAx_RA value is used to fetch the next value
from the SRAM, to be ready for the next read from the chan-
nel's PMAx_DR register. When the USB SIE reads the
PMAx_DR register, it also receives a pre-loaded value,
which triggers the PMA logic to fetch the next value in
SRAM to be ready for the USB SIEs next read request. In all
read cases, the initial pre-load of the first address of the
channel is triggered by writing the first address of the chan-
nel to the channel's PMAx_RA register. Therefore, the
PMAx_RA register must be written after data is stored for
the channel.
For additional information, refer to the
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Access
0,58h
PMA0_DR
Data Byte[7:0]
RW : 00
0,59h
PMA1_DR
Data Byte[7:0]
RW : 00
0,5Ah
PMA2_DR
Data Byte[7:0]
RW : 00
0,5Bh
PMA3_DR
Data Byte[7:0]
RW : 00
0,5Ch
PMA4_DR
Data Byte[7:0]
RW : 00
0,5Dh
PMA5_DR
Data Byte[7:0]
RW : 00
0,5Eh
PMA6_DR
Data Byte[7:0]
RW : 00
0,5Fh
PMA7_DR
Data Byte[7:0]
RW : 00
0,64h
PMA8_DR
Data Byte[7:0]
RW : 00
0,65h
PMA9_DR
Data Byte[7:0]
RW : 00
0,66h
PMA10_DR
Data Byte[7:0]
RW : 00
0,67h
PMA11_DR
Data Byte[7:0]
RW : 00
0,68h
PMA12_DR
Data Byte[7:0]
RW : 00
0,69h
PMA13_DR
Data Byte[7:0]
RW : 00
0,6Ah
PMA14_DR
Data Byte[7:0]
RW : 00
0,6Bh
PMA15_DR
Data Byte[7:0]
RW : 00