This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Coprocessor

Hello All!

Where can I find a complete example of using C167 coprocessor, including its initialization and (espesially desired) chasing when results of calculation are ready for reading? There are some details obscure for me.

Thanks.

Parents
  • So as far as I realise Keil compiler uses Taylor's series (or smth. similar) to compute sine, cosine, etc? And that's why these appear to be computed VERY slow. I can't see any optimisation here while there's coprocessor's Sin, Cos functions which take 600 and 700 ns, resp. And there's documented interface to coprocessor, but I've got some probs with it. So now the question is HOW to use coprocessor, not IF to use it ;)

    I don't care about x86's coprocessor capabilities. If I did, I wouldn't take C16x at all. So if there are manuals/examples, I'd gratefully take them. That's why I ask.

Reply
  • So as far as I realise Keil compiler uses Taylor's series (or smth. similar) to compute sine, cosine, etc? And that's why these appear to be computed VERY slow. I can't see any optimisation here while there's coprocessor's Sin, Cos functions which take 600 and 700 ns, resp. And there's documented interface to coprocessor, but I've got some probs with it. So now the question is HOW to use coprocessor, not IF to use it ;)

    I don't care about x86's coprocessor capabilities. If I did, I wouldn't take C16x at all. So if there are manuals/examples, I'd gratefully take them. That's why I ask.

Children