Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- Did you use the custom opcode for interrupt vectors? It changes interrupt response an opcode to do the dispatch from a C function to lookup the vector. --- Quote End --- Sry, I don't understand this. What do you mean with custom optcode ? Taking the whole bunch of the ISR directly in the VIC, so that I don't need alt_irq_register ? --- Quote Start --- OSSemPost and OSSemPend delays are part of uC/OS-II. Unless you don't have compiler optimization on (-O2 or -O3) there's not much you can do - unless you put ossempost and ossempend in tcm. --- Quote End --- Sounds good to me! Can you explain me in few words how to accomplish this, please ? --- Quote Start --- I use custom opcode for int vectors and O3 optimization level. Then I believe R2-D2 does, too. --- Quote End --- The timings are based on standard IIC (no VIC) and -O0 optimations. So, I haven't done any optimations yet. Thanks for your comments Regards, R2-D2