Click here to return to the A2B SSPLUS STACK USER GUIDE
A2B Software Stack or simply referred as A2B Stack is a collection of functional blocks designed to efficiently configure, troubleshoot, and deploy A2B networks. The below Figure shows the architecture of the stack software.
Figure: A2b Software Stack Architecture
A2B Stack is platform agnostic. The functionalities of the core stack remain the same irrespective of the target platform. The stack can be used to build applications specific to any platform by re-implementing the Platform abstraction layer (PAL) as per the targeted platform.
PAL and Application layers need to be re-implemented depending on the target platform and the end application requirements.
Wrapper Services Layer helps in easy stack integration. It is the integrator’s choice to use it as-is or can be re-implemented. This layer can be further visualized as Wrapper Services Layer 1 (top-most layer) and Wrapper Services Layer 2 (layer just above the A2B stack and below Wrapper Services Layer 1)
The Stack is comprised of the following subsystems.
1. Scheduler
2. Plugin Management
3. Diagnostics
4. Logging/Tracing
5. Bus Configuration Parsing
6. Slave I2C/SPI communication
7. Logging/Tracing
Target software is a framework that hosts A2B Stack, Application, and other components specific to the targeted processor platform.
A2B stack, running on the Target Software framework, requires a bus configuration file produced by a Host network design tool like SigmaStudioPlus to configure an A2B network. Refer to the link: a2bssplususerguide for more details on drawing customized A2B schematics using SigmaStudioPlus.
Once an A2B schematic, corresponding to the Target system is modeled, and validated in SigmaStudioPlus, the schematic information is then exported (adi_a2b_busconfig.c file) and added to the Target software project. The Stack running on Target parses the information in this file and programs the A2B network accordingly.
The Host-Target software workflow in building an A2B application is shown in the Figure below
Figure: Host Tool - Target Software Workflow