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.
Of course there IS a single-instruction Sin function in MF167's mathematical coprocessor Are you talking about the MAC unit? If so, what device has a SIN MAC instruction? Can you provide a link to the datasheet where this MAC instruction is described? Thanks, Jon
Before you go adding extra hardware to your system, you might consider alternative software algorithms. As has already been said, a microcontroller is not generally up to the job of doing lots of transendental functions. Ask yourself just how accurate you need these function to be. Then consider alternatives such as look-up tables. You might consider using series other that the Taylor series, such as the Pade Approximation (see http://users.pandora.be/martin.brown/home/consult/logx.htm ). Google for more.