1 Dec 2009 lkcl   » (Master)

Connecting UC-864-G 3G Modem to BeagleBoard and IGEP-v2

well, this is getting .... interesting. i've bought some MAX3378 level converters, to cope with the 1.8v to 2.6v voltage differences (MAX3378 so that i don't have to worry about getting the direction right).

i'm wiring the UC-864-G Digital Video PCM to the OMAP3530's "MCBSP" - multi-channel buffered serial port. i'm not going to worry about providing the voltages via a stable power source yet, i'm just going to nick the voltages on each side from each device.

i've soldered the MAX3378 onto a prototyping board (0.5mm pitch...) and tested one of them. stunningly, it worked - powered by 3x 1.5v batteries on one side and 2x 1.5v batteries on the other :)

the next step is to write a McBSP audio driver, making sure all the parameters are right, and also mashing omap-mcbsp.c into submission. omap-mcbsp.c assumes that all audio channels will be stereo and variable (KNOT) rate. UC-864-G actually does U-Law, A-Law or Linear Q15, which i believe to be Signed 16-bit (S16 in alsa terminology), and it's specifically 8kbaud and it's definitely mono.

the only bits i'm not sure about are whether i should be setting an external clock (like the pandora) on the McBSP and whether i should be setting inverted-frame and inverted-clock because the UC-864-G defaults to "master" and sends data on "falling edge"...

mmmm :)

Latest blog entries     Older blog entries

New Advogato Features

FOAF updates: Trust rankings are now exported, making the data available to other users and websites. An external FOAF URI has been added, allowing users to link to an additional FOAF file.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!