Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12603 Discussions

Can't find spi/i2c HAL's API in handbook

Altera_Forum
Honored Contributor II
1,284 Views

Hello, 

 

I am new with NIOS II. 

For now, I first try to verify that we have the required APIs. 

But searching for spi/i2c APIs in hal reference in "NIOS II Software development handbook", I did not find any mention of it. 

 

Does spi/i2c supported in HAL ? if yes - why I can't find it in the HAL reference. 

 

Thanks, 

Ran
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
498 Views

Hi, 

 

SPI/I2C are supported in HAL. Please refer to Embedded Peripherals IP User Guide (https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/ug/ug_embedded_ip.pdf) for HAL description of these controllers. 

- Section 5.4 for SPI Core 

- Section 11.7.6 for Avalon I2C Master Core
0 Kudos
Reply