Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
1,481 Views

Where are the altera_up_avalon_adc.h and altera_up_avalon_parallel_port.h header files located?

I'm running an HPS (Ubuntu 18 on DE1-SoC) system and am trying to interface with the onboard ADC. I've had limited success with the device tree, and think that I must add some entries to instantiate the avalon bus, but am unsure of how to do this. Also, I am looking for those header files: altera_up_avalon_adc.h and altera_up_avalon_parallel_port.h. I can't seem to find them in my Quartus 13.1 installation folder.

0 Kudos
2 Replies
Highlighted
11 Views

Hi,

I am reviewing all the open questions on the forums and found this thread of yours. I apologize that no one seems to answer this question that you posted. Since it has been a few days since you posted this question, I am wondering if you have found the answer? If not, I can assign someone to assist you. Let me know. Thanks.

Regards,

Melvin  

0 Kudos
Highlighted
Employee
11 Views

Hello,

altera_up_avalon_adc.h and altera_up_avalon_parallel_port.h are the drivers of the ADC soft core IP. This driver can be used only for Nios II development.

For HPS, these files are meaningless.

 

You should use a linux ADC driver.

 

thanks

0 Kudos