Download Print this page
NXP Semiconductors K32L2B Getting Started
NXP Semiconductors K32L2B Getting Started

NXP Semiconductors K32L2B Getting Started

Gaming use case

Advertisement

Quick Links

AN12645
Getting Started with K32L2B + NxH3670 Gaming Use Case
Rev. 0 - 01/2020

1 Introduction

1.1 Overview
This document describes the hardware design of K32L2B Bluetooth Low
Energy (Bluetooth LE) Audio System and software architecture (top-level
design) of Host Controller (K32L2B). This document is provided for those who
intend to have a systematic view of K32L2B Bluetooth LE Audio System. They
can also refer to relevant ANs if need more introduction about Dongle (
K32L2B OTA ).
(
Hardware introduction
diagram.
Software introduction
introduces audio data path and software framework.
1.2 Summary
This document provides necessary information on how to get started on the K32L2B Bluetooth LE Audio System based on FRDM-
K32L2B board and NxH3670 SDK boards.
Figure 1. K32L2B + NxH3670 wireless headset use case
The system consists of a Dongle and a Headset, using K32L2B as Host Controller.
• Dongle: The Dongle has a USB interface that connects to PC. Dongle is responsible for setting up a wireless audio link
with Headset.
• Headset: The Headset has a speaker, a microphone and some User Interface (UI) components, such as, buttons, sliders,
rotary switches and LED. Headset is responsible for receiving audio data sent from Dongle and sending the recorded
audio to Dongle.
introduces the hardware composition of K32L2B Dongle and Headset, as well as the connection
Contents
1 Introduction............................................ 1
2 Hardware introduction............................2
3 Software introduction............................. 5
4 Verification........................................... 11
5 Conclusion........................................... 14
K32L2B Dongle ), Headset ( K32L2B Headset ) and OTA
Application Note

Advertisement

loading
Need help?

Need help?

Do you have a question about the K32L2B and is the answer not in the manual?

Questions and answers

Summary of Contents for NXP Semiconductors K32L2B

  • Page 1: Table Of Contents

    1.2 Summary This document provides necessary information on how to get started on the K32L2B Bluetooth LE Audio System based on FRDM- K32L2B board and NxH3670 SDK boards. Figure 1. K32L2B + NxH3670 wireless headset use case The system consists of a Dongle and a Headset, using K32L2B as Host Controller.
  • Page 2: Hardware Introduction

    3. The audio stream can be transmitted to NXH3670 of Headset automatically. Users can hear voices with their headsets. The current K32L2B Bluetooth LE Audio System includes FRDM-K32L2B board and NxH3670 SDK boards (KL27 Dongle and Headset board to provide the basic Audio function respectively). This platform can: •...
  • Page 3 As shown in Figure • In the Dongle part, the host controller is K32L2B and the Bluetooth LE device is NXH3670 on KL27 Dongle board. K32L2B configures and communicates with NXH3670 through the SPI interface. K32L2B transfers audio data to NXH3670 through the I S bus emulated by FlexIO.
  • Page 4 Hardware introduction Figure 4. K32L2B Dongle hardware design User can use a USB cable to connect J13 (FRDM-K32L2B) with PC to power or download firmware. 2.3 Headset This section describes the current hardware design of K32L2B Headset based on FRDM-K32L2B and KL27 Headset board.
  • Page 5: Software Introduction

    Figure 5, the attached jumpers of 9-10, 11-12, and 13-14 indicate that they can transfer data directly without the extra operation of K32L2B. • User must make sure the existence of jumper 9-10 (J10 CLK_SELECT, the yellow jumper OSC_MCLK (12.288 MHz) in Figure 5), as it is used to obtain 12.288 MHz frequency and then can provide 24.576 MHz...
  • Page 6 • The state of an uninitialized USB-service is uninitialized, and then the state will change from Uninitialized to Stopped by calling and executing successfully. API initialize (&cfg) Figure 9 shows the mandatory API and corresponding state machine. Getting Started with K32L2B + NxH3670 Gaming Use Case, Rev. 0, 01/2020 Application Note 6 / 15...
  • Page 7 Software introduction Figure 9. Service state diagram For example, the state can jump from Starting to Started by calling ReportState (Started) FRAMEWORK_ServiceReportState (&g_XXXServiceApi, kSTATE_Started); Getting Started with K32L2B + NxH3670 Gaming Use Case, Rev. 0, 01/2020 Application Note 7 / 15...
  • Page 8 • K32L2B_SSB Figure 10 Figure 11 list two demos as references for users if they want to port the demo to other boards. Getting Started with K32L2B + NxH3670 Gaming Use Case, Rev. 0, 01/2020 Application Note 8 / 15...
  • Page 9 NXP Semiconductors Software introduction Figure 10. K32L2B Dongle project in MDK Getting Started with K32L2B + NxH3670 Gaming Use Case, Rev. 0, 01/2020 Application Note 9 / 15...
  • Page 10 Figure Figure 12. JLINK firmware checking The following files are required for users if they want to download Bin files from PC to K32L2B: • J-LINK.exe Getting Started with K32L2B + NxH3670 Gaming Use Case, Rev. 0, 01/2020...
  • Page 11: Verification

    4.1 Logic analyzer results Figure Figure 16, and Figure 17 help users to make sure that the K32L2B Bluetooth LE Audio System is working well. Getting Started with K32L2B + NxH3670 Gaming Use Case, Rev. 0, 01/2020 Application Note 11 / 15...
  • Page 12 Figure 15. Logic analyzer result of Dongle Figure 16. Logic analyzer result of Headset Figure 17. Logic analyzer result of I S master emulated by FlexIO signal Getting Started with K32L2B + NxH3670 Gaming Use Case, Rev. 0, 01/2020 Application Note 12 / 15...
  • Page 13 For SDK Dongle board, the red LED is blinking while pairing, ON when paired, and OFF when connected. For K32L2B Dongle, the blue LED is ON while pairing and OFF when paired, and the red LED is OFF when connected.
  • Page 14: Conclusion

    To save time for users, the flashtool does not update existing firmware. For more information, users can refer to 5 Conclusion This document provides basic introduction of the K32L2B Bluetooth LE Audio System. Users can use Dongle and Headset to verify related functions.
  • Page 15 How To Reach Us Information in this document is provided solely to enable system and software implementers to use NXP products. There are no express or implied copyright licenses granted hereunder to Home Page: design or fabricate any integrated circuits based on the information in this document. NXP nxp.com reserves the right to make changes without further notice to any products herein.

This manual is also suitable for:

Nxh3670