tm1300 NXP Semiconductors, tm1300 Datasheet - Page 137

no-image

tm1300

Manufacturer Part Number
tm1300
Description
Tm-1300 Media Processor
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tm1300-1.2
Quantity:
380
Philips Semiconductors
Table 8-8. AI MMIO status fields (read only)
Table 8-9. AI MMIO control fields
BUF2_FULL
HBE
OVERRUN
RESET
DIAGMODE
SLEEPLESS
CAP_ENABLE
BUF1_INTEN
BUF2_INTEN
HBE_INTEN
Field Name
Field Name
• If ‘1’, buffer 2 is full. If BUF2_INTEN is also
• 0 after RESET.
• Highway Bandwidth Error. Condition raised
• 0 after RESET.
• OVERRUN error occurred, i.e. the CPU did
• 0 after RESET.
The AI logic is reset by writing a 0x80000000
to AI_CTL. This bit always reads as a ‘0’.
See
details on software reset.
0
1
“Diagnostic
0
(RESET default)
1
Capture Enable flag. If 1, AI unit captures
samples and acts as DMA master to write
samples to local SDRAM. If ’0’ (RESET
default), AI unit is inactive.
Buffer 1 full Interrupt Enable. Default 0.
0
1
Buffer 2 full interrupt enable. Default 0
0
1
HBE Interrupt Enable. Default 0.
0
1
bandwidth error occurs.
‘1’, an interrupt request (source 11) is
pending. BUF2_FULL is cleared by writing
a ‘1’ to ACK2, at which point the AI hard-
ware will assume that BASE2 and SIZE
describe a new empty buffer.
when the 64-byte internal AI buffer is not
yet written to SDRAM when a new input
sample arrives. Indicates insufficient allo-
cation of TM1300 highway bandwidth for
the audio sampling rate/mode. Refer to
Chapter 20, “Arbiter.”
not provide an empty buffer in time, and 1
or more samples were lost. If OVR_INTEN
is also 1, an interrupt request (source 11)
is pending. The OVERRUN flag can ONLY
be cleared by writing a ‘1’ to ACK_OVR.
Section 8.7, “Audio In Operation”
normal operation (RESET default)
diagnostic mode (see
participate in global power down
refrain from participating in power down
no interrupt
interrupt (SOURCE 11) if buffer 1 full
no interrupt
interrupt (SOURCE 11) if buffer 2 full
no interrupt
interrupt (SOURCE 11) if a highway
Mode”)
Description
Description
Section 8.11,
for
Table 8-9. AI MMIO control fields
8.10
If either an OVERRUN or HBE error occurs, input sam-
pling is temporarily halted, and samples will be lost. In
case of OVERRUN, sampling resumes as soon as the
DSPCPU makes one or more new buffers available
through an ACK1 or ACK2 operation. In the case of HBE,
sampling will resume as soon as the internal buffer is
written to SDRAM.
HBE and OVERRUN are ‘sticky’ error flags. They will re-
main set until an explicit ACK_HBE or ACK_OVR.
8.11
Diagnostic mode is entered by setting the DIAGMODE
bit in the AI_CTL register. In diagnostic mode, the
AI_SCK, AI_WS and AI_SD inputs of the serial-parallel
converter are taken from the output pins of the TM1300
AO unit. This mode can be used during the diagnostic
phase of system boot to verify correct operation of most
of the AI unit and AO unit logic circuitry.
Note that the inputs are truly taken from the TM1300 AO
external pins, i.e. if an external (board level) source is
driving AO_SCK or AO_WS, diagnostic mode is not ca-
pable of testing Audio Out.
Special care must be taken to enable diagnostic mode.
The recommended way of entering diagnostic mode is:
• setup the AO unit such that an AO_SCK is generated
• set DIAGMODE bit followed by a 5 (AI_SCK) cycle
• perform a software reset of the AI unit and immedi-
PRODUCT SPECIFICATION
OVR_INTEN
ACK1
ACK2
ACK_HBE
ACK_OVR
Field Name
delay
ately set the DIAGMODE bit back to ‘1’.
ERROR BEHAVIOR
DIAGNOSTIC MODE
Overrun Interrupt Enable. Default 0
0
1
error occurs
Write a ’1’ to clear the BUF1_FULL flag and
remove any pending BUF1_FULL interrupt
request. This bit always reads as 0.
Write a ’1’ to clear the BUF2_FULL flag and
remove any pending BUF2_FULL interrupt
request. This bit always reads as 0.
Write a ’1’ to clear the HBE flag and
remove any pending HBE interrupt request.
This bit always reads as 0.
Write a ’1’ to clear the OVERRUN flag and
remove any pending OVERRUN interrupt
request. This bit always reads as 0.
no interrupt
interrupt (SOURCE 11) if an overrun
Description
Audio In
8-7

Related parts for tm1300