CY8CKIT-046 PSoC® 4 L-Series Pioneer Kit Guide, Doc. #: 002-03344 Rev. *D
49
Code Examples
Figure 4-20. Audio Plug/Jack Types
4.7.3
Verify Output
To verify the USB Audio code example, follow these steps:
1. Power the PSoC 4 L-Series Pioneer Kit through USB connector J10.
2. Program the PSoC 4 L-Series Pioneer Kit with the
CY8CKIT_046_USB_Audio
code example.
3. Connect the PSoC 4200L USB to the PC by plugging the USB cable into the USB connector,
J11, as shown in
. The kit enumerates as a USB Composite Device (CY8CKIT-046
USB Audio and USB Input Device), as shown in
. Connect the 3.5 mm audio plug
from the external audio device (earphone with microphone) to the audio jack, J16.
4. If populated, set the audio jack selection switch (SW4) to the appropriate position as explained in
4.7.2 Hardware Connections on page 47
.
Figure 4-21. PSoC 4200L USB Audio Enumeration
5. After successful driver installation, for stereo audio playback, go to
Start
>
Control Panel
>
Sound
and set
Speakers (CY8CKIT-046 USB Audio)
as default device under
Playback
tab, as
shown in
. For audio recording, set
Microphone (CY8CKIT-046 USB Audio)
as the
default device in the
Recording
OMTP Connector
AHJ Connector
Pin
Description
Pin
Description
1 (S)
Ground
1 (S)
Microphone
2 (R)
Microphone
2 (R)
Ground
3 (R)
Right side earpiece
3 (R)
Right side earpiece
4 (T)
Left side earpiece
4 (T)
Left side earpiece
44
3 2 1