background image

 

 

 

 

 

 

 

 

 

 

 

I2C RS232 Adapter 

(SLAVE) 

 

Manual 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Luxemburger Str. 31 

D – 13353 Berlin 

Phone: +49 – (0)30 – 61 74 12 48 

Fax: +49 – (0)30 – 61 74 12 47 

www.coptonix.com

 

[email protected]

Summary of Contents for I2C-RS232-Adapter

Page 1: ...I2C RS232 Adapter SLAVE Manual Luxemburger Str 31 D 13353 Berlin Phone 49 0 30 61 74 12 48 Fax 49 0 30 61 74 12 47 www coptonix com support coptonix com...

Page 2: ...erface while sending data to the adapter Two types of this adapter are available I2C RS232 Adapter RS Part No 020101 This type is controlled only via the serial interface RS232 The communication is do...

Page 3: ...l 2014 3 2 Applications 2 1 One I2C Master multiple RS232 devices I2C RS232 Adapter SLAVE Slave 2 I C Bus 5V GND Slave 3 Slave 1 PC Software Slave I2C RS232 Adapter SLAVE Micro Controller RS232 RS232...

Page 4: ...Rev1 4 April 2014 4 2 1 Multiple I2C Master one RS232 device Slave 2 I C Bus 5V GND Slave 3 Slave 1 PC Software Slave I2C RS232 Adapter SLAVE RS232 I2C MASTER I2C MASTER 2 I2C MASTER 1...

Page 5: ...nd Pin 4 I2C SCL Pin 5 I2C SDA Pin 6 Interrupt Output 1 Pin 7 Interrupt Output 2 Header strip 2 54 pitch 3 Jumper VUP Vpull up Pull up voltage Pin 1 3 3V Pin 2 Vpull up connected to pull up resistors...

Page 6: ...Rev1 4 April 2014 6 4 Dimension mm...

Page 7: ...A I2C Bus pins SCL SDA Vext External Pull up Voltage 2 15 V VIH High State Input Voltage 0 58Vpull up V VIL Low State Input Voltage 0 42Vpull up V Limiting values Interrupt pins Input Voltage 0 5 5 V...

Page 8: ...baud rate 0x45 ResetBuffers Reset data buffers to initial state 0x66 ReadVersion Read adapter s version 0x76 SetUARTMode Set UART operation mode 0x46 GetUARTMode Get UART operation mode 0x47 SetETXCha...

Page 9: ...bytes n Length When the adapter receives a message from UART then output Pin5 is set low This Pin remains low until the ReadData command is issued then Pin5 ist set high 6 2 3 ReadCount This command...

Page 10: ...saved into the EEPROM and the I2C Interface is initialised 6 2 5 ReadSlvAdr read verify the new slave address that was written to the temporary register ReadSlvAdr command 0x42 Byte content Bit 7 Bit...

Page 11: ...0 1 0 9600 0 1 1 19200 1 0 0 28800 1 0 1 38400 1 1 0 57600 1 1 1 115200 X 7 3 Do not care 4 2 8 ReadBaud reads the currently adjusted baud rate ReadBaud command 0x45 Byte content Bit 7 Bit 6 Bit 5 Bi...

Page 12: ...Bit 1 Bit 0 0 Slave address R A7 A6 A5 A4 A3 A2 A1 1 1 Slave address Slave address of the selected device 2 FM_Version HIGH version HIGH Byte 3 FM_Version LOW version LOW Byte e g 0x0102 HiByte 0x01...

Page 13: ...Character which triggers forwarding the received data to the I2C output SetETXChar command 0x48 Byte content Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0 Slave Address A7 A6 A5 A4 A3 A2 A1 0 1 Se...

Page 14: ...ess A7 A6 A5 A4 A3 A2 A1 0 1 SetSlvAdr 0 1 0 0 1 0 1 0 2 TimeOut TimeOut Interval ms 7 0 6 2 16 GetUARTTimeOut Reads UART s timeout interval GetUARTTimeOut command 0x4B Byte content Bit 7 Bit 6 Bit 5...

Page 15: ...byte and maximum 128 bytes Example in order to write 5 Bytes 0xA1 0x1F 0x22 0x5C 0xB0 into RAM of the adapter then the following string terminated with a carriage return should be sent over the seria...

Reviews: