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