Access Official Technical PDF

Share Summary:LinkedInEmail

An ARCNET controller can help connect microcontrollers and intelligent peripherals in systems where predictable network access matters. The Microchip COM20022i 3V is an embedded communications controller built around the ARCNET token-passing protocol. It combines protocol handling, on-chip packet memory, host-bus flexibility, and transmission-media interfaces in a 48-pin device intended for industrial, automotive, and embedded control applications.

For automation engineers and system integrators, the key design consideration is how these features fit together: the protocol determines access to the network, the controller manages packet movement, and the selected media interface connects each node to the physical link.

How token passing supports deterministic industrial networking

ARCNET grants network access through a token that passes from one node to the next. A node can transmit when it receives the token; after its network activity, it passes control onward. Because access follows an orderly sequence rather than contention between nodes, response timing is tied to network events and the number of participating nodes. This makes token passing useful in real-time control environments that require predictable communication behavior.

The COM20022i 3V handles network configuration and protocol management with its internal microcoded sequencer. The host processor prepares a packet in the controller’s RAM, supplies the destination ID, and issues a transmit command. When the controller receives the token, it checks whether the destination can accept the packet with a Free Buffer Enquiry. The destination replies with an acknowledgement or a negative acknowledgement. If it is ready, the sender transmits the packet with a 16-bit CRC; the receiver’s response allows the sender to report delivery status.

The controller supports data rates from 156.25 Kbps to 10 Mbps. Its internal clock divider supports lower rates, while a clock multiplier can raise the operating clock for higher rates. Clock configuration affects protocol timing, so engineers must select compatible settings across the network.

Packet buffering and host-interface flexibility

The device integrates 2K × 8 dual-port RAM for message storage. Its eight 256-byte pages can be allocated for transmit and receive buffers, with additional space available as scratch-pad memory. Command chaining supports packet queuing, helping the host prepare communications without managing every protocol-level exchange itself.

Host access is designed to accommodate different microcontrollers and microprocessors. The controller can detect whether the host uses separate read and write signals or a direction-and-data-strobe interface. It also detects multiplexed or non-multiplexed bus operation. These interface choices are established during initialization and remain in effect until hardware reset, so startup software must follow the required detection sequence before accessing the controller.

Internal RAM is accessed through a pointer and data register rather than by direct addressing of every memory location. The pointer can auto-increment for sequential buffer operations or be used for individual accesses. The RAM interface is software-selectable as 8-bit or 16-bit, with a data swapper available in 16-bit mode. Host access width and DMA transfer width must match; an 8-bit host interface cannot be paired with 16-bit DMA transfers.

Using DMA to move packet data

For systems that use direct memory access, the COM20022i 3V can transfer data between system memory and its internal RAM. The controller provides four DMA modes:

  • Non-burst: transfers one item per request cycle, commonly described as cycle stealing.
  • Burst: maintains a request for a sequence of transfers until the terminal count is reached.
  • Programmable burst by timer: pauses transfers according to a configured time interval.
  • Programmable burst by cycle counter: gates transfers after a configured number of cycles.

These modes let designers coordinate packet movement with the host system’s transfer and refresh requirements. Before starting a DMA operation, software configures the DMA controller, transfer mode, buffer pointer, and count-related settings. The COM20022i 3V then uses its request, acknowledge, and terminal-count signals to manage the transfer. Correct sequencing is important: the internal RAM pointer must be set, and the direction of transfer must reflect whether the packet is being received into memory or prepared for transmission.

Network recovery and physical media choices

ARCNET includes a self-reconfiguration process for changes such as a node joining or leaving, a lost token, or a software reset. Nodes detect prolonged inactivity and participate in restoring the sequence of token handoffs. Once the network is re-established, nodes can pass the token to known active nodes rather than repeatedly addressing unused IDs. The controller also supports duplicate node ID detection, and node IDs are software-programmable. ID zero is reserved for broadcast messages.

Physical-layer selection depends on the application and existing network. The COM20022i 3V supports multiple media arrangements, including:

  • Traditional hybrid interface: used with compatible ARCNET nodes and specified for operation at 2.5 Mbps. Transformer coupling provides isolation and common-mode rejection.
  • Backplane configuration: intended for short-distance, cost-sensitive applications such as backplanes and instrumentation. It can reduce components and power requirements, but it uses different data encoding from the traditional hybrid interface, so the two configurations cannot communicate directly with each other.
  • RS-485 differential driver interface: an alternative described for low-cost, low-power, reliable connections.

Topology options include star, tree, and bus arrangements, but practical network limits depend on the transmission medium, propagation delay, and timeout configuration. Nodes on the same network must use consistent response, idle, and reconfiguration timeout settings. Engineers should therefore treat media, topology, data rate, and timeout values as linked design decisions.

Design implications for automation teams

The COM20022i 3V illustrates how a dedicated ARCNET controller can offload token handling and packet management from a host processor while providing several ways to connect to a microcontroller bus and network medium. Its integrated RAM, command chaining, interrupt status, diagnostics, and DMA support give designers options for organizing communication between embedded nodes.

Successful implementation still depends on careful system configuration. Confirm that all nodes share compatible data-rate and timeout settings, choose a media interface suited to the physical network, and initialize the host bus correctly. With those choices aligned, deterministic token passing and automatic reconfiguration can provide a structured communications foundation for industrial control systems where predictable access and reliable node-to-node exchange are important.

Access Official Technical PDF

About The Author