Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
resources:tools-software:sharc-audio-module:advanced-audio-projects:examples [24 Oct 2022 19:17] – Terminal examples Rebecca Butlerresources:tools-software:sharc-audio-module:advanced-audio-projects:examples [24 Oct 2022 20:52] – Will add pictures later. Rebecca Butler
Line 13: Line 13:
 | 4. After connection, navigate to the //Serial Port// settings under //Setup// and change the Port settings to the following: \\ \\ //Speed/Baud - 115200// \\ //Data Bits - 8-bit// \\ //Stop Bits - 1// \\ //Parity - None// \\ //Flow Control - None//  | {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:example4.png?400 |}}  {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:example3.png?400 |}} | | 4. After connection, navigate to the //Serial Port// settings under //Setup// and change the Port settings to the following: \\ \\ //Speed/Baud - 115200// \\ //Data Bits - 8-bit// \\ //Stop Bits - 1// \\ //Parity - None// \\ //Flow Control - None//  | {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:example4.png?400 |}}  {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:example3.png?400 |}} |
 | 5. With a successful connection, after reset, the terminal will display //SAM Audio Starter// with the version. Type //help// to list the available shell commands. | {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:example5.png?400 |}} {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:example6.png?400 |}}  | | 5. With a successful connection, after reset, the terminal will display //SAM Audio Starter// with the version. Type //help// to list the available shell commands. | {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:example5.png?400 |}} {{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:example6.png?400 |}}  |
 +
 +===== Audio Connection Setup =====
 +
 +//This setup will allow audio to pass from input to output through the SAM by using both an analog input source and an analog output source. This setup allows us to play audio via an Audio Jack from a phone and output to a mini portable speaker.//
 +
 +{{ :resources:tools-software:sharc-audio-module:advanced-audio-projects:example7.png?400 |}}
 +
 +**Follow the instructions below to set up the audio path:**
 +| 1. Connect the 3.5mm stereo audio cable to an audio source with audio jack support (such as a cell phone) and to the //LINE IN// connector on the SAM. | TODO|
 +| 2. Connect the Portable speaker to the //LINE OUT// connector on the SAM (ensure the speaker is turned on!). | TODO|
 +| 3. In the shell terminal, type //help route//. The shell will display the usage for the //route// command. | TODO|
 +| 4. In the shell terminal, type //route//. The shell will display the current audio routing table. | TODO|
 +| 5. In the shell terminal, type //route 0 codec 0 codec 0 2// to add to route table index 0 the audio routing of codec input to codec output with 2 channels. Type //route// again to ensure that table was updated properly. | TODO|
 +| 6. Finally, on your analog input device, enable audio. You should now be able to hear the audio from the input device coming out of the speaker connected to //LINE OUT//. | TODO|
  
 ---- ----
 {{navigation Advanced Audio Projects#.environment_setup|Environment Setup and Compilation#.|Advanced Audio Projects#.|Application Examples}} {{navigation Advanced Audio Projects#.environment_setup|Environment Setup and Compilation#.|Advanced Audio Projects#.|Application Examples}}
resources/tools-software/sharc-audio-module/advanced-audio-projects/examples.txt · Last modified: 20 May 2023 15:52 by Rebecca Butler