A.3.7 DA16200/DA16600 Status –DA16200/DA16600 to MCU ................................37
Revision History.......................................................................................................................38
Figures
Figure 1: Overview of AT-CMD with Azure-IoT...............................................................................5
Figure 2: Hardware Configuration..................................................................................................7
Figure 3: Default UART HW Connection........................................................................................9
Figure 4: User Example of Custom UART1 HW Connection............................................................9
Figure 5: DA16200/DA16600 Wake Up HW Connection ...............................................................10
Figure 6: Default Wake Up Pin HW Connection............................................................................11
Figure 7: User Example for External Host Wake Up Pin HW Connection........................................11
Figure 8: Tera Term ...................................................................................................................13
Figure 9: Serial Port Setup..........................................................................................................13
Figure 10: DA16200/DA16600 Image Download ..........................................................................14
Figure 11: Reset Button..............................................................................................................15
Figure 12: e2studio Project File...................................................................................................18
Figure 13: FSP configuration.......................................................................................................19
Figure 14: DeviceID (THINGNAME), Primary Key, Hostname and Primary connection string in MCU
Source Code..............................................................................................................................19
Figure 15: Build Project ..............................................................................................................20
Figure 16: Debug Configurations Menu........................................................................................20
Figure 17: Set Debug Configurations...........................................................................................21
Figure 18: Block Diagram for Opening a Door..............................................................................24
Figure 19: Open Door in the App.................................................................................................25
Figure 20: Device Twin When Door is Opened .............................................................................25
Figure 21: Block Diagram for Closing a Door................................................................................27
Figure 22: Close Door in the App.................................................................................................27
Figure 23: Device Twin When Door is Closed...............................................................................28
Figure 24: Block Diagram for MCU OTA ......................................................................................29
Figure 25: Android Application Screenshots.................................................................................30
Figure 26: Setting Mode..............................................................................................................31
Figure 27: Provisioning Mode......................................................................................................32
Figure 28: Communication Mode.................................................................................................32
Figure 29: Communication from MCU to Phone............................................................................33
Tables
Table 1: Pin Connection................................................................................................................8
Table 2: UART1 Pin Configuration.................................................................................................9
Table 3: GPIO Pin Configuration.................................................................................................11
Table 4: Configuration of Topics..................................................................................................33
Table 5: Basic Set of MCU to DA16200/DA16600 ........................................................................33
Table 6: TLS Certificate from MCU to DA16200/DA16600.............................................................34
Table 7: PIN MUX from MCU to DA16200/DA16600.....................................................................35
Table 8: Configuration Data from MCU to DA16200/DA16600.......................................................36
Table 9: Command from MCU to DA16200/DA16600 ...................................................................36
Table 10: Command from DA16200/DA16600 to MCU .................................................................37
Table 11: Status from DA16200/DA16600 to MCU .......................................................................37