Forum Discussion
Altera_Forum
Honored Contributor
16 years agoCode in tightly coupled memory
Hi all, I placed a function in a section different from the main code. More exactly, my code is mapped to sdram and I linked a function testcall() into a tightly coupled memory section which I pr...
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- Problems: 1. ISR response takes ~16 µs. 2. From OSSemPost, in the ISR, to OSSemPend, in task, it takes ~34 µs. Any chances to reduce these times ? --- Quote End --- 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. 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. Bill