công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

AN2682 bảng dữ liệu(PDF) 12 Page - STMicroelectronics

tên linh kiện AN2682
Giải thích chi tiết về linh kiện  This application note describes how to interface
PDF  15 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2682 bảng dữ liệu(HTML) 12 Page - STMicroelectronics

Back Button AN2682 Datasheet HTML 7Page - STMicroelectronics AN2682 Datasheet HTML 8Page - STMicroelectronics AN2682 Datasheet HTML 9Page - STMicroelectronics AN2682 Datasheet HTML 10Page - STMicroelectronics AN2682 Datasheet HTML 11Page - STMicroelectronics AN2682 Datasheet HTML 12Page - STMicroelectronics AN2682 Datasheet HTML 13Page - STMicroelectronics AN2682 Datasheet HTML 14Page - STMicroelectronics AN2682 Datasheet HTML 15Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 12 / 15 page
background image
STR750 implementation example
AN2682 - Application note
12/15
First, the STR750 peripherals are initialized:
●
The TIM0/PWM timer is configured in PWM mode with a period and duty cycle
corresponding to the user defined CLK frequency.
●
The SSP0 is configured in slave mode, rising edge clock (CPOL=1, CPHA=1), 16 bit
format, 8 words Transmit and Receive FIFO depth.
●
The DMA is configured to enable SSP Transmit (from memory to peripheral) on
channel 0 and SSP Receive (from peripheral to memory) on channel 1.
The STR75x microcontroller performs two main functions:
1.
Configuration function: the microcontroller gets the user-defined Conf_Reg register
value from the DEFINE statements, then sets Start pin low and transmit the three bits
clocked by Conf falling edge.
2.
Communication function: After setting the Start signal high, only the DMA is active
and it loads the Transmit FIFO from memory whenever it is half empty and loads the
memory from the Receive FIFO whenever it is half full. The CPU is totally free for any
other application tasks.
Figure 10.
STR75x firmware flowchart
In this flowchart, the DMA function is not shown because it works in the background and has
no effect on the CPU. The same flowchart can be used for STR91x.
The STR75x firmware can be easily tailored to any STR91x or STM32 microcontroller.
Begin
Initialize peripherals
(SSP, TIM0, DMA, GPIO...)
Generate CLK
Configuration mode
Set Conf_Reg
Communication mode
END
End Of Count
Stop PWM counter
Clear Flags
END
End Of Count



Html Pages

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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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