15.08.2013 Views

DESIGN OF A CUSTOM ASIC INCORPORATING CAN™ AND 1 ...

DESIGN OF A CUSTOM ASIC INCORPORATING CAN™ AND 1 ...

DESIGN OF A CUSTOM ASIC INCORPORATING CAN™ AND 1 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.2.2 Command Register<br />

In addition to reading and writing the 1 – Wire® Master can generate two special<br />

commands on the bus. The first is a 1 – Wire® reset, which must precede any command given<br />

on the 1 – Wire® bus. Secondly, the 1 – Wire® Master can be placed into Search ROM<br />

Accelerator mode to prevent the host from having to perform single bit manipulations of the bus<br />

during a Search ROM operation (command 0xF0h). For more details on the Reset or Search<br />

ROM command, the reader is referred to [75]. In addition to these two functions, the Command<br />

Register contains two bits to bypass the 1 – Wire® Master features and control the 1 – Wire®<br />

bus directly (See Figure 5.2).<br />

Figure 5.2 Command Register Bits.<br />

Bit 3 – OW_IN: OW Input. This bit always reflects the current state of the 1 – Wire®<br />

line.<br />

Bit 2 – FOW: Force One Wire. This bit can be used to bypass 1 – Wire® Master<br />

operations and drive the bus directly if needed. Setting this bit high will drive the bus<br />

low until it is cleared or a bus reset occurs. While the 1 – Wire® bus is held low, no<br />

other 1 – Wire® Master operations will function. By controlling the length of time this<br />

bit is set and the point when the line is sampled, any 1 – Wire® communication can be<br />

generated by the host controller. To prevent accidental writes to the bus, the EN bit in<br />

the CONTROL register must be set to a 1 before the FOW bit will function. The FOW<br />

bit is cleared to a 0 on a power-up or master reset.<br />

118

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!