Apparatus for generating time slot in home networking system and method thereof
暂无分享,去创建一个
An apparatus for generating a time slot in a home network system using home PNA 2.0 protocol and a method thereof are provided. The apparatus for generating a time slot includes a signal analyzer which receives a carrier sense signal indicating whether or not data exists on a network line, generates a counter control signal according to the level of the carrier sense signal, outputs a state signal for indicating whether or not effective data is received, whether or not data collision occurs, or whether or not an error happens to the carrier sense signal and a time counting value for generating a time slot using counter values provided in response to the carrier sense signal, a counting unit which counts a clock signal in response to the counter control signal and outputs the result of the counting as the counter values with respect to the length of a first level of the carrier sense signal and the length of a second level of the carrier sense signal where the second level is complementary to the first level, and a time slot generator which has regulations related to the period of time of each section of a time slot, generates a time slot according to the state signal output from the signal analyzer using the time counting value to meet the regulations, and stops generation of the time slot in response to the state signal for indicating that an error happens to the carrier sense signal. Accordingly, it is possible to generate a reliable time slot by controlling generation of a time slot based on whether or not an error occurs to a carrier sense signal being currently received and taking the amount of time delayed inside a device including the apparatus for generating a time slot into consideration.