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 ...
Figure 5.9 Control Register. OD: Overdrive. Setting this bit to a ‘1’ will place the master into Overdrive mode that effectively changes the master’s 1 – Wire® timings to match those outlined for Overdrive in [75]. Clearing this bit to a ‘0’ leaves the master operating in standard mode speed. BIT_CTL: Bit Control. Setting this bit to a ‘1’ will place the master into its “Bit Banging” mode of operation. In this mode, only the least significant bit of the Transmit/Receive register will be sent or received before enabling the interrupt flags that signal the end of the transmission. Clearing this bit to ‘0’ leaves the master operating using full byte boundaries. STP_SPLY: Strong Pull-up Supply. Setting this bit to a ‘1’ while STPEN is also set to a ‘1’ will enable the STPZ output while the master is in an IDLE state. This will provide a stiff supply to devices requiring high current during operations. Clearing this bit to a ‘0’ disables the STPZ output while the master is in an IDLE state. The STP_SPLY bit is a don’t care bit if STPEN is set to a ‘0’. STPEN: Strong Pull-up Enable. Setting this bit to a ‘1’ enables the strong pull-up output enable (STPZ) pin’s functionality which allows this output pin to enable an external strong pull-up any time the master is not pulling the line low or waiting to read a value from a slave device. This functionality is used for meeting the recovery time requirement in Overdrive mode and long-line standard communications. Clearing this bit to a ‘0’ will disable the STPZ output pin. 129
EN_FOW: Enable Force One Wire. Setting this bit to a ‘1’ will enable the functionality of the Force One Wire (FOW) register bit in the Command Register. Clearing this bit will disable the functionality of the FOW bit. PPM: Presence Pulse Masking Mode. Setting this bit to a ‘1’ will enable Presence Pulse Masking Mode. This mode causes the master to initiate the falling edge of a presence pulse during a 1 – Wire® Reset before the fastest slave would initiate one. This enables the master to prevent the larger amount of ringing caused by the slave devices when initiating a low on the DQ line. If the PPM bit is set, the PDR result bit in the Interrupt Register will always be set to a ‘0’ showing that a slave device was on the line even if there were none. Clearing this bit to a ‘0’ disables the Presence Pulse Masking Mode. LLM: Long Line Mode. Setting this bit to a ‘1’ will enable Long Line Mode timings on the 1 – Wire® line during standard mode communications. This mode effectively moves the write one release, the data sampling, and the time slot recovery times out to roughly 8µs, 22µs, and 14µs respectively. This provides a less strict environment for long line transmissions. Clearing this bit to a ‘0’ leaves the write one release, the data sampling, and the time slot recovery times at roughly 5µs, 15µs, and 7µs respectively [76]. 5.2.8 Verification of 1 – Wire® Module To verify proper operation of the synthesizable 1 – Wire® Master, four test cases were executed: Single One-Wire Network (single_search_rom), Multiple One-Wire Network (multi_ow_network), Scratchpad Memory (scratchpad_integrity), and a Command Recognition test (cmd_recognition). All tests were compiled and simulated using Altera Quartus II 9.1 (32- 130
- Page 103 and 104: In June 2004, Maxim Integrated Prod
- Page 105 and 106: Wearable sensor technology is a new
- Page 107 and 108: In traditional bus architectures, o
- Page 109 and 110: Figure 4.3 Centralized arbiter with
- Page 111 and 112: For the initial prototype design pr
- Page 113 and 114: the ID of 31 transmits a ‘0’ (d
- Page 115 and 116: Recently, a technique has been prop
- Page 117 and 118: procedure, then the address claim p
- Page 119 and 120: paradigms are prevalent in the desi
- Page 121 and 122: systems possess a higher flexibilit
- Page 123 and 124: fixed identifier and hence a fixed
- Page 125 and 126: 348sm Cm 47 8 smbit 11-bit hea
- Page 127 and 128: est-case latency occurs when the bu
- Page 129 and 130: to break the 1 - Wire® network int
- Page 131 and 132: ow, is most critical for power deli
- Page 133 and 134: computations have device-specific p
- Page 135 and 136: Table 4.7 Example results with N 2
- Page 137 and 138: 4.3.5 Communication Speed Different
- Page 139 and 140: anging” a port pin on a microproc
- Page 141 and 142: From Figure 5.1, the block I/O pins
- Page 143 and 144: 5.2.2 Command Register In addition
- Page 145 and 146: specifies the selected bit value to
- Page 147 and 148: with i > m. This process is repeate
- Page 149 and 150: Figure 5.6 Interrupt Register. OW_
- Page 151 and 152: the INTR pin will be pulled high si
- Page 153: master reset occurs. Table 5.2 show
- Page 157 and 158: READ_ROM - Used to read the 64-bit
- Page 159 and 160: 5.2.8.1 Single Search ROM (single_s
- Page 161 and 162: 5.2.8.3 Scratchpad Memory (scratchp
- Page 163 and 164: 5.2.8.4 Command Recognition (cmd_re
- Page 165 and 166: TBF - The Transmit Buffer provides
- Page 167 and 168: compensate for the propagation dela
- Page 169 and 170: Figure 5.15 CAN Module memory map [
- Page 171 and 172: ‘0’, fast speed mode will be us
- Page 173 and 174: COMP-SEL: Comparator Select. When t
- Page 175 and 176: Figure 5.18 CAN Status Register. B
- Page 177 and 178: that buffer is given to the CPU and
- Page 179 and 180: Acceptance Mask Registers (accepted
- Page 181 and 182: SJW1, SJW0: Synchronization Jump Wi
- Page 183 and 184: TSEG22 - TSEG10: Time Segment Bits.
- Page 185 and 186: The transmit clock (ttxclk) is used
- Page 187 and 188: 5.3.13 CAN Module Transmit Buffer I
- Page 189 and 190: Figure 5.28 CAN Transmit Data Segme
- Page 191 and 192: 5.3.20 CAN Node Overview As stated
- Page 193 and 194: Read Digital InputsRead the value o
- Page 195 and 196: the clock high time is either 5 µs
- Page 197 and 198: Yes Perform A/D Conversion on AN0 W
- Page 199 and 200: and GP2 and GP5 as outputs. With th
- Page 201 and 202: external INT pin, and then branches
- Page 203 and 204: Read MCP2515 Rx Buffer for Digital
EN_FOW: Enable Force One Wire. Setting this bit to a ‘1’ will enable the functionality<br />
of the Force One Wire (FOW) register bit in the Command Register. Clearing this bit<br />
will disable the functionality of the FOW bit.<br />
PPM: Presence Pulse Masking Mode. Setting this bit to a ‘1’ will enable Presence Pulse<br />
Masking Mode. This mode causes the master to initiate the falling edge of a presence<br />
pulse during a 1 – Wire® Reset before the fastest slave would initiate one. This enables<br />
the master to prevent the larger amount of ringing caused by the slave devices when<br />
initiating a low on the DQ line. If the PPM bit is set, the PDR result bit in the Interrupt<br />
Register will always be set to a ‘0’ showing that a slave device was on the line even if<br />
there were none. Clearing this bit to a ‘0’ disables the Presence Pulse Masking Mode.<br />
LLM: Long Line Mode. Setting this bit to a ‘1’ will enable Long Line Mode timings on<br />
the 1 – Wire® line during standard mode communications. This mode effectively moves<br />
the write one release, the data sampling, and the time slot recovery times out to roughly<br />
8µs, 22µs, and 14µs respectively. This provides a less strict environment for long line<br />
transmissions. Clearing this bit to a ‘0’ leaves the write one release, the data sampling,<br />
and the time slot recovery times at roughly 5µs, 15µs, and 7µs respectively [76].<br />
5.2.8 Verification of 1 – Wire® Module<br />
To verify proper operation of the synthesizable 1 – Wire® Master, four test cases were<br />
executed: Single One-Wire Network (single_search_rom), Multiple One-Wire Network<br />
(multi_ow_network), Scratchpad Memory (scratchpad_integrity), and a Command Recognition<br />
test (cmd_recognition). All tests were compiled and simulated using Altera Quartus II 9.1 (32-<br />
130