FreeCalypso > hg > fc-magnetite
view doc/FCDEV3B-751774 @ 680:ee3ac8c617cb
armio.c: set GPIO2 output high initially
On TI-canonical platforms GPIO2 is DCD modem control output. In TI's
original code the AI_InitIOConfig() function called from Init_Target()
would configure GPIO2 as an output and set the initial output value to
low, but then the init code in uartfax.c called from Init_Serial_Flows()
would immediately change it to high, corresponding to DCD not asserted.
The result is a momentary asserted-state glitch on the DCD output.
The present change eliminates this glitch, setting DCD output to
not-asserted initially like it should be.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 25 Jun 2020 03:17:43 +0000 |
parents | 9f19cc5e46e8 |
children |
line wrap: on
line source
We have one experimental FCDEV3B V2 board on which our regular Calypso chip ([P]D751992AGHH) has been replaced with D751774AGHH, an earlier F-number featuring DSP ROM version 3416 rather than the final version 3606 which we normally work with. Both chip versions are Calypso C035 variants (ARM7 running at 52 MHz, DSP running at 104 MHz), and both include AMR support - but there must have been some issue with DSP version 34 (and maybe version 35 used in Calypso+) that compelled TI to produce the newer and final version 36 which we are most familiar with. Our Layer1 code is based on TI's TCS211-20070608 semi-src release (which we have reconstructed back to full source), and it officially supports only DSP 36. However, our FC Magnetite firmware can also be built for DSP 34 targets (see the Calypso-version-override article), in which case we use a monolithic DSP patch (no L1_DYN_DSP_DWNLD) extracted from the TSM30 source. The patch version is 4130. The configure.sh target name for this special modified board is fcdev3b-dsp34 instead of just fcdev3b, and the two firmware builds are not interchangeable: the regular fcdev3b build goes into regular FCDEV3B boards, the special fcdev3b-dsp34 build goes into the special FCDEV3B-751774 board. However, when running its respective build this DSP 34 board appears to function just as well as our regular DSP 36 targets: standalone RF tests work, DSP-based audio services (beeps and Melody E1) work, connecting to a live GSM network worked, a few test voice calls worked, all of them connected in AMR mode, voice passed successfully in both directions. Going forward, we shall continue using D751992AGHH chips with DSP ROM version 3606 as our regular platform, but it is nice to know that the earlier DSP 34 apparently works too.