comparison FC-handset-spec @ 46:1fec0a3f09cc

FC-handset-spec: audio routing documented
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 10 Jun 2021 21:43:50 +0000
parents 9df8683daec4
children f0419ac0a815
comparison
equal deleted inserted replaced
45:9df8683daec4 46:1fec0a3f09cc
25 * 21-button main keypad 25 * 21-button main keypad
26 * 3 side buttons for volume control and an auxiliary function 26 * 3 side buttons for volume control and an auxiliary function
27 * hands-free loudspeaker 27 * hands-free loudspeaker
28 * vibrator 28 * vibrator
29 * USB port that combines charging and computer interface 29 * USB port that combines charging and computer interface
30 * wired headset jack 30 * wired analog headset jack
31 * single SIM slot 31 * single SIM slot
32 32
33 The following features which are commonly found in mainstream proprietary 33 The following features which are commonly found in mainstream proprietary
34 phones, particularly more recent ones, will NOT be included: 34 phones, particularly more recent ones, will NOT be included:
35 35
450 backlight turns off fully in this state, and under certain conditions (like 450 backlight turns off fully in this state, and under certain conditions (like
451 out at night) the user may not be able to see the keypad. If a short press 451 out at night) the user may not be able to see the keypad. If a short press
452 of the right side button invokes no other action besides switching on full 452 of the right side button invokes no other action besides switching on full
453 display brightness and the keypad backlight, this right side button can be 453 display brightness and the keypad backlight, this right side button can be
454 found by touch, and thus solve this particular problem case. 454 found by touch, and thus solve this particular problem case.
455
456 1.7. Audio routing
457
458 3 different audio routing modes will be supported on our FC Libre Dumbphone
459 handset:
460
461 * Default mode: there will be a 32 ohm earpiece speaker physically mounted in
462 the usual place, on the front bezel above the display, to match up with the
463 user's ear in handheld operation. There will also be a microphone toward the
464 front bottom of the phone, again in the usual place.
465
466 * Hands-free mode: there will be an 8 ohm loudspeaker physically separate from
467 the 32 ohm earpiece speaker, physical location in the handset TBD. In the
468 hands-free mode, the downlink audio will be switched from the earpiece speaker
469 to the loudspeaker, while the microphone input for the uplink will remain the
470 same.
471
472 * There will be a wired analog headset jack with plug insertion detection; when
473 a headset is inserted, both audio input and output will be redirected to this
474 headset interface.
475
476 1.7.1. Earpiece and loudspeaker separation
477
478 Most current mainstream phones (in fact, all that I am familiar with) have
479 physically separate speaker transducers for the earpiece function (hold up to
480 ear to talk) and the loudspeaker+ringer function. The earpiece speaker is a 32
481 ohm load, and the loudspeaker is an 8 ohm load. In a Calypso+Iota design, an
482 external amplifier chip is needed to drive the 8 ohm loudspeaker, whereas the
483 little 32 ohm earpiece speaker can be driven directly by Iota EAR output.
484
485 However, a very different design was implemented by TI on their D-Sample and
486 Leonardo boards. They have only one speaker, one of 8 ohm kind, that is
487 physically mounted in the position where the earpiece speaker would normally go.
488 In order to not overwhelm the user's ear in handheld operation, they have
489 peculiar circuit wiring where the analog signal from Iota to the loudspeaker
490 amplifier goes through different resistor values depending on whether EAR or AUX
491 output from Iota is used, and when the EAR output is selected, the high resistor
492 values produce attenuation, such that the sound pressure level produced by the
493 pressed-to-ear loudspeaker becomes comparable to that produced by a more
494 traditional 32 ohm earpiece speaker.
495
496 Furthermore, TI's single speaker design was not limited to their development
497 boards. Some years ago I found schematics for some very old LG phone (called
498 A316 or B1200, not sure of the correct designation), this phone is from early
499 TI era (pre-Calypso, using Ulysse/Nausica/Clara chipset), and it has the same
500 arrangement as D-Sample and Leonardo.
501
502 For our own FC Libre Dumbphone, I am going with the separate speakers
503 architecture, using physically separate earpiece and loudspeaker transducers.
504 This architecture feels more native to me, and it will allow for independent
505 tuning of the two audio paths. In my defense, all current mainstream phones
506 seem to use the same architecture - the other approach with a single loudspeaker
507 in the earpiece physical position seems very uncommon.
508
509 1.7.2. Loudspeaker implementation
510
511 The external amplifier chip for driving the 8 ohm loudspeaker will be TI
512 TPA6203A1, copied from Leonardo schematics and proven good on FCDEV3B. On
513 FCDEV3B this amplifier is fed with signal from Iota EAR output, but on the final
514 handset and on the Venus development board this amplifier will be fed with
515 signal from Iota AUX output instead.
516
517 The loudspeaker amplifier has an on/off control by way of a Calypso GPIO; in
518 order to save battery, this amplifier needs to be off normally, and only turn on
519 when a loudspeaker call is in progress or when a ringtone melody is played.
520
521 1.7.3. Wired analog headset jack
522
523 The analog headset jack on our FC Libre Dumbphone handset will be of 2.5 mm
524 TRRS type, using pinout copied from iWOW DSK. The headset needs to be wired as
525 follows:
526
527 * 32 ohm earpiece speaker connected between Tip and Ring2;
528 * electret condenser microphone, positive connected to Ring1;
529 * Sleeve is ground, should be needed only for the microphone.
530
531 The advantage of this TRRS headset specification, as opposed to the simpler kind
532 with a TRS plug and a common ground for the earpiece and the mic, is that our
533 TRRS headset can be driven with either single-ended or differential earpiece
534 driver outputs. On the final handset, the wired headset interface will be
535 connected to the Iota headset channel (HSMICBIAS, HSMICP, HSO) and thus the
536 headset earpiece driver will be single-ended (HSO and GND), but the same headset
537 can also be plugged into other FreeCalypso devices in which the jack is wired
538 to the main Iota audio channel, with Iota EARP & EARN driving Tip and Ring2 on
539 the TRRS headset jack.