About the SigmaStudio module "exp2"
Hello all,
I have a question.
In my development, "exp"module is needed instead of exp2.
Do you have any idea?
Best,
Yuta Mihara
Hello,
For the function e^x, multiply the input by (log2 (e)), approx. 1.442695. To get 10^x, multiply the input by (log2 (10)), about 3.32193. You can use the Linear Gain blocks in SigmaStudio as shown below:
Best regards,
Bob
Hello Bob,
Thank you so much for your answer.
I guess The upper path in the figure you made is what I have to refer for exp2.
Correct me if I'm wrong please.
By the way, the read-back module does not work well in my system.
Best Regards,
Yuta Mihara
Hello,
Both paths use the SigmaStudio exp2 function (2^x). The upper path multiplies the input by log2 (e) before the exp2 block so that its ultimate output is y = e^x.
In a similar way, the lower path is for y = 10^x. I provided both versions because I didn't know which you wanted.
I'm not sure what's causing your readback issues. Using a USB 3.0 port seems to cause issues (though no one knows why). On the other hand, a very slow computer also causes issues. Empirically, the USBi works best with a USB 2.0 port on a moderately fast machine (Core i3 or better). Since your project uses the log and exp blocks, I assume you're using a ADAU1452. The ADAU1701, by contrast, has a truncated readback register (5.19 format) which can prove confusing, especially with integer readbacks.
Best Regards,
Bob
Hi Bob,
Thank you for your reply.
I've just solved the eqation you provide me. Also the read back works well and I checked the answer is what I expected.
I just did not know that I had to connect to the target board EVAL1452 to do read back.
Best Regards,
Yuta Mihara
Please log in to reply.

