David Feldman
2009-Jun-20 23:50 UTC
[Speex-dev] Speex for TI MSP430 microcontroller - estimating CPU speed requirements?
Interested in building a speex codec (basically audio <-> speex <-> data stream) using TI's small MSP430 microcontroller. Is there any way to estimate feasibility based on CPU requirements? Example - speex is happily encoding on an old Pentium-1 processor (166 MHz) using about half the CPU (as reported under Linux); the TI microcontrollers are much slower yet (8-16-25 MHz) and there wouldn't be an OS per se - just "to the bare metal" - so not sure this is even feasible... Thanks for any comments, Dave
Jean-Marc Valin
2009-Jun-21 00:02 UTC
[Speex-dev] Speex for TI MSP430 microcontroller - estimating CPU speed requirements?
David Feldman a ?crit :> Interested in building a speex codec (basically audio <-> speex <-> data > stream) using TI's small MSP430 microcontroller. Is there any way to > estimate feasibility based on CPU requirements? Example - speex is happily > encoding on an old Pentium-1 processor (166 MHz) using about half the CPU > (as reported under Linux); the TI microcontrollers are much slower yet > (8-16-25 MHz) and there wouldn't be an OS per se - just "to the bare > metal" - so not sure this is even feasible...Unless it has a very fast MAC unit (which I doubt), a 25 MHz microcontroller is not enough to run Speex. Jean-Marc
B. Mitchell Loebel
2009-Jun-21 08:23 UTC
[Speex-dev] Speex for TI MSP430 microcontroller - estimating CPU speed requirements?
<html> <body> For what its worth ...<br><br> I have a lot of experience with the T.I. MSP430F417 and their DSP's TMS320VC5409 and TMS320VC5402. I'm running G.729 at 8Kb/sec with an encoder implementation that I got from India. I assume(???) that Speex and G.729 are roughly equivalent in terms of processing power needed (Jean Marc: can you comment on this please?).<br><br> Here are some numbers: My input samples are at 8KH, 16b wide. My encoded frame encompasses 10us of my input samples, i.e 80 samples. My frame encoding time takes 10 sample times, i.e. 1.25us, so real time is possible with double buffering ... but this is with the DSP running at 80MHZ!! Incidentally, decoding time was about 2 samples, i.e. 0.25us.<br><br> The MSP430xx that I'm using probably wouldn't come close to working. Its clock is max'd out at about 7MHZ and it certainly doesn't have as good a compute engine as the DSP, e.g. no pipeline. T.I. does have some new generation 430's, but I still doubt its usefulness for your codec.<br><br> Please let me know how you make out with your app.<br><br> <br><br> At 04:50 PM 6/20/2009, David Feldman wrote:<br> <blockquote type=cite class=cite cite="">Interested in building a speex codec (basically audio <-> speex <-> data<br> stream) using TI's small MSP430 microcontroller. Is there any way to<br> estimate feasibility based on CPU requirements? Example - speex is happily<br> encoding on an old Pentium-1 processor (166 MHz) using about half the CPU<br> (as reported under Linux); the TI microcontrollers are much slower yet<br> (8-16-25 MHz) and there wouldn't be an OS per se - just "to the bare<br> metal" - so not sure this is even feasible...<br><br> Thanks for any comments,<br><br> Dave<br><br> _______________________________________________<br> Speex-dev mailing list<br> Speex-dev@xiph.org<br> <a href="http://lists.xiph.org/mailman/listinfo/speex-dev" eudora="autourl"> http://lists.xiph.org/mailman/listinfo/speex-dev</a></blockquote> <x-sigsep><p></x-sigsep> <font face="Times New Roman Baltic, Times"><br> ---<br> B. Mitchell Loebel, CEO, VP Engineering 408 425-9920 cell<br><br> InstaFlash International Corporation<br> (formerly Minute-Tape International Corporation)<br> </font></body> </html>
Maybe Matching Threads
- Speex for TI MSP430 microcontroller - estimating CPU speed requirements?
- Speex for TI MSP430 microcontroller - estimating CPU speed requirements?
- Speex for TI MSP430 microcontroller - estimating CPU speed requirements?
- Windows app demonstrating speex playback?
- Has anybody tried to program MSP430 microcontrollers from TI?