| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
UM0934 bảng dữ liệu(PDF) 103 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0934 bảng dữ liệu(HTML) 103 Page - STMicroelectronics |
|
103 / 113 page ![]() UM0934 MAC mode communication example Doc ID 17389 Rev 2 103/113 10 MAC mode communication example This section provides an example which describes how to properly configure two ST7570 modems in MAC mode as Client and Server, respectively, and perform a communication with a suitable address and credits through the following steps, to be followed after the initialization and basic configuration steps described in Section 8: 1. Address configuration (optional) 2. Server time-outs configuration (optional) 3. Transmitting a MAC frame from Client to Server 4. Transmitting a MAC frame from Server to Client. It is assumed that both station1 and station2 have identical MIB object 00A1h (PLC configuration) with the exception of operating mode parameter: ● Access layer mode: MAC mode ● Operating mode: Client for station1, Server for station2 ● Baud rate: 2400 bps ● Mains frequency: 50 Hz ● f0=74 kHz, f1=63.3 kHz ● Target output gain = -15 dB ● Tx current control: enabled. 10.1 Step 1: address configuration Addresses can be configured by accessing MIB object 0001h (local MAC address and the initiator MAC address) through command CMD_WriteDBRequest(). The time diagram of the commands exchanged between the ST7570 and its external host is the same as Figure 28, as a CMD_WriteDBRequest() is still involved. 10.1.1 Station1 (Client) For a Client station (also called initiator), the local MAC address is usually within the FIMA range (C00h as default value) and LIMA (DFFh as default value), while the initiator MAC address has no meaning. In this example: ● local MAC address = C00h ● initiator MAC address = 000h (NO-BODY). For station1 the CMD_WriteDBRequest is composed as: STX Length Command Co de DATA CHK h 0 0 . 7 5 h 1 4 h 9 0 h 2 0 MIB Index Init MAC Add h 0 0 . 0 0 0h 0 . 1 0 Local MAC Add 00.0Ch |
|
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 |
| 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 |