Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHow to craete a 1 microsecond interval Timer of HPS ?
What HWLIB APIs should I use to configure a Timer of HPS with a 1 micro-second interval ? How can I get the Timer Input Clock frequency and set the appropriate count into Timer ? Than...
Altera_Forum
Honored Contributor
12 years agoSomething feeble optimisation, and if smooth change frequency from 100 KHz to 1 MHz, may be line with 45, in 3 go to gorisontal line ?
If HPS runned on 800 MHz, on 1 MHz Timer its 800 tacts for processing one interrupt. Something is wrong there, need be set ASM-handler instead Altera-s or even if edit alt_int_handler_irq() to optimising, although there all is need... May be cache missing ? Your wait code is which ? Or to LED wtiting is too big ? May write version of code with polling timer out register -- it really may catch all edges! And organize the contest to max cathing frequence !.. :)