A.3.7 DA16200 (DA16600) Status –DA16200 (DA16600) to MCU............................. 36
Revision History ................................................................................................................................ 38
Figures
Figure 1: Overview of AWS-IoT with AT-Command.............................................................................. 5
Figure 2: Hardware Configuration ......................................................................................................... 6
Figure 3: Default UART HW Connection............................................................................................... 8
Figure 4: Sample Example of UART1 HW Connection......................................................................... 8
Figure 5: DA16200 (DA16600) Wake Up HW Connection.................................................................... 9
Figure 6: HW Connection of Default Wake Up Pin .............................................................................10
Figure 7: Example HW Connection for External Host Wake Up Pin................................................... 10
Figure 8: Tera Term............................................................................................................................. 12
Figure 9: Serial Port Setup.................................................................................................................. 12
Figure 10: Download DA16200 (DA16600) Image..............................................................................13
Figure 11: Reset Button....................................................................................................................... 14
Figure 12: e2studio Project File...........................................................................................................17
Figure 13: Thing Name in MCU Source Code..................................................................................... 17
Figure 14: Build Project....................................................................................................................... 18
Figure 15: Debug Configuration .......................................................................................................... 18
Figure 16: Block Diagram of Opening a Door .....................................................................................22
Figure 17: Open Door in the App ........................................................................................................ 22
Figure 18: Shadow State When Door Opened.................................................................................... 23
Figure 19: Block Diagram of Closing a Door....................................................................................... 25
Figure 20: Close Door in the App........................................................................................................25
Figure 21: Shadow State when Door is Closed .................................................................................. 26
Figure 22: Block Diagram of MCU OTA.............................................................................................. 27
Figure 23: Android Application ............................................................................................................ 28
Figure 24: Setting Mode ...................................................................................................................... 30
Figure 25: Provisioning Mode.............................................................................................................. 31
Figure 26: Communication Mode ........................................................................................................ 31
Figure 27: Communication between MCU and Phone........................................................................ 32
Tables
Table 1: Pin Connection........................................................................................................................ 6
Table 2: Serial Port Configuration Values ............................................................................................. 7
Table 3: UART1 Pin Configuration........................................................................................................ 8
Table 4: GPIO Pin Configuration......................................................................................................... 10
Table 5: Configuration of the Topics ................................................................................................... 32
Table 6: The Basic Set of MCU to DA16200 (DA16600) .................................................................... 32
Table 7: TLS from MCU to DA16200 (DA16600)................................................................................33
Table 8: PIN MUX from MCU to DA16200 (DA16600) .......................................................................34
Table 9: Configuration Data from MCU to DA16200 (DA16600) ........................................................35
Table 10: Command of MCU to DA16200 (DA16600)........................................................................35
Table 11: Command of DA16200 (DA16600) to MCU........................................................................36
Table 12: Status from DA16200 (DA16600) to MCU .......................................................................... 36