This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
We are in process of developing a gas sensor. Detection and calculation of concentration requires mathematical calculations using exponential and logarithmic equations. Is it possible using MSP430FR2353/55 to perform these calculations real time?
Define "real time"
If you can sacrifice some accuracy, you can use lookup tables and interpolation.
Real time as in within 5 to 10 seconds of gas entry. Accuracy can be sacrificed to an extend. Lookup table is an option we are already looking at.
But just wanted to know if log and exp functions can be implemented.
Sure, if your time scale is seconds, there should be no problem. Use floating point and math.h. If time is an issue, look into lookup tables.
The library functions are implemented, and as Keith says time will (almost certainly) not be a problem.
Code size might -- the FR2153 has (only) 16KB of code space, and I don't know how big the log+exp+[floating point in general] library functions are. Try coding something simple using each of those and see if it builds.
You are right. space is a concern. Ill try it out and let you know. Thank you for the support, Keith and Bruce.
**Attention** This is a public forum