ANALOG DEVICES EE-136 Using the Programmable I/O FLAGS IOFLAG register on the ADSP-21161 Manual

This document provides technical notes on using Analog Devices' DSP components and development tools, including the programmable input/output flag pins on the ADSP-21161 SIMD SHARC processor. The IOFLAG register is used to control these additional input/output flag pins, and example assembly instructions are provided.


ANALOG DEVICES EE-136 Using the Programmable I/O FLAGS IOFLAG register on the ADSP-21161 Manual - cover page
Brand
Analog Devices
Category
microcontrollers
Document type
Application Note
Language
English
Pages
5
File format
PDF
File size
192 KB
Published
03 August, 2012
Updated
29 September, 2023
MD5 checksum
80581A86BE6B7A13D5612FE513E63CDA

About this manual

This document provides technical notes on using the programmable input/output flags pins on the new ADSP-21161 SIMD SHARC processor. It details the functionality of the twelve general-purpose programmable input/output flag pins (FLAG[11:4]), which can signal peripheral devices as outputs or provide conditional branching tests as inputs.

The text describes the IOFLAG register, a new IOP register created specifically for controlling these additional pins. It includes definitions for symbolic constants and macros in the VisualDSP++ tools header file to program these flags. The document also covers system design considerations regarding clock ratios (2:1, 3:1, 4:1) and provides examples of assembly instructions with necessary NOPs to prevent output overruns when setting or toggling flag pins.

What's inside

  • IOFLAG Register
  • Programmable I/O Flags
  • System Design Considerations
  • Clock Ratio Delays
  • Assembly Instructions

Frequently asked questions

What is the function of the IOFLAG register?

The IOFLAG register is a new IOP register created specifically for controlling the additional input/output flag pins (FLAG[11:4]).

How are FLAG pins configured as inputs or outputs?

A value of '0' programs the flag as an input and a value of '1' programs it as an output.

What is required when setting flags in a loop at higher clock rates?

NOPs are required to ensure overruns do not occur because core stalls do not happen when writing to FLAG pins synchronized to the slower DSP system clock.

Download PDF (192 KB)

More Analog Devices Manuals


View all Analog Devices manuals →