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

X  

AN2799 bảng dữ liệu(PDF) 7 Page - STMicroelectronics

tên linh kiện AN2799
Giải thích chi tiết về linh kiện  Measuring mains power consumption
PDF  14 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2799 bảng dữ liệu(HTML) 7 Page - STMicroelectronics

Back Button AN2799 Datasheet HTML 3Page - STMicroelectronics AN2799 Datasheet HTML 4Page - STMicroelectronics AN2799 Datasheet HTML 5Page - STMicroelectronics AN2799 Datasheet HTML 6Page - STMicroelectronics AN2799 Datasheet HTML 7Page - STMicroelectronics AN2799 Datasheet HTML 8Page - STMicroelectronics AN2799 Datasheet HTML 9Page - STMicroelectronics AN2799 Datasheet HTML 10Page - STMicroelectronics AN2799 Datasheet HTML 11Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 7 / 14 page
background image
AN2799
Functional description
7/14
3
Functional description
The STPM01 host interface is a single bidirectional data line SPI with a 32 MHz maximum
read speed and 100 kHz maximum write speed. Due to these requirements the STM32
microcontroller is used in the following way:
●
In the reading phase, the MISO and SCLK pins are configured in alternate functions
and used by the SPI2 peripheral. The maximum reading speed is 18 MHz by an APB
speed equal to 36 MHz, configuring the SPI baud rate with APB/2.
●
In the writing phase the MISO and SCLK pins are configured as GPIOs and the SPI
operation is emulated by firmware controlling the speed operations to not exceed the
100 kHz writing speed limit. The MCO pin is configured to provide the HSE clock.
4
Firmware description
The firmware for the management of the STPM01 energy meter has been developed using
an object oriented programming (OOP) approach even if standard ANSI C programming
language has been used.
4.1
Power meter object description
The power meter object is defined and implemented in the PowerMeterObj.c,
PowerMeterObj.h and PowerMeterTypes.h files. The power meter is represented by a
structure containing the properties and the method of the Power Meter Object as illustrated
in
Figure 3.
Figure 3.
Power meter object
AM00078v1



Html Pages

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


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