Electronic Components Datasheet Search
  Indian  ▼
ALLDATASHEET.IN

X  

AN2394 Datasheet(PDF) 7 Page - STMicroelectronics

Part # AN2394
Description  The purpose of this application note
PDF  13 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2394 Datasheet(HTML) 7 Page - STMicroelectronics

Back Button AN2394 Datasheet HTML 3Page - STMicroelectronics AN2394 Datasheet HTML 4Page - STMicroelectronics AN2394 Datasheet HTML 5Page - STMicroelectronics AN2394 Datasheet HTML 6Page - STMicroelectronics AN2394 Datasheet HTML 7Page - STMicroelectronics AN2394 Datasheet HTML 8Page - STMicroelectronics AN2394 Datasheet HTML 9Page - STMicroelectronics AN2394 Datasheet HTML 10Page - STMicroelectronics AN2394 Datasheet HTML 11Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 13 page
background image
AN2394
Implementation example with STR711F
7/13
3
Implementation example with STR711F
This section describes a hardware and firmware solution of .WAV file playback implemented
for the STR711F microcontroller and that can be easily tailored to any other STR7/STR9
microcontroller.
The following STR711F peripherals are used:
●
TIM0 in Output Compare timing mode to act as SysTimer. The TIM0 global interrupt
can be linked to IRQ (Interrupt Request) channel0 or to FIQ (Fast Interrupt Request)
channel0. For fast, low latency interrupt handling, FIQ channel0 is used to handle TIM0
interrupts.
●
TIM3 in PWM mode.
●
BSPI0 to communicate with the SPI Flash.
3.1
Hardware description
The electrical schematic of the circuit, which the proposed application refers to is shown in
Figure 3.
An M25P64 SPI-based Flash memory is used to store and send back the .WAV file data to
the ICU. The M25P64 is a 64-Mbit (8M x 8) Serial Flash memory from STMicroelectronics,
accessed by a high speed SPI-compatible bus.
The connection scheme between the microcontroller and the SPI Flash is as the following:
pin S0.SCLK(P0.2) is connected to the Serial Clock pin (C) for data synchronization, pin
S0.MOSI(P0.1) and pin S0.MISO(P0.0) are connected, respectively, to Serial Data Input pin
(D) and Serial Data Output pin (Q) for data transmission. To select and deselect the Flash,
its Chip Select pin (S) is dynamically driven by P1.1 pin.
The T3.OCMPA pin (P1.2) is used to output the PWM signal. This signal is passed through
a simple low-pass RC (R33 and C15) filter. The cut-off frequency of this filter is set at 4 kHz.
This ensures that almost the entire audio spectrum is passed through, but the PWM carrier
is cut off.
Since the cut-off frequency of the low-pass filter is set at 4kHz, the R and C component
values are calculated as: R = 1.2 k
Ω, C = 33 nF.
The filter output is fed to the input of a common TS4871 audio amplifier through a
potentiometer to allow continuous control of the audio volume.
The TS4871 is a monolithic integrated audio power amplifier chip from STMicroelectronics
capable of delivering 0.5W of output power into an 8ohm load at 3V3. The amplifier output is
used to drive an 8ohm speaker.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13


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