SWCU195A December 2024 – May 2025 CC2744R7-Q1 , CC2745P10-Q1 , CC2745R10-Q1 , CC2745R7-Q1 , CC2755R10
The system CPU writes input data to the APU Data memory, of size 8kB. Result data is also read from the same APU Data memory. The system CPU shall access the APU Data memory as regular SRAM with 32-bit words, whereas the APU will internally access this memory using 128-bit wide access.
The APU Data memory can be used by the system CPU as a scratchpad memory if the APU is not in use. This memory does not support retention nor parity checking and therefore should not be used as program memory.
The API functions for mathematical operations will provide pointers to vector or matrix input data, and also a pointer to vector or matrix result data. Matrix data shall be stored using column-major order.
The data memory can be used by the APU in two different configurations, depending on the API function. These configurations are known as Interleaved Mode (RAID 0) or Mirrored Mode (RAID 1). The APU shall be configured to either of those operation modes through a dedicated API function. Note that currently, all supported APIs operate in mirrored mode. The configured mode determines the positioning of input data:
Interleaved Mode: elements of input vector A (or input matrix A) must be stored in even addresses, and elements of input vector B (or input matrix B) must be stored in odd addresses.
Mirrored Mode: elements of input vectors (or input matrices ) can be positioned anywhere in memory.