diff --git a/README.md b/README.md index 93e35f8..10da281 100644 --- a/README.md +++ b/README.md @@ -16,18 +16,25 @@ An IDE ( Integrated Development Environment) is used for programming the PCB des # Introduction to FT2232H The serial port of the computer usually meets RS-232 standard. It has signal voltage swing of around -13 to +13V. The PCB design uses TTL serial (Transistor-Transistor logic) which has signal voltage level between 0 and VDD ( 3.3V/1.8V). A common communication protocol is needed for data transfer, hence FT2232H is used for converting USB to serial converter. - + + For the data transfer from host to the target (board), we connect USB cable ( USB type A to the PC and Type B to the board). USB has 4 signals, 5V power supply signal, ground and 2 data signals(D+ and D-). ![1](https://user-images.githubusercontent.com/74853558/99901951-50832300-2ce0-11eb-83eb-0b9878771b1e.jpg) +The data is transferred from these two data lines using NRZI encoding. + ![2](https://user-images.githubusercontent.com/74853558/99904990-128ffa00-2cf4-11eb-8bde-f9693f8e3624.jpg) +According to USB communication protocol, data is sent through packets. It consists of 3 common packets. ![3](https://user-images.githubusercontent.com/74853558/99904992-13c12700-2cf4-11eb-96e3-813c6a7b75de.jpg) ![4](https://user-images.githubusercontent.com/74853558/99904993-1459bd80-2cf4-11eb-8905-544269d66b9f.jpg) +Data is sent through endpoint buffers within the device. + ![5](https://user-images.githubusercontent.com/74853558/99904994-14f25400-2cf4-11eb-9d85-3402415096fe.jpg) + ![6](https://user-images.githubusercontent.com/74853558/99905235-a57d6400-2cf5-11eb-9f23-9140bd84b50f.jpg) ![7](https://user-images.githubusercontent.com/74853558/99905237-a7472780-2cf5-11eb-8387-13a4a12ac96b.jpg)