Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

UM0290 Datasheet(PDF) 65 Page - STMicroelectronics

Part # UM0290
Description  This document presents a description
PDF  76 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0290 Datasheet(HTML) 65 Page - STMicroelectronics

Back Button UM0290 Datasheet HTML 61Page - STMicroelectronics UM0290 Datasheet HTML 62Page - STMicroelectronics UM0290 Datasheet HTML 63Page - STMicroelectronics UM0290 Datasheet HTML 64Page - STMicroelectronics UM0290 Datasheet HTML 65Page - STMicroelectronics UM0290 Datasheet HTML 66Page - STMicroelectronics UM0290 Datasheet HTML 67Page - STMicroelectronics UM0290 Datasheet HTML 68Page - STMicroelectronics UM0290 Datasheet HTML 69Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 65 / 76 page
background image
UM0290
USB voice demos
65/76
In each timer interrupt, the ADC conversion value is stored in a buffer with a size of 22 bytes.
This buffer is copied to the PMA (endpoint 1) and sent to the host after receiving the IN
token.
a)
Hardware configuration interface:
The hardware configuration interface is used in the USB microphone demo for:
–
System and USB IP clock configuration.
–
Timer1 configuration.
–
ADC configuration & command.
b)
Endpoint configurations:
In the STR USB microphone demo two endpoints are used to communicate with
the PC host: endpoint 0 (control endpoint) and endpoint 1 (isochronous double
buffer endpoint). The following C code describes how to configure an isochronous
IN endpoint (see the file usb_prop.c function Micro_Reset()).
SetEPType(ENDP1, EP_ISOCHRONOUS);
SetEPDblBuffAddr(ENDP1,ENDP1_BUF0Addr,ENDP1_BUF1Addr);
SetEPDblBuffCount(ENDP1, EP_DBUF_IN,22);
ClearDTOG_RX(ENDP1);
ToggleDTOG_RX(ENDP1);
ClearDTOG_TX(ENDP1);
SetEPTxStatus(ENDP1, EP_TX_VALID);
SetEPRxStatus(ENDP1, EP_RX_DIS);
c)
Isochronous data transfer management:
As with the speaker demo, the data transfer in the microphone example is based
on the double buffer mode. There are two PMA buffers used for the endpoint 1 and
the copy of the needed data is switched between these two buffers according to
the IP and SW buffer usage.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com