| Electronic Components Datasheet Search |
|
MCP8026 Datasheet(PDF) 37 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MCP8026 Datasheet(HTML) 37 Page - Microchip Technology |
|
37 / 64 page ![]() 2016 Microchip Technology Inc. DS20005339B-page 37 MCP8025/6 4.5.3 DE2 COMMUNICATIONS PORT A half-duplex 9600 baud UART interface is available to communicate with an external host. The port is used to configure the MCP8025/6 and also for status and fault messages. The DE2 communication port is described in detail in Section 4.5.3.1 “Communication Interface” . 4.5.3.1 Communication Interface A single-wire, half-duplex, 9600 baud, 8-bit bidirectional communication interface is implemented using the open-drain DE2 pin. The interface consists of eight data bits, one Stop bit and one Start bit. The implementation of the interface is described in the following sections. The DE2 interface is an open-drain interface. The open-drain output is capable of sinking a minimum of 1 mA of current while maintaining less than 50 mV at the output. A 5 k resistor should typically be used between the host transmit pin and the MCP8025/6 DE2 pin to allow the MCP8025/6 to drive the DE2 line when the host TX pin is at an idle high level. The DE2 communication is active when CE = 0 with the constraint that the MCP8025/6 devices will not initiate any messages. The host processor may initiate messages regardless of the state of the CE pin when the device is not in Sleep mode. The MCP8025/6 devices will respond to host commands when the CE pin is low. The time from receiving the last bit of a command message to sending the first bit of the response message ranges from DE2RSP to DE2WAIT corresponding to 0 µs to 3.125 ms. 4.5.3.2 Packet Format Every internal status change will provide a communication to the microcontroller. The interface uses a standard UART baud rate of 9600 bits per second. In the DE2 protocol, the transmitter and the receiver do not share a clock signal. A clock signal does not emanate from one transmitter to the other receiver. Due to this reason, the protocol is asynchronous. The protocol uses only one line to communicate, so the transmit/receive packet must be done in Half-Duplex mode. A new transmit message is allowed only when a complete packet has been transmitted. The host must listen to the DE2 line in order to check for contentions. In case of contention, the host must release the line and wait for at least three packet-length times before initiating a new transfer. Figure 4-4 illustrates a basic DE2 data packet. 4.5.3.3 Packet Timing While no data is being transmitted, a logic ‘1’ must be placed on the open-drain DE2 line by an external pull-up resistor. A data packet is composed of one Start bit, which is always a logic ‘0’, followed by eight data bits and a Stop bit. The Stop bit must always be a logic ‘1’. It takes 10 bits to transmit a byte of data. The device detects the Start bit by detecting the transition from logic ‘1’ to logic ‘0’ (note that, while the data line is idle, the logic level is high). Once the Start bit is detected, the next data bit’s “center” can be assured to be 24 ticks minus 2 (worst-case synchronizer uncertainty) later. From then on, every next data bit center is 16 clock ticks later. Figure 4-5 illustrates this point. 4.5.3.4 Message Handling The driver will not transition to Standby mode or Sleep mode while a message is being received. If a DE2 message is being received or transmitted while the driver is transitioning from Operational mode to either Sleep mode (tSLEEP) or Standby mode (tSTANDBY), the driver will wait until the ongoing message is completed before changing modes. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |