daysiop.blogg.se

Cp2102 eeprom program
Cp2102 eeprom program






cp2102 eeprom program

These serial EEPROMs can load 65,536 bytes of data (512K bits, 64Kx8) but the data must be sent in blocks (or pages) of 256 bytes.Īfter a block loaded into the EEPROM, the EE needs about 5 milliseconds to bind or burn the data into the EEs memory cells. Whatever the AVR sends to the CP2102 will be retransmitted through this USB channel and be treated by the PC as data sent to the COM port. The CP2102 will establish a USB connection to the PC when the cable is connected. RTSCTS hardware flow control is NOT teh way the origial spec went.). The most widely used remnants are using DTR to mean Im here, CTS to mean you can send data, and RTS to mean I can receive data. Youll notice that most of it is not applicable to having your microprocessor talk to your pc.

cp2102 eeprom program cp2102 eeprom program cp2102 eeprom program

CD - hey Someone is talking to us RTS (true) - I want to send some data to them. So you have this thousand-dollar box (modem, or Data Communications Equipment - DCE) connected to the phone line on one side, and your mainframe (Data Terminal Equipment - DTE) on the other side. Since thats a complex chip with internal logic, andor it might be desirable to reduce power consumption by having it NOT be active, you can put it into RESET state with the external signal.īut it dates to a time when dial-up modems could only transmit in one direction at a time, and were very dumb devices. You may have those pin-names backwards Something like Serial Out is usually named relative to the device it is on, so you connect TXO of the cp2102 to RXD of the 1284, and receive data from TXO (and transmit data to RXI.).Ī particular device (say, a wireless transmitter) may have additional requirements.) You send a byte of data TX-RX, and that byte shows up at the remote end. The modem control signals are patr of rs232 and are mostly obsoletehistorical in modern uses of a UART. It can be used to reset other devices - when you plug it into the usb port it will hold rst low for a period.Ĭonversely, external devices can pull this pin low to reset the cp2102.Īll the others are considered modem control signals or are particular to the CP2102 functionality. Obviously, both ends have to match both the baud rate and the number of data bits etc. My problem is not the programming parts, its understanding the UART protocol (especially in regards to the pins apart from TX and RX). Cp2102 Eeprom Program Serial EEPROMs Can.








Cp2102 eeprom program