Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
resources:eval:user-guides:circuits-from-the-lab:cn0507 [14 Jan 2021 05:12] – user interwiki links Robin Getzresources:eval:user-guides:circuits-from-the-lab:cn0507 [30 Jul 2021 07:36] (current) – [Registration] Zuedmar Arceo
Line 79: Line 79:
  
  
 +===== Creating A new PC Applications =====
 +This would discuss on how the customers can make their own PC application that could communicate with the existing firmware using UART communication. This also includes the UART settings and communication protocols
 +
 +==== UART Configuration ====
 +  * Baud rate: 115200
 +  * 8 bit 
 +  * No parity bits
 +  * 1 stop bit
 +  * No flow control
 +
 +==== UART Communication Protocol ====
 +The microcontroller waits for commands. The command list are listed on the table below. Once the microcontroller receives a command, it will perform what the command is supposed to do. After that, it will send back an output.
 +
 +=== UART Input Packet ===
 +The microcontroller expects an input packet as follows: The **header** contains the total size of the packet and the command hex code. If the command requires an input, the next bits after the header shall contain the input parameters. For example, a cmd_normal command with 1.7 GHz start frequency, 3.4 GHz stop frequency, 68 MHz step size, and port set to Port 1. More details can be found on the image below
 +
 +{{:resources:eval:user-guides:cn0507-network-analyzer:uart_input_packet.png?}}
 +
 +
 +
 +=== UART Output Packet ===
 +The general output packet of the microcontroller has the 2 bytes header, 2 byte command, command output (size depends on the command) and the 2 bytes delimeter (0xAAAA). For more details please see the image below.
 +
 +{{:resources:eval:user-guides:cn0507-network-analyzer:uart_output_packet.png?}}
 +
 +
 +=== Command List ===
 +The table below will show all the available commands with their respective hex code, input values and the return values.
 +{{:resources:eval:user-guides:cn0507-network-analyzer:uart_command_list.png?}}
 +
 +=====Registration===== 
 +<WRAP round tip 80% >
 +Receive software update notifications, documentation updates, view the latest videos, and more when you register your hardware.  [[reg>EVAL-CN0507-ARDZ?&v=RevB|Register]] to receive all these great benefits and more!
 +</WRAP>
 +
 +//End of Document//
  
resources/eval/user-guides/circuits-from-the-lab/cn0507.txt · Last modified: 30 Jul 2021 07:36 by Zuedmar Arceo