SIXTH LOGIC SLG002 DAB+ FM Development Board PRO2 User Guide

June 6, 2024
SIXTH LOGIC

DAB+ FM Development Board PRO2
User’s Guide
6th

LOGIC

© 2012 Sixth Logic

DOCUMENT REVISION HISTORY

Revision A (April 2019)

  • Initial Release of this Document.

**Chapter 1. Introducing the DAB+ FM Development Board PRO2

**

INTRODUCTION

The following sections provide an overview of the DAB+ FM Development Board and demonstrate how to use it.
The following topics are covered:

  • Description of the DAB+ FM Development Board PRO2
  • Using the DAB+ FM Development Board PRO2

DESCRIPTION OF THE DAB+ FM DEVELOPMENT BOARD PRO2

  • The DAB+ FM Development Board PRO2 provides a platform for developing and evaluating DAB+ and FM receivers. The board contains a Keystone T4B-6D60CDB  DAB/DAB+/FM/EPG/SlideShow the module on a PRO board with a Microchip PIC18F14K40 microcontroller.

The T4B-6D60CDB module is an ultra low power DAB/DAB+/FM receiver module with the following features:

  • ETSI EN 300 401 compliant receiver
  • DAB/DAB+ sensitivity to -99dBm (typical)
  • Decodes multiple audio services up to 256kbps without external RAM
  • FM with RDS (RDS reception is subject to certain conditions of power level and frequency deviation)
  • Combined antenna input for FM / Band3
  • Serial control interface
  • RoHS compliant
  • EPG
  • SlideShow

The Microchip PIC18F14K50 provides a USB to Serial interface for the radio module to communicate with the host PC. Despite the sample code provided in this Development  Board for communicating with the board being based on serial communication, users can analyze the serial communication and implement a driverless HID protocol by rewriting the firmware on the PIC18F14K50.

DEVELOPMENT BOARD OVERVIEW

FIGURE 1.1: Development Board Block Diagram.

Figure1.2: Development Board Top View.

Chapter 2. Quick Start Guide

 INTRODUCTION

This chapter explained the basic steps to get you started using the DAB+ FM Development Board.

 HIGHLIGHTS

Items discussed in this chapter include:

  • Setting up the hardware
  • Installing the Microchip’s CDC driver
  • Running the sample program

SETTING UP THE HARDWARE

  1. Download the DAB+ FM Development Board’s software package from the product website and then unzip the software package to a known folder.
  2. Connect the supplied antenna to the SMA connector on the board. The antenna has a magnetic base, sticking the antenna to a large metal surface, for example, a window frame, will produce a better reception. Users need to experiment to find a suitable location to place the antenna.
  3. Connect a USB cable (Mini B) to the board and the other side of the cable to the Host PC.
  4. Ensure the three LEDs on the board light up.
  5. Connect speakers or headphones to the 3.5mm stereo jack, possible to perform this step after the board is ready.
Handling the Board

When handling the board, it is important to observe the following precaution:
Caution Without proper anti-static handling, the board can be damaged. Therefore use antistatic handling precautions when touching the board.
Caution  In order to avoid damaging the board, only operate the board from a USB port’s 5VDC supply.

INSTALLING MICROCHIP’S CDC DRIVER

After the board is being plugged into the host PC, Windows should recognize the board as “CDC RS-232 Emulation Demo”. In the “Welcome to the Found New Hardware  Wizard” window select “No, not this time” and then click “Next >” (Figure 2.1)

The wizard will then prompt the user for a location from which to load the software for the communication port. Select “Install from a list or specific location (Advanced)” and  click “Next >” (Figure 2.2)

The wizard now prompts the user for the location of the .inf file that Windows will use to automatically configure the binary driver files (.sys files) to create the virtual COM  port connection for the USB. Ensure that both “Search for the best driver in these locations” and “Include this location in the search” are both selected. Select “Browse” and navigate to the product software folder unzipped in step 2.3.1. If the user unzip the product software into the root of C driver, the driver files should be in the following folder:

Click “Next >”. The window should now begin loading the driver. If any warnings are issued (Figure 2.4), select “Continue Anyway”.

The wizard should indicate that the software for the Communications port was successfully installed. Select “Finish”. (Figure 2.5)

Next, the virtual COM port will be checked in the Device Manager to identify the COM port number. Click on Window’s Start, Control Panel, System, Hardware, and finally  Device Manager.
Expand the Ports (COM and LPT). The new virtual COM port created by the .inf file should be located in the Ports (COM and LPT) drop-down list in the Device Manager window. Figure 2.6 shows the created COM port. The user’s COM port may differ.

Once the COM port driver has been successfully installed, the TX and RX LEDs will automatically turned off.

 RUNNING THE SAMPLE PROGRAM

The sample program (VB.NET source code included) for the DAB+ FM Development Board requires Microsoft’s .NET Framework 3.5 to work. The .NET Framework 3.5 can be found at:
http://www.microsoft.com/download/en/details.aspx?id=21
After installing the .NET Framework, navigate to the DAB software folder below:
C:\DABSoftware\TestKeyStoneRadio\bin\x86\Release
Execute TestKeyStoneRadio.exe 
Figure 2.6 shows the default start-up screen of the sample program.

Click the green Power On button and select a COM port number created by the Hardware Wizard in step 2.4. The DAB+ FM Development Board will start communicating with the sample software. If everything is working properly, the TX and RX LEDs will start to blink showing communication activities.
The DAB+ FM Development Board is designed and tested in Sydney, Australia. Therefore the stations around the Sydney location get stored in the default memory while the board was under manufacturing test. In order to tune to the user’s DAB/DAB+ stations, double click on the “DAB CHANNEL” word, the sample software will send a full rescan command to the board.
Figure 2.7 shows the basic navigation of the sample software and the function of each button.

  1. Station Name. Drag the station name or frequency to Preset Button to save a channel.
  2. RDS. Radio text.
  3. DAB CHANNEL. Double click to force a full DAB channel to rescan.
  4. Total channels of DAB stations stored on the board.
  5. Radio status.
  6. DAB data rate.
  7. Radio reception strength. Click on the tower icon to switch between stereo and mono.
  8. Audio volume scale.
  9. Radio ensemble name.
  10. Preset buttons.
  11. DAB stations list. Click station name to play.
  12. Mute.
  13. Genre.
  14. Power on and off buttons.
  15. Previous or Next channel.
  16. Radio modes select, DAB or FM.
  17. Volume control.
  18. COM port selection.

INITIAL AUTO SCANNING

When the board is shipped outside of Sydney, Australia, the stored DAB stations will no longer be effective. Users need to perform initial auto scanning in order to receive the local stations of the country. Double click the word “DAB CHANNELS” to perform an auto scan.

PRESET EQ

Users can also select preconfigured EQ like, Bass Boost, Jazz, Live, Vocal, and Acoustic.

ORIGINAL SOUND

If the pure original sound is what you need, then switching EQ off, and sitting headroom to 0 will get you the original sound.

SLIDESHOW

Slideshow adds visual content (slides) to radio broadcasts on DAB or DAB+. It enhanced the digital radio with visuals using images in JPEG or PNG format.

 COMPILING THE SAMPLE PROGRAM

The provided source code was written in VB.Net using Microsoft Visual Studio 2008. There are 40 functions in the keystonecomm.dll library. Users could study the provided sample VB.NET source code and translate the sample program into C# or C/C++ as needed. The following VB.NET declarations are required to start a new project:

Function CommVersion Lib “keystonecomm.dll” () As Int32
Function OpenRadioPort Lib “keystonecomm.dll” (ByVal port As String, ByVal usehardmute As Boolean) As Boolean
Function HardResetRadio Lib “keystonecomm.dll” () As Boolean
Function CloseRadioPort Lib “keystonecomm.dll” () As Boolean
Function PlayStream Lib “keystonecomm.dll” (ByVal mode As SByte, ByVal channel As Int32) As Boolean
Function StopStream Lib “keystonecomm.dll” () As Boolean
Function SetVolume Lib “keystonecomm.dll” (ByVal volume As SByte) As Boolean
Function IsSysReady Lib “keystonecomm.dll” () As Boolean
Function VolumePlus Lib “keystonecomm.dll” () As SByte
Function VolumeMinus Lib “keystonecomm.dll” () As SByte
Sub VolumeMute Lib “keystonecomm.dll” ()
Function GetVolume Lib “keystonecomm.dll” () As SByte
Function GetPlayMode Lib “keystonecomm.dll” () As SByte
Function GetPlayStatus Lib “keystonecomm.dll” () As SByte
Function GetTotalProgram Lib “keystonecomm.dll” () As Int32
Function NextStream Lib “keystonecomm.dll” () As Boolean
Function PrevStream Lib “keystonecomm.dll” () As Boolean
Function GetPlayIndex Lib “keystonecomm.dll” () As Int32
Function GetSignalStrength Lib “keystonecomm.dll” (ByRef biterror As Integer) As SByte
Function GetProgramType Lib “keystonecomm.dll” (ByVal mode As SByte, ByVal dabIndex As Int32) As SByte
Unicode Function GetProgramText Lib “keystonecomm.dll” (ByVal programText As String) As SByte
Unicode Function GetProgramName Lib “keystonecomm.dll” (ByVal mode As SByte, ByVal dabIndex As Int32, ByVal
namemode As SByte, ByVal programName As String) As Boolean
Unicode Function GetPreset Lib “keystonecomm.dll” (ByVal mode As SByte, ByVal presetindex As SByte) As Int32
Unicode Function SetPreset Lib “keystonecomm.dll” (ByVal mode As SByte, ByVal presetindex As SByte, ByVal channel As Int32) As Boolean
Function DABAutoSearch Lib “keystonecomm.dll” (ByVal startindex As Byte, ByVal endindex As Byte) As Boolean
Unicode Function GetEnsembleName Lib “keystonecomm.dll” (ByVal dabIndex As Int32, ByVal namemode As SByte,
ByVal programName As String) As Boolean
Function GetDataRate Lib “keystonecomm.dll” () As Int16
Function SetStereoMode Lib “keystonecomm.dll” (ByVal mode As SByte) As Boolean
Function GetFrequency Lib “keystonecomm.dll” () As SByte
Function GetStereoMode Lib “keystonecomm.dll” () As SByte
Function GetStereo Lib “keystonecomm.dll” () As SByte
Function ClearDatabase Lib “keystonecomm.dll” () As Boolean
Function SetHeadroom Lib “keystonecomm.dll” (ByVal headroom As SByte) As Boolean
Function GetHeadroom Lib “keystonecomm.dll” () As SByte
Function MotQuery Lib “keystonecomm.dll” () As Boolean
Unicode Sub GetImage Lib “keystonecomm.dll” (ByVal ImageFileName As String)
Function GetApplicationType Lib “keystonecomm.dll” (ByVal index As Int32) As SByte
Sub MotReset Lib “keystonecomm.dll” (ByVal mode As SByte)

The sample program was provided to enable users to quickly learn the basic functionalities of the board, it has a lot of room for improvements, for example, in order to speed up the responsiveness of the user interface, and users could move some of the functions to worker threads and assign priority to each function. Please refer to  http://www.monkeyboard.org/86-technical- documents/81-keystone-dab-fmmodule-programming-api for the latest API.

Chapter 3. Hardware Features and Descriptions

3.1 BOARD FEATURES
  • KeyStone T4B-6D60CDB DAB/DAB+/FM/SLS/EPG radio module
  • Microchip PIC18F14K50 USB Flash Microcontroller
  • 12 Mhz crystal
  • standard ICSP programming port for programming the PIC18F14K50
  • EXT port logic signal for controlling external audio chip power and mute
  • status LED, RX (orange), and TX (green)
  • power LED (red)
  • Bootloader push button
  • 1.2VDC, 3.3VDC LDO
  • 3.5mm stereo jack
  • SMA antenna connector
  • Dimensions : 100mm x 60mm
3.2 HARDWARE DESCRIPTIONS

Power Supply Circuit
The board is typically powered by 5VDC from USB. The PIC18F14K50 is drawing power directly from the USB. From the USB’s 5VDC, the power is further distributed into  1.2VDC and 3.3VDC LDO to the KeyStone module. The power of these LDO is always on.

Microchip PIC18F14K50
This microcontroller is used to provide a Virtual Serial Port to the KeyStone module. It is flashed with a customized CDC RS-232 Emulation Demo firmware. Other than performing the standard serial emulation, it also controls the reset and audio shunt of the KeyStone module.

Reset Circuit
Reset of the module is performed by pin emulated by DTR of the virtual serial port.

ICSP
The ICSP programming port is the standard Microchip’s In-Circuit Serial Programming port and is compatible with Microchip’s PICkit.

EXT
EXT port has two 5V logic signals, , and . They are used to control external audio circuitry’s power and mute.

Push Button (SW1)
This button, when pressed during a power-up, will trigger the PIC18F14K50’s USB HID bootloader in programming mode.

APPENDIX A – SCHEMATIC

APPENDIX B – MECHANICAL DRAWING

DEVELOPMENT BOARD/KIT IMPORTANT NOTICE

Sixth Logic (SL) provides the enclosed product(s) under the following conditions:
This evaluation board/kit is intended for use for ENGINEERING DEVELOPMENT, DEMONSTRATION, OR EVALUATION PURPOSES ONLY and is not considered by SL to be a finished end-product fit for general consumer use. Persons handling the product(s) must have electronics training and observe good engineering practice standards. As such, the goods being provided are not intended to be complete in terms of required design-, marketing-, and/or manufacturing- related protective considerations,  including product safety and environmental measures typically found in end products that incorporate such semiconductor components or circuit boards. This evaluation board/kit does not fall within the scope of the European Union directives regarding electromagnetic compatibility, restricted substances (RoHS), recycling (WEEE), FCC, CE, or UL, and therefore may not meet the technical requirements of these directives or other related directives.

Should this evaluation board/kit not meet the specifications indicated in the User’s Guide, the board/kit may be returned within 30 days from the date of delivery for a full refund.

SL MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR  OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY, OR FITNESS FOR PURPOSE. SL disclaims all liability arising from this information and its use. The user assumes all responsibility and liability for proper and safe handling of the goods. Further, the user indemnifies SL from all claims arising from the handling or use of the goods. Due to the open construction of the product, it is the user’s responsibility to take any and all appropriate precautions with regard to electrostatic discharge.

EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTH ABOVE, NEITHER PARTY SHALL BE LIABLE TO THE OTHER FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES.

SL currently deals with a variety of customers for products, and therefore our arrangement with the user is not exclusive.
SL assumes no liability for applications assistance, customer product design, software performance, or infringement of patents or services described herein.

Please read the User’s Guide and, specifically, the Warnings and Restrictions notice in the User’s Guide prior to handling the product. This notice contains important safety information about temperatures and voltages. For additional information on SL’s environmental and/or safety programs, please contact the SL application engineer or visit www.sixthlogic.com No license is granted under any patent right or other intellectual property right of SL covering or relating to any machine, process, or combination in which such SL products or services might be or are used.

FCC Warning

This evaluation board/kit is intended for use for ENGINEERING DEVELOPMENT, DEMONSTRATION, OR EVALUATION PURPOSES ONLY and is not considered by SL to be a finished end-product fit for general consumer use. It generates, uses, and can radiate radio frequency energy and has not been tested for compliance with the limits of computing devices pursuant to part 15 of FCC rules, which are designed to provide reasonable protection against radio frequency interference. Operation of this equipment in other environments may cause interference with radio communications, in which case the user at his/her own expense will be required to take whatever measures may be required to correct this interference.

Apr 2019 Sixth Logic DAB+ FM Development Board PRO2 User’s Guide
www.sixthlogic.com

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

Related Manuals