Programming Model
22-28
ADSP-BF50x Blackfin Processor Hardware Reference
from the two channels. When using the SPORT’s core mode, the
core handler should be registered to handle the data read requests
from the SPORT receiver.
• In addition to SPORT register settings, the PORT registers should
also be set properly to enable the SPORT data pins, ACM clock,
CS, and control and trigger pins.
• Before enabling the ACM (by setting the
ACMEN
bit), all the control
bits of the ACM control register should be programmed properly.
The control bits include the ACM timer’s trigger selects (
TRGSELx
),
trigger input polarities (
TRGPOLx
), CS signal polarity (
CSPOL
), ACM
clock polarity (
CLKPOL
), and serial port unit selection (
EPS
).
• Configure the ACM timing control registers to define the ACM
clock frequency, chip select signal width and setup, and hold and
zero time of ACM control signals.
• Configure the event register pairs (Event Control and Event Time
registers) to create required ACM events.
• The Timer Enabled (
TMRENx
) bits should be programmed together
only after the ACM is enabled, but once the bits are programmed it
should not be changed; modifying the enable bits in the ACM
Control register is not recommended while the ACM is in opera-
tion. Doing so can cause events to change from dependency on one
timer to dependency on the other, and can cause the values in the
ACM status registers (
ACM_STAT
and
ACM_ES
) to be inaccurate.
If an application requires both timers, enable them together after
enabling the ACM. If one timer is already enabled, disable and
re-enable the ACM, and then program both timer enable bits. Sim-
ilarly, when both timers are running, they should disabled
together.
Summary of Contents for EZ-KIT Lite ADSP-BF506F
Page 50: ...Contents l ADSP BF50x Blackfin Processor Hardware Reference ...
Page 92: ...Development Tools 1 30 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 110: ...Interface Overview 3 12 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 236: ...Internal Flash Memory Control Registers 6 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 650: ...Programming Examples 15 56 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 804: ...Programming Examples 17 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1194: ...Programming Examples 24 90 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1256: ...ACM Registers A 50 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1264: ...Boundary Scan Architecture B 8 ADSP BF50x Blackfin Processor Hardware Reference ...