Tews Technologies TIP867 Series User Manual Download Page 11

 

5.2.2  Using an External Clock Signal (TIP867-20R only)  

The TIP867 can be programmed to receive an external clock signal or transmit an external clock 
signal. For both modes the SCCs TRxC# pin is used as clock I/O pin (programmable as clock input or 
clock output). 

For proper use of the external clock, both the clock signal transceiver direction and the SCC TRxC# 
pin I/O direction must be configured properly. The RS485 clock transceiver direction is controlled by 
the SCCs DTR pin, used as general purpose output. 

For using the SCCs DTR pin as a general purpose output, bit D2 in the SCC internal WR14 register 
must be set to ‘0’. 

After  hardware reset  both  the  clock  signal transceiver and the TRxC# pin  are configured as 
input for all channels. 

5.2.2.1  Receiving an external clock signal 

To use the SCCs TRxC# pin as an input for an external clock, first the TRxC# pin direction must be set 
to input, and then the clock signal receiver must be enabled. 

To enable the clock receiver, bit D7 of the Z85230 internal WR5 register must be set to ‘0’.  

To program the SCCs TRxC# pin as clock input, bit D2 of the SCC internal WR11 register must be set 
to ‘0’. The external clock is used as transmit clock if the bits D[4:3] of the SCC internal WR11 register 
are set to ‘01’ and it is used as receive clock if the bits D[6:5] are set to ‘01’. 

5.2.2.2  Transmitting an external clock signal 

To use the SCCs TRxC# pin as an output for an external clock, first the clock signal transmitter must 
be enabled, and then the TRxC# pin I/O direction must be set to output.  

To enable the clock transmitter, bit D7 of the SCC internal WR5 register must be set to ‘1’.  

To program the SCCs TRxC# pin as clock output, bit D2 of the SCC internal WR11 register must be 
set to ‘1’. The source of the external clock is selected by the state of the bits D[1:0] of the SCC internal 
WR11 register. 

 

D[1:0] 

Clock Source 

‘00’ 

7.3728 MHz Oscillator 

‘01’ 

Transmit Clock 

‘10’ 

Baud Rate Generator Output 

‘11’ 

DPPL Output 

Table 5-1 :  External Clock Sources 

 

 

 

TIP867 User Manual Issue 1.0.5 

Page 11 of 12 

Summary of Contents for TIP867 Series

Page 1: ...y TIP867 8 Channel RS485 Interface Version 1 0 User Manual Issue 1 0 5 August 2014 TEWS TECHNOLOGIES GmbH Am Bahnhof 7 25469 Halstenbek Germany www tews com Phone 49 0 4101 4058 0 Fax 49 0 4101 4058 1...

Page 2: ...in this document at any time without notice TEWS TECHNOLOGIES GmbH is not liable for any damage arising out of the application or use of the device described herein Style Conventions Hexadecimal chara...

Page 3: ...neral Revision August 2003 1 2 New address TEWS LLC September 2006 1 3 Correction ID PROM Contents of TIP867 20 September 2008 1 0 4 New notation of User Manual Issue March 2009 1 0 5 General Revision...

Page 4: ...OGRAMMING HINTS 10 5 1 RS485 Transmitter Control 10 5 2 Baud Rates 10 5 2 1 Using Internal Baud Rates 10 5 2 2 Using an External Clock Signal TIP867 20R only 11 5 2 2 1 Receiving an external clock sig...

Page 5: ...AGRAM 6 List of Tables TABLE 2 1 TECHNICAL SPECIFICATION 7 TABLE 3 1 ID PROM CONTENTS 8 TABLE 4 1 REGISTER SET 9 TABLE 5 1 EXTERNAL CLOCK SOURCES 11 TABLE 6 1 PIN ASSIGNMENT I O CONNECTOR 12 TIP867 Us...

Page 6: ...IFO interrupt levels provide flexible interrupt response Serial I O channels 1 to 4 generate interrupts on interrupt request line Intreq0 Serial I O channels 5 to 8 generate interrupts on interrupt re...

Page 7: ...per channel Physical Interface Half Duplex RS485 Interface Transfer Rate TIP867 10R up to 500 kbaud TIP867 20R up to 2 Mbaud using external CLK I O Interface ESD Protection 15V Human Body Model I O Si...

Page 8: ...facturer ID 0xB3 0x0B Model Number 0x24 0x0D Revision 0x10 0x0F Reserved 0x00 0x11 Driver ID Low Byte 0x00 0x13 Driver ID High Byte 0x00 0x15 Number of bytes used 0x0D 0x17 CRC 0xD2 TIP867 10R 0x2D TI...

Page 9: ...SCC1 A Data 8 0x09 CHCON2 Port 2 Control Register SCC2 B Control 8 0x0B CHDAT2 Port 2 Data Register SCC2 B Data 8 0x0D CHCON3 Port 3 Control Register SCC2 A Control 8 0x0F CHDAT3 Port 3 Data Register...

Page 10: ...baud rates including 19200 38400 and 57600 baud Some networks and communication protocols may require a different oscillator frequency For these applications the oscillator may be replaced or an exter...

Page 11: ...signal receiver must be enabled To enable the clock receiver bit D7 of the Z85230 internal WR5 register must be set to 0 To program the SCCs TRxC pin as clock input bit D2 of the SCC internal WR11 re...

Page 12: ...annel 7 Inverting Data I O 13 DX _2 Channel 2 Non inverting Data I O 38 DX _7 Channel 7 Non inverting Data I O 14 CLK _2 Channel 2 Inverting CLK I O TIP867 20R only 39 CLK _7 Channel 7 Inverting CLK I...

Reviews: