background image

  

 

 

 

1.2  

www.infineon.com

 

page 4 of 24 

10/08/2021 

 Infineon UltraHub  

 User manual 

2

 

Features

 

2.1

 

Summary of features

 

 

Micro USB-powered device 

 

Audio and ultrasonic data streaming over USB interface (USB audio 2.0) 

 

192 kHz sampling rate 

 

24-bit four-channel audio data   

 

Mode switch for DFU mode 

 

LED indicators for each of the four ultrasonic transceivers on the sensing shield 

 

Serial interface to read software ID  

 

Serial interface to send and receive configuration parameters 

 

EEPROM for storing transceiver, board ID and user configuration settings 

 

2.2

 

Block diagram

 

The UltraHub system is the evaluation platform for Infineon 

XENSIV™ 

MEMS-based ultrasonic transceivers. It 

consists of two parts: 

 

UltraHub motherboard with microcontroller and audio codec  

 

UltraHub sensing shield, i.e., shields with up to four ultrasonic transceivers (digital or analog) 

 

Figure 1 

Top-level schematic of the UltraHub evaluation kit 

EN_CLK24

SPIS_x

I2C_ADC

I2C_EXT

Microcontroller

I2S

GPIO

SCLK

LRCLK

SDAI

FT900Q

SPI

I2C1
I2C0

DAC_PREF

GPIO

N_RESET

Level

SPIM_x

SPI

LRCLK_MC

SDAO

I2C Adress: 0x2F (7bit addr)

OR

P_MIC1 / DATA1

N_MIC1 / CLK1

P_MIC2 / DATA2

N_MIC2 / DATA2

P_MIC4

N_MIC4

ADC

TLV320ADC

SHDNZ

I2S

I2C

P_MIC3

N_MIC3

I2C Adress: 0x4F (7bit addr)

I2C Adress: 0x4C (7bit addr)

ADC

TLV320ADC

SHDNZ

I2S

I2C

D FF

LR_DIV2

Q

~Q

CLK

CLR

RC

AND

GPIO

TDM_CLK

POT

I2C

SDAO_MC

Reset
Button

MODE
Button

BUTTON

GPIO

12 MHz Osc

24.576 Mhz

Audio Clock

EN

VDD

VMIC_CTRL

DAC_OUT

DAC0

DAC1

VMIC

Precision DAC /

Precision DAC /
Reference Buffer

LT3040

ADC_SHDN

GPIO

ACTIVATE1

ACTIVATE2

ACTIVATE3
ACTIVATE4

GPIO

GPIO

GPIO
GPIO

CLR_DFF

SDAO_MC

SDAI_MC

SCLK_MC

Filter

USB_DN
USB_DP

LDO

LDO

LP5912-3.3V

LP5912-3.3V

VDD3V3

AVDD_3V3

VUSB

DN

DP

USB

D_DP

D_DM

Shifter

Level

Shifter

ACT_MIC1

SEND_MIC1

COM

NC
NO

COM

NC
NO

ACTIVATE1

GND

GND

SDAO

SDAO_F

ACT_MIC2

SEND_MIC2

COM

NC
NO

COM

NC
NO

ACTIVATE2

GND

GND

SDAO

SDAO_F

ACT_MIC3

SEND_MIC3

COM

NC
NO

COM

NC
NO

ACTIVATE3

GND

GND

SDAO

SDAO_F

ACT_MIC4

SEND_MIC4

COM

NC
NO

COM

NC

NO

ACTIVATE4

GND

GND

SDAO

SDAO_F

RC
Filter

U

lt

ra

s

o

u

n

d

 A

n

a

lo

g

 M

ic

ro

p

h

o

n

e

s

DATA1

CLK1

ACT_MIC1

SEND_MIC1

ACT_MIC2

SEND_MIC2

ACT_MIC3

SEND_MIC3

ACT_MIC4

SEND_MIC4

VMIC

VMIC

VMIC

VMIC

DATA1

CLK1

DATA2

CLK2

DATA2

CLK2

P_MIC1

N_MIC1

ACT_MIC1

SEND_MIC1

P_MIC2

N_MIC2

ACT_MIC2

SEND_MIC2

P_MIC3

N_MIC3

ACT_MIC3

SEND_MIC3

P_MIC4

N_MIC4

ACT_MIC4

SEND_MIC4

VMIC

VMIC

VMIC

VMIC

U

lt

ra

s

o

u

n

d

 D

ig

it

a

l M

ic

ro

p

h

o

n

e

s

EEPROM

24AA64T

I2C Adress: 0x50 (7bit addr)

MCP4017

Содержание UltraHub

Страница 1: ...the UltraHub evaluation kit This user manual familiarizes you with the UltraHub evaluation board and guides you through the initial hardware and software setup and measurements Detailed information about access to serial interface and protocol definitions are included Intended audience Design verification test and software engineers can use this document to gain an understanding of the functionali...

Страница 2: ...2 3 Host computer setup 8 2 4 Audacity software setup 9 3 Ultrasonic transmission configuration 11 3 1 Enabling ultrasonic transmission 11 3 2 Transmitting burst design 11 3 3 Actuation modes 12 4 Serial interface 14 4 1 Serial configuration 14 4 1 1 Device manager 14 4 1 2 Serial command protocol 14 4 2 API description 15 4 2 1 Sending commands using HTerm 16 4 2 1 1 Setting actuation start frequ...

Страница 3: ...luation kit The evaluation board provides an USB audio interface to stream audio data from ultrasonic transceivers with audio recording and editing software 1 1 Prerequisites 1 1 1 Hardware Infineon UltraHub motherboard Infineon XENSIV MEMS ultrasonic sensing shield Micro USB cable 1 1 2 Software Audio editing software that supports 192 kHz and 24 bit recording FT9xx programming utility for firmwa...

Страница 4: ...P_MIC2 DATA2 N_MIC2 DATA2 P_MIC4 N_MIC4 ADC TLV320ADC SHDNZ I2S I2C P_MIC3 N_MIC3 I2C Adress 0x4F 7bit addr I2C Adress 0x4C 7bit addr ADC TLV320ADC SHDNZ I2S I2C D FF LR_DIV2 Q Q CLK CLR RC AND GPIO TDM_CLK POT I2C SDAO_MC Reset Button MODE Button BUTTON GPIO 12 MHz Osc 24 576 Mhz Audio Clock EN VDD VMIC_CTRL DAC_OUT DAC0 DAC1 VMIC Precision DAC Precision DAC Reference Buffer LT3040 ADC_SHDN GPIO ...

Страница 5: ...ects to the MCU baseboard The mechanical connectors have markers X1 and X2 which should coincide with the same marking on the shield see Figure 4 The UltraHub sensing shield is equipped with four LEDs which turn on based on the actuation of the corresponding transceiver 2 1 USB communication The evaluation board is powered through the Micro USB port Connect the board to the host computer to stream...

Страница 6: ...on board connectors The UltraHub evaluation board offers a wide variety of connectors listed in Table 1 Table 1 Connector list Reference designator Description X1 Board to board connector for sensing shield X2 Board to board connector for sensing shield X11 Programming connector USB1 Micro USB connector for power and audio streaming X3 Side pins connector X4 Side pins connector ...

Страница 7: ...nfineon com page 7 of 24 10 08 2021 Infineon UltraHub User manual Figure 5 Schematic a and pad layout b of the connectors for the sensing shield Figure 6 Schematic a and pad layout b of the motherboard side pins ...

Страница 8: ...s Go to the Advanced tab and click on the Settings button under Performance In the pop up window of Performance Options go to the Advanced tab select Background services and apply changes Figure 7 Host computer system settings To enable the UltraHub to be opened in exclusive mode Open Windows Sounds Settings Choose UltraHub as input and click on Device Properties Click on Additional Device Propert...

Страница 9: ...Hub 2 4 Audacity software setup Audacity is a free and open source audio editor and recording application Select the audio source as Microphone Array UltraHubX in the recording software as shown in Figure 9 Select Windows WASAPI as the audio driver and 4 channels The project rate should be edited to 192000 Hz ...

Страница 10: ...1 2 www infineon com page 10 of 24 10 08 2021 Infineon UltraHub User manual Figure 9 Recording from UltraHub in Audacity ...

Страница 11: ...trates the actuation patterns for the default configuration A as well as custom configuration B with all four transceivers active in sending mode Figure 10 Examples of actuation signals for default A and custom configuration with all channels active B 3 2 Transmitting burst design The ultrasonic transmitting patterns can be configured using a selection of parameters Start frequency i e frequency a...

Страница 12: ...ill be The higher the number of cycles the longer the actuation burst will be 3 3 Actuation modes The ultrasonic transceivers can be actuated according to two modes parallel or cyclic In parallel mode the active transceivers i e the transceiver selected as active by the user by default only transceiver number 1 is selected as active are all actuated synchronously In cyclic mode the active transcei...

Страница 13: ...e 14 Comparison of parallel A and cyclic B actuation modes four transceivers active Note The cyclic actuation is performed only on the transceivers selected as active If only one transceiver is selected as active no difference will be perceived between the two modes If all four transceivers are selected as active the actuation will cyclically involve all four channels ...

Страница 14: ...d 19200 Parity None Stop bits 1 Byte size 8 Timeout 1 4 1 1 Device manager The COM port of the connected UltraHub board can be seen in the Device Manager Its description contains USB Serial Device as shown in Figure 15 Figure 15 USB CDC interface description 4 1 2 Serial command protocol The following protocol was implemented in the firmware to receive commands from the application The user can se...

Страница 15: ...0 0b1111 Activate deactivate ultrasonic transmission for each transceiver by bitwise selection of LSBParameter 3 0 D0 Transceiver 1 D1 Transceiver 2 D2 Transceiver 3 D3 Transceiver 4 Parameter set value Length 4 bytes 0x43 0x00 0x00 0x00 Read all configuration parameters read only Read nine words of size equal to 4 bytes 0 start frequency 1 end frequency 2 actuation pulses 3 pulse repetition time ...

Страница 16: ... 1 Sending commands using HTerm Any terminal program for serial communication can be used to access the serial port In the following examples HTerm www der hammer info is used as terminal program 4 2 1 1 Setting actuation start frequency via HTerm To configure the first actuation frequency as 34000 Hz use the command in Table 3 Figure 16 shows how to set up the environment and send the desired com...

Страница 17: ...uency via HTerm The received bytes LSB first from the UltraHub board is the value set in the device If the user inserts a parameter that is out of range the value is set to the corresponding upper or lower limit value for the parameter as in the following example Figure 17 Sending out of limit value to device ...

Страница 18: ... the environment and send the desired command via HTerm Type the values in hexadecimal to send the command and click enter Wait for the received data to appear Note The LSB is transmitted first in parameter see Table 5 Table 5 Set bit corresponding to the transceiver Transceiver 4 Transceiver 3 Transceiver 2 Transceiver 1 B3 B2 B1 B0 Table 6 Binary value of zero actuating channels Command Hex Spec...

Страница 19: ...1 2 www infineon com page 19 of 24 10 08 2021 Infineon UltraHub User manual Figure 18 Setting transceiver 1 as active transceiver Figure 19 Setting transceiver 1 and transceiver 2 as active transceivers ...

Страница 20: ...ED next to the USB connector indicates DFU mode Check in the Device Manager that DFU mode is enabled Figure 20 The microcontroller is in DFU mode from the Device Manager Download FT9xx Programming Utility FT9xx_Toolchain_Setup_2 5 0 Select the option Program via USB DFU interface Figure 21 Select the option Program via USB DFU interface Scan and select the device of interest Figure 22 Scan and sel...

Страница 21: ...1 2 www infineon com page 21 of 24 10 08 2021 Infineon UltraHub User manual Figure 23 Browse to select the right binary file and Flash ...

Страница 22: ...1 is actuated vs a transducer mounted on a thin flex board Figure 24 Layout of type 2 sensing shield Figure 25 Impact of sound channel dimension on resonance behavior of a device on sensing shield compared to a transducer mounted on a slim flex board As can be seen from Figure 25 the prolonged sound channel due to the thickness of the sensing shield is downshifting both resonances If the sound cha...

Страница 23: ...n both resonances is almost omnidirectional as can be seen from the TX directivity plots in Figure 26 Thus the shield offers a very broad field of view and any objects placed on a table next to the shield may therefore lead to static echoes The static echoes can however be subtracted by a calibration routine provided within the GUI Figure 26 Directivity plots of the SPL at 24 kHz left and 85 kHz r...

Страница 24: ...cted Revision history Document version Date of release Description of changes 1 0 July 2021 Public release 1 1 August 2021 Top level schematic and directivity measurements updated 1 2 October 2021 Ultrasonic transmission configuration added ...

Отзывы: