Analog Devices ADSP-2106x Using SPORTs as Timers

This document describes how to use ADSP-21060/2/1 SPORTs to implement additional timers.


Analog Devices ADSP-2106x Using SPORTs as Timers - cover page
Brand
Analog Devices
Category
microcontrollers
Document type
Application Note
Language
English
Pages
1
File format
PDF
File size
17 KB
Published
03 August, 2012
Updated
30 September, 2023
MD5 checksum
1B6592A559FA36C15DC1D8E1C0A8B60F

About this manual

This document describes a method to utilize unused Serial Port (SPORT) channels on the ADSP-21060/2/1 devices to function as additional timers, supplementing the single built-in timer. It explains that because the transmit and receive units have independent bit rate generators and interrupt logic, up to four additional timers can be realized.

What's inside

  • How does it work
  • Timer period calculation
  • Initialization of receive channel
  • Initialization of transmit channel
  • Internal operation configuration
  • Pin behavior and frame sync

Specifications

Number of additional timersup to four
Timer registersTwo 16-Bit registers
Maximum timer periodaround 85 seconds
Serial word length range3 up to 32 bits

Frequently asked questions

How many additional timers can be realized using SPORTs?

Up to four additional timers can be realized because the transmit and receive units have separate and independent bit rate generators and interrupt logic.

What registers control the timer period?

The timer period is controlled by two 16-Bit registers named xCLKDIV and xFSDIV.

How is the interrupt rate calculated?

The interrupt rate is calculated using the formula: fCLKIN / ((xCLKDIV + 1) * (xFSDIV + 1)).

Download PDF (17 KB)

More Analog Devices Manuals


View all Analog Devices manuals →