The Ram driver provides API to read and write to parallel or serial RAM devices interfaced with the board. The driver takes care of configuring the specific interface necessary to interact with RAM device.
Features Supported
- APIs to read and write to a RAM offset.
- Supports 16-bit parallel pSRAM devices.
SysConfig Features
- Note
- It is strongly recommend to use SysConfig where it is available instead of using direct SW API calls. This will help simplify the SW application and also catch common mistakes early in the development cycle.
- Option to select RAM topology based on board
- Supported RAM devices
Features NOT Supported
- Serial RAM devices
- Burst read & write is not supported
- DMA support
Important Usage Guidelines
None
Example Usage
Include the below file to access the APIs
RAM Read API
uint32_t offset;
offset = 0;
status =
Ram_read(handle, offset, buffer, 100);
RAM Write API
uint32_t offset;
offset = 0;
status =
Ram_write(handle, offset, buffer, 100);
API
APIs for RAM