First Phone Call on MP Architecture

Hardware for First Mesh Potato Phone Call

Hardware for First Mesh Potato Phone Call

Yesterday we made the first phone call using the Mesh Potato (MP) Architecture – a very important moment in the life of any telephony project! The Prototype Mesh Potato hardware isn’t available yet, so we connected a DIR-300 router to a FXS Interface PCB. The DIR-300 router is based on the same chip set as the MP (Atheros AR2317) so it’s as close a a real MP as we can get.

This gives us a development environment almost identical to the MP which allows us to work on the firmware prior to having the actual MP hardware. This allow for faster development compared to waiting for the prototype MP hardware. When the prototype MP hardware arrives we will have tested firmware to use on the untested prototype MP hardware – greatly reducing the scope for bugs.

The firmware consists of several device drivers (8250mp.ko, mp.ko) and an Asterisk Channel Driver (chan_mp). To test we connected a SIP phone to Asterisk running on the DIR-300. Asterisk then routes the call to chan_mp, and via the device drivers to the FXS interface hardware. The audio samples actually flow through the AR2317 RS-232 UART, before being converted to TDM bus samples by a CPLD and Atmega microcontroller. Control and signaling is handled by a SPI port constructed from the AR2317 GPIO lines.

After a bit of tweaking the full duplex audio quality sounded just fine, CPU load was less than 1%. This was really just a basic Channel Driver designed to test the most important feature (full duplex audio) first. The next step is to add a bunch of other functionality like dial tone, echo cancellation, ringing and on/off hook detection.

We are very happy with this step – it’s a big chunk of firmware written and electronics tested.

Tags: ,

6 Responses to «First Phone Call on MP Architecture»


  1. May 23, 2009 at 10:48 pm, Beer, Coffee, and a little DSP » Blog Archive » First Phone Call on MP Architecture said:
    [...] First phone call through the Mesh Potato Architecture - posted over at the Village Telco blog. [...]

  2. May 24, 2009 at 12:26 am, Eric Jarvies said:
    Wonderful progress... keep up the great work! And of course I(we) look forward to your next milestone/report, as-well-as seeing the first prototype. Regards, Eric Jarvies

  3. May 26, 2009 at 12:08 pm, didik said:
    It's great, as always :) Congratulations. -eko didik widianto

  4. December 05, 2009 at 10:11 am, Bastian Bittorf said:
    congrats - I'm curious about the "finished" prototypes!

    • December 05, 2009 at 3:18 pm, Steve said:
      @Bastian The best place to satisfy your curiosity is on the village-telco-dev list. We have passed the prototype stage and will be shipping a hundred beta units this month for testing to groups around the world. Full production units should be ready in March/April.

  5. March 01, 2010 at 5:19 pm, Jonatas Eridani said:
    Amazing, I will keep following your work...I have been for a while now! If you need any help...I will be here!

Leave a Reply