Visible to Intel only — GUID: irj1615282098361
Ixiasoft
Visible to Intel only — GUID: irj1615282098361
Ixiasoft
1.10. Nios® II HAL Driver
This section describes the HAL driver for the Mailbox Client Intel® FPGA IP core. Intel provides HAL system library drivers that enable you to perform Mailbox Client operations using the HAL API functions. The operations along with their descriptions are listed in . In addition, the HAL driver also provides exclusive functions on QSPI flash device-related operations to simplify your design flow.
- altera_s10_mailbox_client.h
- altera_s10_mailbox_client.c
- altera_s10_mailbox_client_flash.h
- altera_s10_mailbox_client_flash.c
To use the HAL API, enable altera_safeclib in the BSP Software Package from BSP Editor. Enter mailbox_client_open() function to start the HAL API. Note that the interrupt connection to the processor is necessary to use the HAL API.
The absolute addressing to the quad SPI memory specifies all the offset-related variables. You must complete the quad SPI operation by calling mailbox_client_flash_open() before any flash operation, and mailbox_client_flash_close() at the end of any flash operation.