Használati útmutató Microchip ATSAMR30E18A

Olvassa el alább 📖 a magyar nyelvű használati útmutatót Microchip ATSAMR30E18A (53 oldal) a nincs kategorizálva kategóriában. Ezt az útmutatót 4 ember találta hasznosnak és 2 felhasználó értékelte átlagosan 4.5 csillagra

Oldal 1/53
MiWi
MiWi Software Design Guide
Introduction
The MiWi is Microchip’s proprietary wireless networking stack designed to support Low Rate Personal Area Networks
(LRPANs). This guide describes the MiWi applications implemented on the MiWi protocol available in the SAM
platforms (SAMR21 and SAMR30).
The MiWi supports the following three network topologies:
Peer-to-Peer (P2P)
• Star
• Mesh
Features
Earlier versions of the MiWi Mesh networking stack (until version 2.10), released in the MiWi protocol v5.30 of
Microchip Libraries for Applications (MLA) v2017-03-06, supports a library-based Mesh networking stack. However,
this is redesigned with the following changes:
1. Optimization of current APIs to improve simplicity.
2. Redesign of the MiWi Mesh with additional features for next generation platforms.
3. A new commissioning procedure to improve the secured inclusion of devices to the network.
4. Dynamic switching between device types in the MiWi Mesh.
5. Network secure feature for all network messages.
6. Over-The-Air Upgrade to upgrade all the nodes in the network.
© 2019 Microchip Technology Inc. User Guide DS50002851B-page 1
Table of Contents
Introduction.....................................................................................................................................................1
Features......................................................................................................................................................... 1
1. MiWi Architecture.................................................................................................................................... 4
2. Supported Topologies............................................................................................................................. 5
2.1. Peer-To-Peer (P2P) Topology...................................................................................................... 5
2.2. Star Topology............................................................................................................................... 6
2.3. Mesh Topology............................................................................................................................. 6
3. MiWi P2P................................................................................................................................................ 8
3.1. Network Addressing..................................................................................................................... 8
3.2. Message Format.......................................................................................................................... 8
3.3. Transmitting and Receiving..........................................................................................................9
3.4. Handshaking.............................................................................................................................. 10
3.5. Custom MAC Commands for MiWi P2P Wireless Protocol........................................................11
3.6. Idle Devices Turning Off Radios.................................................................................................13
3.7. Active Scan................................................................................................................................ 14
3.8. Energy Scan...............................................................................................................................14
3.9. Frequency Agility........................................................................................................................15
4. MiWi Star...............................................................................................................................................16
4.1. Unique Features of the MiWi Star Wireless Protocol................................................................. 16
4.2. Custom MAC Commands for MiWi Star Wireless Protocol........................................................16
4.3. Handshaking In MiWi Star Wireless Protocol.............................................................................17
5. MiWi Mesh............................................................................................................................................ 19
5.1. MiWi Mesh Device Types...........................................................................................................19
5.2. MiWi Mesh Frame Format..........................................................................................................19
5.3. MAC Header – Frame Control Field...........................................................................................19
5.4. Network Header......................................................................................................................... 21
5.5. MiWi Mesh – Device Addressing Mechanism............................................................................ 23
5.6. MiWi Mesh – Networking............................................................................................................23
5.7. Macros for MiWi Mesh................................................................................................................24
5.8. Recommendation for Macros..................................................................................................... 31
5.9. Extending Battery Life for Sleeping End-device.........................................................................32
6. Network Freezer....................................................................................................................................33
6.1. Interface..................................................................................................................................... 33
6.2. Additional Notes......................................................................................................................... 33
6.3. Default Memory Layout.............................................................................................................. 33
7. Sleep Mode........................................................................................................................................... 34
7.1. Interface..................................................................................................................................... 34
8. Over-The-Air Upgrade...........................................................................................................................35
8.1. OTAU Server.............................................................................................................................. 35
MiWi
© 2019 Microchip Technology Inc. User Guide DS50002851B-page 2
8.2. OTAU Client............................................................................................................................... 35
8.3. Domains of OTAU...................................................................................................................... 35
8.4. Compiler Switches for OTAU......................................................................................................35
9. MiApp APIs........................................................................................................................................... 37
10. MiApp API Description.......................................................................................................................... 39
10.1. MiApp_ProtocolInit..................................................................................................................... 39
10.2. MiApp_Set..................................................................................................................................39
10.3. MiApp_StartConnection............................................................................................................. 40
10.4. MiApp_SearchConnection..........................................................................................................40
10.5. MiApp_EstablishConnection...................................................................................................... 41
10.6. MiApp_RemoveConnection........................................................................................................41
10.7. MiApp_ConnectionMode............................................................................................................ 42
10.8. MiApp_SendData....................................................................................................................... 42
10.9. MiApp_SubscribeDataIndicationCallback.................................................................................. 43
10.10. MiApp_NoiseDetection...............................................................................................................43
10.11. MiApp_TransceiverPowerState.................................................................................................. 44
10.12. MiApp_Get................................................................................................................................. 45
10.13. MiApp_RoleUpgradeNotification_Subscribe.............................................................................. 45
10.14. MiApp_Commissioning_AddNewDevice....................................................................................45
10.15. MiApp_SubscribeReConnectionCallback.................................................................................. 46
10.16. MiApp_ResetToFactoryNew.......................................................................................................46
10.17. MiApp_ReadyToSleep................................................................................................................46
10.18. MiApp_ManuSpecSendData......................................................................................................46
10.19. MiApp_SubscribeManuSpecDataIndicationCallback................................................................. 47
10.20. MiApp_IsConnected...................................................................................................................47
10.21. MiApp_MeshGetNextHopAddr...................................................................................................48
11. Limitations............................................................................................................................................. 49
12. Document Revision History...................................................................................................................50
The Microchip Website.................................................................................................................................51
Product Change Notification Service............................................................................................................51
Customer Support........................................................................................................................................ 51
Microchip Devices Code Protection Feature................................................................................................51
Legal Notice................................................................................................................................................. 51
Trademarks.................................................................................................................................................. 52
Quality Management System....................................................................................................................... 52
Worldwide Sales and Service.......................................................................................................................53
MiWi
© 2019 Microchip Technology Inc. User Guide DS50002851B-page 3

Termékspecifikációk

Márka: Microchip
Kategória: nincs kategorizálva
Modell: ATSAMR30E18A

Szüksége van segítségre?

Ha segítségre van szüksége Microchip ATSAMR30E18A, tegyen fel kérdést alább, és más felhasználók válaszolnak Önnek




Útmutatók nincs kategorizálva Microchip

Útmutatók nincs kategorizálva

Legújabb útmutatók nincs kategorizálva