Skip to content

Commit

Permalink
[audio_apps] replace jpgs with pngs
Browse files Browse the repository at this point in the history
MH3-59793
  • Loading branch information
tom-crosley committed Sep 24, 2021
1 parent 6103eba commit b391808
Show file tree
Hide file tree
Showing 588 changed files with 202 additions and 202 deletions.
Binary file removed apps/audio_enc/graphics/MHC_logo.jpg
Binary file not shown.
Binary file added apps/audio_enc/graphics/MHC_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/audio_enc/graphics/audio_enc_block_diagram.jpg
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/audio_enc/graphics/audio_enc_crystal.jpg
Binary file not shown.
Binary file added apps/audio_enc/graphics/audio_enc_crystal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/audio_enc/graphics/audio_enc_dis_adpcm.jpg
Binary file not shown.
Binary file added apps/audio_enc/graphics/audio_enc_dis_adpcm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/audio_enc/graphics/audio_enc_efc.jpg
Binary file not shown.
Binary file added apps/audio_enc/graphics/audio_enc_efc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/audio_enc/graphics/audio_enc_filesys.jpg
Binary file not shown.
Binary file added apps/audio_enc/graphics/audio_enc_filesys.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/audio_enc/graphics/audio_enc_heap.jpg
Binary file not shown.
Binary file added apps/audio_enc/graphics/audio_enc_heap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/audio_enc/graphics/audio_enc_i2c_async.jpg
Binary file not shown.
Binary file added apps/audio_enc/graphics/audio_enc_i2c_async.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/audio_enc/graphics/audio_enc_i2s1_clk.jpg
Binary file not shown.
Binary file added apps/audio_enc/graphics/audio_enc_i2s1_clk.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/audio_enc/graphics/audio_enc_plla.jpg
Binary file not shown.
Binary file added apps/audio_enc/graphics/audio_enc_plla.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/audio_enc/graphics/audio_enc_project_graph.jpg
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed apps/audio_enc/graphics/audio_enc_wm8904.jpg
Binary file not shown.
Binary file added apps/audio_enc/graphics/audio_enc_wm8904.png
Binary file removed apps/audio_enc/graphics/audio_enc_wm8904_jumpers.jpg
Diff not rendered.
Binary file removed apps/audio_enc/graphics/important.jpg
Diff not rendered.
Binary file added apps/audio_enc/graphics/important.png
Binary file removed apps/audio_enc/graphics/mchp_logo.jpg
Diff not rendered.
Binary file added apps/audio_enc/graphics/mchp_logo.png
Binary file removed apps/audio_enc/graphics/note - Copy.jpg
Diff not rendered.
Binary file added apps/audio_enc/graphics/note - Copy.png
Binary file removed apps/audio_enc/graphics/note.jpg
Diff not rendered.
Binary file added apps/audio_enc/graphics/note.png
30 changes: 15 additions & 15 deletions apps/audio_enc/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ The audio encoder (audio_enc) application uses the MPLAB Harmony Configurator to

### Architecture Block Diagram

![](graphics/audio_enc_block_diagram.jpg)
![](graphics/audio_enc_block_diagram.png)

## Demonstration Features

Expand Down Expand Up @@ -52,11 +52,11 @@ The audio encoder (audio_enc) application uses the MPLAB Harmony Configurator to
7. Remove FreeRTOS if Bare Metal version
8. Connect MSD Client Driver: DRV_MEDIA to FILE SYSTEM: DRV_MEDIA After reorganization, your graph should look similar to the following:

![](graphics/audio_enc_project_graph.jpg)
![](graphics/audio_enc_project_graph.png)

If using FreeRTOS, your diagram will be slightly different. You will see an additional block for FreeRTOS as shown below.

![](graphics/audio_enc_project_graph2.jpg)
![](graphics/audio_enc_project_graph2.png)

## Tools Setup Differences

Expand All @@ -66,49 +66,49 @@ MPLAB Harmony Configurator: Tools->Clock Configuration

Uncheck the Main RC Oscillator and check the “Bypass” for the Main Crystal Oscillator. When the Bypass is check, it will cause the Main Crystal Oscillator to become unchecked.

![](graphics/audio_enc_crystal.jpg)
![](graphics/audio_enc_crystal.png)

Enable the PLLA Clock output.

![](graphics/audio_enc_plla.jpg)
![](graphics/audio_enc_plla.png)

Enable clocking for the I2S1.

![](graphics/audio_enc_i2s1_clk.jpg)
![](graphics/audio_enc_i2s1_clk.png)

To set the sample rate to a fixed 16KHz, set the PLLA divisor to 2 and the multiplier to 43. Also, set the I2S1 divisor to 63. Please see the two images above.

MPLAB Harmony Configurator: WM8904

![](graphics/audio_enc_wm8904.jpg)
![](graphics/audio_enc_wm8904.png)

MPLAB Harmony Configurator: File System

The Auto Mount feature must be selected in order to expose the media type selection. The media type that is being used in this application is Mass Storage Device. This must be correctly configured, or the storage device will not mount.

![](graphics/audio_enc_filesys.jpg)
![](graphics/audio_enc_filesys.png)

MPLAB Harmony Configurator: I2C Driver

If your are using FreeRTOS, set the driver mode back to Asynchronous.

![](graphics/audio_enc_i2c_sync.jpg)
![](graphics/audio_enc_i2c_sync.png)

MPLAB Harmony Configurator: System

Set the heap size in Harmony if it is not already set for the linker.

![](graphics/audio_enc_heap.jpg)
![](graphics/audio_enc_heap.png)

MPLAB Harmony Configurator: EFC

Set the memory wait states to 6, if not already set.

![](graphics/audio_enc_efc.jpg)
![](graphics/audio_enc_efc.png)

MPLAB Harmony Configurator: Audio Decoder Libraries Disable the ADPCM Decoder for this particular app.

![](graphics/audio_enc_dis_adpcm.jpg)
![](graphics/audio_enc_dis_adpcm.png)

Save and generate code for the framework.

Expand Down Expand Up @@ -137,17 +137,17 @@ This section describes how to configure the supported hardware.

This application uses the I2SC PLIB to transfer data to the WM8904 Audio Codec Daughter Board. To connect to the I2SC, the jumpers (J6, J7, J8, and J9) on the WM8904 Codec Daughter Board must be oriented towards the pink, mic in, connector. See the red outlined jumpers in the below image as reference.

![](graphics/audio_enc_wm8904_jumpers.jpg)
![](graphics/audio_enc_wm8904_jumpers.png)

![](graphics/note.jpg) **Note:** The SAM E70 Xplained Ultra board does not include the WM8904 Audio Codec daughterboard, which is sold separately on microchipDIRECT as part number AC328904.
![](graphics/note.png) **Note:** The SAM E70 Xplained Ultra board does not include the WM8904 Audio Codec daughterboard, which is sold separately on microchipDIRECT as part number AC328904.

### Running the Demonstration

This section demonstrates how to run the demonstration.

**Description**

![](graphics/important.jpg) **Important!** Prior to using this demonstration, it is recommended to review the MPLAB Harmony 3 Release Notes for any known issues.
![](graphics/important.png) **Important!** Prior to using this demonstration, it is recommended to review the MPLAB Harmony 3 Release Notes for any known issues.

Compile and program the target device. While compiling, select the appropriate MPLAB X IDE project based. Refer to Building the Application for details.

Expand Down
Binary file removed apps/audio_player_basic/graphics/MHC_logo.jpg
Diff not rendered.
Binary file added apps/audio_player_basic/graphics/MHC_logo.png
Diff not rendered.
Binary file removed apps/audio_player_basic/graphics/apb_clk_select.jpg
Diff not rendered.
Binary file removed apps/audio_player_basic/graphics/apb_clocks.jpg
Diff not rendered.
Binary file added apps/audio_player_basic/graphics/apb_clocks.png
Binary file removed apps/audio_player_basic/graphics/apb_crystal.jpg
Diff not rendered.
Binary file added apps/audio_player_basic/graphics/apb_crystal.png
Diff not rendered.
Binary file removed apps/audio_player_basic/graphics/apb_filesys.jpg
Diff not rendered.
Binary file added apps/audio_player_basic/graphics/apb_filesys.png
Binary file removed apps/audio_player_basic/graphics/apb_heap.jpg
Diff not rendered.
Binary file added apps/audio_player_basic/graphics/apb_heap.png
Binary file removed apps/audio_player_basic/graphics/apb_pck2.jpg
Diff not rendered.
Binary file added apps/audio_player_basic/graphics/apb_pck2.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed apps/audio_player_basic/graphics/apb_sd_card.jpg
Diff not rendered.
Binary file added apps/audio_player_basic/graphics/apb_sd_card.png
Binary file removed apps/audio_player_basic/graphics/apb_ssc_enable.jpg
Diff not rendered.
Diff not rendered.
Binary file removed apps/audio_player_basic/graphics/important.jpg
Diff not rendered.
Binary file added apps/audio_player_basic/graphics/important.png
Binary file removed apps/audio_player_basic/graphics/mchp_logo.jpg
Diff not rendered.
Binary file added apps/audio_player_basic/graphics/mchp_logo.png
Binary file removed apps/audio_player_basic/graphics/note.jpg
Diff not rendered.
Binary file added apps/audio_player_basic/graphics/note.png
40 changes: 20 additions & 20 deletions apps/audio_player_basic/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The following figure shows the architecture for the demonstration (USB Host vers

### Architecture Block Diagram

![](graphics/apb_block_diagram.jpg)
![](graphics/apb_block_diagram.png)

## Demonstration Features

Expand Down Expand Up @@ -73,23 +73,23 @@ a. Yes to all popups.

After reorganization, your graph would look similar to one of the following project graphs. They specify the drivers, services, and libraries being brought into the project to further extend the applications abilities.

![](graphics/apb_project_graph.jpg)
![](graphics/apb_project_graph.png)

Fig 5 (Project graph of the default E70 bare metal configuration using the SSC)

![](graphics/apb_project_graph2.jpg)
![](graphics/apb_project_graph2.png)

Fig 6 (Project graph of the E70 FreeRTOS configuration using the SSC)

![](graphics/apb_project_graph3.jpg)
![](graphics/apb_project_graph3.png)

Fig 7 (Project graph of the E70 bare metal configuration using the SSC with the TM4301B graphics display)

![](graphics/apb_project_graph4.jpg)
![](graphics/apb_project_graph4.png)

Fig 8 (Project graph of the E54 bare metal configuration using the I2S)

![](graphics/apb_project_graph5.jpg)
![](graphics/apb_project_graph5.png)

Fig 9 (Project graph of the E54 FreeRTOS configuration using the I2C)

Expand All @@ -107,35 +107,35 @@ In the MPLAB Harmony Configurator: _Tools>Clock_ _Configuration_ dialog:
* In the CLK Generator 1 box, change the input to XOSC0 with a divider of 1 for an output of 12 MHz.
* In the GCLK Generator, uncheck the selection for GCLK 2, and then select the GCLK 3 tab. Choose the DFLL as the input, with a divide by 4 for an output of 12 MHz. You should end up with a clock diagram like this:

![](graphics/apb_clocks.jpg)
![](graphics/apb_clocks.png)

For projects using the E70 Xplained Ultra, the SSC interface and the WM8904 as a Master (the WM8904 codec generates the I2S clocks):

In the MPLAB Harmony Configurator: _Tools>Clock_ _Configuration_ dialog:

Uncheck the Main RC Oscillator and check the “Bypass” for the Main Crystal Oscillator. When the Bypass is checked, it will cause the Main Crystal Oscillator to become unchecked.

![](graphics/apb_crystal.jpg)
![](graphics/apb_crystal.png)

Enable the PCK2 output to enable the WM8904 master clock:

![](graphics/apb_pck2.jpg)
![](graphics/apb_pck2.png)

_Clock Diagram>Peripheral Clock Enable_ Enable clocking for the SSC.

![](graphics/apb_ssc_enable.jpg)
![](graphics/apb_ssc_enable.png)

In the MPLAB Harmony Configurator: _File System_ dialog_:_

The Auto Mount feature must be selected in order to expose the media type selection. The media type that is being used in this application is Mass Storage Device. This must be correctly configured, or the storage device will not mount.

![](graphics/apb_filesys.jpg)
![](graphics/apb_filesys.png)

In the MPLAB Harmony Configurator: _System_ dialog:

Set the heap size in Harmony if it is not already set for the linker. Certain projects may set the heap to a larger size automatically.

![](graphics/apb_heap.jpg)
![](graphics/apb_heap.png)

### Building the Application

Expand Down Expand Up @@ -166,31 +166,31 @@ Using the SAM E54 Curiosity Ultra board and the WM8904 Audio Codec Daughter Boar

To connect to the I2S, the jumpers (J6, J7, J8, and J9) on the WM8904 Codec Daughterboard must be oriented away from the pink, mic in, connector. See the red outlined jumpers in the below image as reference.

![](graphics/apb_wm8904_jumpers.jpg)
![](graphics/apb_wm8904_jumpers.png)

In addition, make sure the J401 jumper (CLK SELECT) is set for the PA17 pin:

![](graphics/apb_clk_select.jpg)
![](graphics/apb_clk_select.png)

![](graphics/note.jpg) **Note:** The SAM E54 Curiosity Ultra board does not include the WM8904 Audio Codec daughterboard, which is sold separately on microchipDIRECT as part number AC328904.
![](graphics/note.png) **Note:** The SAM E54 Curiosity Ultra board does not include the WM8904 Audio Codec daughterboard, which is sold separately on microchipDIRECT as part number AC328904.

Using the SAM E70 Xplained Ultra board and the WM8904 Audio Codec Daughter Board, using the SSC PLIB:

Jumper J204, which is next to the SAM E70 Xplained Ultra logo, should be jumpered for LED2.

To connect to the SSC, the jumpers (J6, J7, J8, and J9) on the WM8904 Codec Daughterboard must be oriented away from the pink, mic in, connector. See the red outlined jumpers in the below image as reference.

![](graphics/apb_wm8904_jumpers.jpg)
![](graphics/apb_wm8904_jumpers.png)

![](graphics/note.jpg) **Note:** The SAM E70 Xplained Ultra board does not include the WM8904 Audio Codec daughterboard, which is sold separately on microchipDIRECT as part number AC328904.
![](graphics/note.png) **Note:** The SAM E70 Xplained Ultra board does not include the WM8904 Audio Codec daughterboard, which is sold separately on microchipDIRECT as part number AC328904.

### Running the Demonstration

This section demonstrates how to run the demonstration.

**Description**

![](graphics/important.jpg) **Important!** Prior to using this demonstration, it is recommended to review the MPLAB Harmony 3 Release Notes for any known issues.
![](graphics/important.png) **Important!** Prior to using this demonstration, it is recommended to review the MPLAB Harmony 3 Release Notes for any known issues.

Compile and program the target device. While compiling, select the appropriate MPLAB X IDE project based. Refer to Building the Application for details.

Expand All @@ -200,7 +200,7 @@ Compile and program the target device. While compiling, select the appropriate M

• Insert a micro SD card into the slot on the bottom side of the board as shown in Figure 1. The contacts of the micro SD card should be facing the bottom side of the board.

![](graphics/apb_sd_card.jpg)
![](graphics/apb_sd_card.png)

#### Figure 1: SD Card slot on bottom of SAM E54 Curiosity Ultra Board

Expand All @@ -210,7 +210,7 @@ Compile and program the target device. While compiling, select the appropriate M

4. When the device is connected the system will scan for audio files. Once the scanning is complete and at least one file is found (green LED2 on steady), listen to the audio output on headphones connected to the board. Use Switch SW1 as described under Control Description to change the volume or advance to the next track.

![](graphics/apb_e70_controls.jpg)
![](graphics/apb_e70_controls.png)

#### Figure 2: WM8904 Audio Codec Daughter Board on SAM E70 Xplained Ultra board Control Description

Expand Down
Binary file removed apps/audio_tone/graphics/MHC_logo.jpg
Diff not rendered.
Binary file added apps/audio_tone/graphics/MHC_logo.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed apps/audio_tone/graphics/audio_tone_btadk_setup.jpg
Diff not rendered.
Binary file removed apps/audio_tone/graphics/audio_tone_clk_select.jpg
Diff not rendered.
Binary file removed apps/audio_tone/graphics/audio_tone_clocks.jpg
Diff not rendered.
Binary file added apps/audio_tone/graphics/audio_tone_clocks.png
Binary file removed apps/audio_tone/graphics/audio_tone_clocks2.jpg
Diff not rendered.
Binary file added apps/audio_tone/graphics/audio_tone_clocks2.png
Binary file removed apps/audio_tone/graphics/audio_tone_clocks3.jpg
Diff not rendered.
Binary file added apps/audio_tone/graphics/audio_tone_clocks3.png
Binary file removed apps/audio_tone/graphics/audio_tone_crystal.jpg
Diff not rendered.
Binary file added apps/audio_tone/graphics/audio_tone_crystal.png
Binary file removed apps/audio_tone/graphics/audio_tone_crystal2.jpg
Diff not rendered.
Binary file added apps/audio_tone/graphics/audio_tone_crystal2.png
Binary file removed apps/audio_tone/graphics/audio_tone_crystal3.jpg
Diff not rendered.
Binary file added apps/audio_tone/graphics/audio_tone_crystal3.png
Binary file removed apps/audio_tone/graphics/audio_tone_e70_setup.jpg
Diff not rendered.
Binary file removed apps/audio_tone/graphics/audio_tone_i2s_config.jpg
Diff not rendered.
Binary file removed apps/audio_tone/graphics/audio_tone_i2s_config2.jpg
Diff not rendered.
Diff not rendered.
Binary file removed apps/audio_tone/graphics/audio_tone_ld_crystal.jpg
Diff not rendered.
Binary file removed apps/audio_tone/graphics/audio_tone_ld_e70_setup.jpg
Diff not rendered.
Binary file removed apps/audio_tone/graphics/audio_tone_ld_plla.jpg
Diff not rendered.
Binary file added apps/audio_tone/graphics/audio_tone_ld_plla.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed apps/audio_tone/graphics/audio_tone_pck2.jpg
Diff not rendered.
Binary file added apps/audio_tone/graphics/audio_tone_pck2.png
Diff not rendered.
Binary file removed apps/audio_tone/graphics/audio_tone_plla.jpg
Diff not rendered.
Binary file added apps/audio_tone/graphics/audio_tone_plla.png
Binary file removed apps/audio_tone/graphics/audio_tone_plla2.jpg
Diff not rendered.
Binary file added apps/audio_tone/graphics/audio_tone_plla2.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed apps/audio_tone/graphics/important.jpg
Diff not rendered.
Binary file added apps/audio_tone/graphics/important.png
Binary file removed apps/audio_tone/graphics/mchp_logo.jpg
Diff not rendered.
Binary file added apps/audio_tone/graphics/mchp_logo.png
Binary file removed apps/audio_tone/graphics/note.jpg
Diff not rendered.
Binary file added apps/audio_tone/graphics/note.png
Loading

0 comments on commit b391808

Please sign in to comment.