Receiver circuit, related integrated circuit and apparatus
10135733 · 2018-11-20
Assignee
Inventors
Cpc classification
H04L1/0078
ELECTRICITY
Y02D30/70
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
International classification
Abstract
A receiver circuit extracts data from a serial data signal. The serial data signal contains a data packet having a first format with a first number of bits or a second format with a second number of bits based on a selection signal. The second format comprises the bits of the first format followed by one or more additional bits. The receiver circuit has at least one shift register having a total number of bits equal or greater than the number of bits of the second format and a switching circuit that selectively connects the serial data signal to one of the shift register serial inputs as a function of the selection signal. When the first format is selected and the respective bits received, the bits are stored in given positions of the one or more shift registers. The switching circuit also, when the second format is selected and the respective bits received, stores the bits of the first format included at the beginning of the second format in the same given positions of the one or more shift registers.
Claims
1. A receiver circuit to extract data from a serial data signal, the serial data signal containing a data packet, wherein based on a selection signal said data packet has bits arranged in a first data packet format or bits arranged in a second data packet format, wherein said first data packet format has a first number of bits and said second data packet format has a second number of bits, wherein said second data packet format includes the bits of said first data packet format followed by one or more additional bits, said receiver circuit comprising: one or more shift registers having a total number of bits equal or greater than the second number of bits of said second data packet format, each of said one or more shift registers having at least one serial input; and a switching circuit associated with said one or more shift registers, said switching circuit configured to selectively couple said serial data signal to said at least one serial input of said one or more shift registers as a function of said selection signal, wherein: a) after said selection signal indicates that said first data packet format has been selected and after having received the bits of said first data packet format, the bits of said first data packet format are stored in given positions of said one or more shift registers, and b) after said selection signal indicates that said second data packet format has been selected and after having received the bits of said second data packet format, the bits of said first data packet format included in said second data packet format are stored in said given positions of said one or more shift registers.
2. The receiver circuit according to claim 1, wherein the one or more shift registers is a single shift register and wherein said switching circuit is configured to: a) when said selection signal indicates that said first data packet format has been selected, select a first input position of said single shift register to receive the bits of said serial data signal, and b) when said selection signal indicates that said second data packet format has been selected, select a second input position of said single shift register to receive the bits of said serial data signal, wherein said second input position corresponds to said first input position shifted by a number representing how many said one or more additional bits followed the bits of said first data packet format.
3. The receiver circuit according to claim 1, wherein the one or more shift registers includes a first shift register and a second shift register, and wherein said switching circuit is configured to: a) select an input position of said first shift register to receive a given number of bits of said serial data signal, and b) after having received said given number of bits, select an input position of said second shift register to receive further bits of said serial data signal.
4. The receiver circuit according to claim 3, wherein said given number of bits corresponds to said first number of bits of said first data packet format, such that the bits of said first data packet format are loaded into said first shift register and said additional bits are loaded into said second shift register.
5. The receiver circuit according to claim 3, wherein said given number of bits is smaller than said first number of bits of said first data packet format, and wherein said switching circuit is configured to: a) when said selection signal indicates that said first data packet format has been selected and after receiving said given number of bits, select a first input position of said second shift register to receive said further bits of said serial data signal, and b) when said selection signal indicates that said second data packet format has been selected and after receiving said given number of bits, select a second input position of said second shift register to receive the further bits of said serial data signal, wherein said second input position corresponds to said first input position shifted by a number representing how many said one or more additional bits followed the bits of said first data packet format.
6. The receiver circuit according to claim 1 wherein said first data packet format includes a given number of bits assigned to a data field and a given number of bits assigned to an address field, and wherein one or more of said additional bits are assigned to said address field, thereby increasing a total number of bits of said address field.
7. The receiver circuit according to claim 6, comprising: an address verification circuit configured to generate a signal indicating whether bits stored in said one or more shift registers and assigned with said address field correspond to one or more reference addresses.
8. The receiver circuit according to claim 1 wherein said first data packet format starts with a preamble having a given number of bits.
9. The receiver circuit according to claim 8, said receiver circuit comprising: a preamble verification circuit configured to generate a signal indicating whether bits stored in said one or more shift registers and assigned with said preamble correspond to a reference preamble.
10. The receiver circuit according to claim 1 wherein said first data packet format includes a given number of error checking bits having a computed value based on the bits of said data packet.
11. The receiver circuit according to claim 10, wherein one or more of said additional bits are additional error checking bits.
12. The receiver circuit according to claim 10, said receiver circuit comprising: an error checking circuit, the error checking circuit configured to: a) compute reference error checking bits based on bits stored in said one or more shift registers, and b) generate a signal indicating whether error checking bits stored in said one or more shift registers correspond to said reference error checking bits.
13. The receiver circuit according to claim 1, wherein said selection signal is determined as a function of the bits included in said first data packet format.
14. The receiver circuit according to claim 1, wherein said one or more shift registers and said switching circuit are formed in an integrated circuit.
15. An apparatus, comprising: a memory arranged to pass a selection signal, said selection signal arranged to identify whether a data packet has bits arranged in a first data packet format or bits arranged in a second data packet format, wherein said first data packet format has a first number of bits and said second data packet format has a second number of bits, wherein said second data packet format includes the bits of said first data packet format followed by one or more additional bits; a digital processing circuit to direct extraction of data from a serial data signal, the serial data signal containing the data packet; at least one shift register having a total number of bits equal or greater than the second number of bits of said second data packet format, each of said at least one shift register having a serial input; and a switching circuit associated with said at least one shift register, said switching circuit configured to selectively couple said serial data signal to said serial input of said at least one shift register as a function of said selection signal, wherein: a) after said selection signal indicates that said first data packet format has been selected and after having received the bits of said first data packet format, the bits of said first data packet format are stored in given positions of the at least one shift register, and b) after said selection signal indicates that said second data packet format has been selected and after having received the bits of said second data packet format, the bits of said first data packet format included in said second data packet format are stored in said given positions of said at least one shift register.
16. The apparatus according to claim 15, wherein said memory, said digital processing circuit, and said switching circuit are formed in an ultra-low power receiver circuit.
17. The apparatus according to claim 16, wherein said ultra-low power receiver circuit is formed in a multimedia device.
18. An method, comprising: passing a selection signal from a memory, said selection signal arranged to identify whether a data packet has bits arranged in a first data packet format or bits arranged in a second data packet format, wherein said first data packet format has a first number of bits and said second data packet format has a second number of bits, wherein said second data packet format includes the bits of said first data packet format followed by one or more additional bits; extracting, as directed by a digital processing circuit, data from a serial data signal, the serial data signal containing the data packet; selectively coupling with a switching circuit, as a function of said selection signal, said serial data signal to an input of at least one shift register, said at least one shift register having a total number of bits equal or greater than the second number of bits of said second data packet format; and a) after said selection signal indicates that said first data packet format has been selected and after having received the bits of said first data packet format, storing the bits of said first data packet format in given positions of the at least one shift register, or b) after said selection signal indicates that said second data packet format has been selected and after having received the bits of said second data packet format, storing the bits of said first data packet format included in said second data packet format in said given positions of said at least one shift register.
19. The method according to claim 18, wherein the at least one shift register includes a first shift register and a second shift register, the method further comprising: selecting an input position of said first shift register to receive a given number of bits of said serial data signal, and after receiving said given number of bits, selecting an input position of said second shift register to receive further bits of said serial data signal.
20. The method according to claim 19, wherein said given number of bits corresponds to said first number of bits of said first data packet format, such that the bits of said first data packet format are loaded into said first shift register and said additional bits are loaded into said second shift register.
Description
BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS
(1) Embodiments of the present disclosure will now be described with reference to the annexed drawings, which are provided purely by way of non-limiting example and in which:
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION
(8) In the following description, numerous specific details are given to provide a thorough understanding of embodiments. The embodiments can be practiced without one or several specific details, or with other methods, components, materials, etc. In other instances, well-known structures, materials, or operations are not shown or described in detail to avoid obscuring aspects of the embodiments.
(9) Reference throughout this specification to one embodiment or an embodiment means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment. Thus, the appearances of the phrases in one embodiment or in an embodiment in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
(10) The headings provided herein are for convenience only and do not interpret the scope or meaning of the embodiments.
(11)
(12) As mentioned in the foregoing, various embodiments of the present disclosure relate to solutions being suitable for ultra-low power communication, i.e., a system with near zero power consumption when being in stand-by mode. Accordingly, the solutions described herein may be used in a receiver circuit 22a to be used, e.g., in the apparatus 2 described in the foregoing. Possible applications include thus ultra-low power remote controlling, including RFID (Radio-Frequency IDentification) for smart home and smart building applications.
(13) As mentioned in the foregoing, a telecommunication protocol provides rules, including the syntax, semantics and synchronization of communication and possible error recovery methods that allow two or more entities of a communication system to communicate between them in order to transmit information via a variation of one or more physical quantities. There are many levels of protocols complexity able to manage the information exchanged between two devices (in wireless or cabled mode). The complexity is usually linked to the nature and amount of communication data which have to be transferred: this generates and characterizes the rules and conventions that can be set out to properly define the protocol itself. In a digital communication system, these rules are generically structured and packed with the final target to make them a portable language to be integrated in a custom design. Regardless of the complexity of the protocol, some basic properties are often used to establish a communication.
(14)
(15) Generally, the receiver circuit 22a comprises a digital processing circuit 224 and has associated some kind of power supply, such as a battery and/or an electronic converter powered from the mains. For example, in the embodiment shown in
(16) In the embodiment considered, the strings of bits composing the digital message, i.e., the data packet, are divided into fields and each field carries relevant and well-defined information. Moreover, the various fields belong usually to a header HD or a payload PL. For example, the header HD usually contains the fields with more relevance for the protocol, i.e., the information required to transmit the data to a given receiver 22a, while the payload contains the data to be transmitted.
(17) For example, in the embodiment considered, the header HD starts with an optional preamble PRE consisting of a fixed sequence of N.sub.PRE synchronization bits. The preamble PRE is usually required for serial communications in order to signal the beginning of a new communication. For example, the preamble PRE may be a single bit being set to a given logic value. For example, similar to an UART based communication, the preamble PRE may consist in a single start bit being set, e.g., to low.
(18) A preamble PRE consisting of a longer sequence may be useful in order to perform a clock and data recovery (CDR) operation, i.e., an operation used to align the clock signal of the receiver 2 with the clock signal transmitter 1.
(19) For example, in the embodiment shown in
(20) Specifically, such CDR 226 permits to extract the transmitted data sequence from the distorted received signal RX and to recover the associated clock signal RX_CLK. For example, the CDR circuit 226 may comprise a clock recovery circuit configured to detect the transitions in the received data signal RX and generate a periodic clock RX_CLK. Generally, two types of clock and data recovery circuits 226 exist: clock and data recovery circuits operating with a reference clock signal, generated, e.g., by an oscillator 228, and clock and data recovery circuits operating without a reference clock signal. Often the circuit 226 comprises also a decision circuit, such as one or more flip-flops, e.g., D flip-flops, connected in cascade, which sample the received data signal RX in accordance with the recovered clock signal RX_CLK. Accordingly, the sampled data signal SDI at the output of the circuit 226 usually has less jitter, skew and/or noise. Reference can be made for this purpose, e.g., to document Ming-ta Hsieh and Gerald E. Sobelman, Architectures for Multi-Gigabit Wire-Linked Clock and Data Recovery, IEEE Circuits and Systems Magazine, December 2008, showing the basic topologies of CDR circuits, which is incorporated herein by reference. For example, in the embodiment considered, a preamble PRE with N.sub.PRE=7 bits is used.
(21) In various embodiments, the receiver circuit 22a, in particular the digital processing circuit 224, may also determine whether the preamble PRE is correct, e.g., by comparing the preamble PRE with a reference preamble PRE_CFG. Generally, the reference preamble PRE_CFG may be fixed within the digital processing circuit 224 or may be provided to the processing circuit 224 by a further module. For example, in the embodiment shown in
(22) In the embodiment considered, the header HD comprises moreover an address field A having a given number of bits N.sub.A. Specifically, the address field A may be used to identify the sender and/or the intended receiver(s), i.e., the sender address and/or the target address. For example, in the embodiment considered, the address field A may contain the address of a receiver or group of receivers. Accordingly, the address A allows the receivers to determine whether the subsequent strings of bits are sent to themselves and should be processed, or should be ignored. Generally, some address values may also have special meanings and may thus be reserved, i.e., these addresses do not identify transmitter or receivers.
(23) Accordingly, in various embodiments, the receiver circuit 22a, in particular the digital processing circuit 224, may be configured to determine whether the address A corresponds to one or more reference addresses A_CFG. Similar to the reference preamble PRE_CFG, the reference addresses A_CFG may be fixed within the processing circuit 224 or may be provided to the processing circuit 224 by a further module. For example, in the embodiment shown in
(24) In various embodiments, the address size, i.e., the number of bits N.sub.A of the address A, is variable in order to make the communication protocol compliant with different system capabilities and/or with multiple areas of application. For example, in the embodiment considered, the address field A has 16 bits. Conversely,
(25) For example, in the embodiment shown in
(26) For example, in the embodiment shown in
(27) Generally, the length N.sub.A of the address field A may also be determined dynamically based on a given bit sequence in the header HD. For example, different preambles PRE may be used for different address lengths or the first bits of the address field A may represent the address selection signal AS. For example, the first two bits of the address A may be used in order to select between an address length of 8, 10, 12 or 16 bits.
(28) Conversely, the data/payload frame PL includes the digital information DAT (e.g., the input data DI shown in
(29) Detection of transmission errors may be required for communication channels, which cannot guarantee error-free operation. For this reason, in various embodiments, a number N.sub.P of additional bits P may be added, e.g., at the end of packet, thereby permitting a Cyclic Redundancy Check (CRCs) or parity check, which makes it possible for the receiver circuit 22a to detect differences introduced in the data packet by communication errors. For example, in this case, the receiver circuit 22a may reject the packet and/or arrange a retransmission.
(30) Generally, the number N.sub.P of error-checking bits P may also vary based on the number of bits to be verified. For example, in the embodiment considered, excluding the preamble, with each four bits to be checked is associated a respective parity bit P. For this reason, the packet shown in
(31) Packets may also be lost or suffer from long delays. To cope with this, in various embodiments, the transmitter circuit may expect an acknowledgement of correct reception from the receiver circuit 22a within a certain amount of time. On timeouts, the transmitter circuit may assume that the packet was not received and retransmit it. In case of a permanently broken link, the retransmission has no effect so the number of retransmissions is usually limited. In this case, exceeding the retry limit may be considered as a communication error.
(32) The inventors have observed that the communication protocol shown in
(33) Specifically, due to the fact, that the address field A may have different lengths, the position of the payload, including the data field DAT and possibly the bits P changes. Accordingly, complex multiplexing logic is required, e.g., in order to select the correct bits as data bits DAT.
(34)
(35) As shown in the foregoing, the address selection signal AS may be considered as a data packet format selection signal, which selects between a plurality of different data packet formats having a different total number of bits N.sub.PF.
(36) Generally, each data packet comprises: one or more fields with fixed number of bits, such as the optional preamble PRE and the data field DAT, and one or more fields with having a variable number of bits, such as the address field A and the optional bit sequence for error checking P, wherein the number of these bits is however fixed for each packet format.
(37) Moreover, when comparing the various data packet formats shown in
(38) Accordingly, in various embodiments, when switching to a packet format having a greater number of bits, the additional bits are transmitted at the end of the data packet.
(39) For example, in the embodiment considered in
(40) However, when changing to the next longer packet format, the packet structure of the first bits corresponds always to the packet structure of the previous shorter format and the additional bits are added at the end of the data packet.
(41) For example, in the embodiment considered, the next data packet format BP2 shown in
(42) Similarly, in the embodiment considered, the next data packet format BP3 shown in
(43) Finally, the next data packet format shown in
(44) Thus, the data packet formats shown in
(45)
(46)
(47) In general, the communication protocol described in the foregoing supports at least two data packet formats having a different number of bits. Specifically, the shorter data packet format (e.g., BP1) comprises a plurality of fields, each field of the shorter data packet format having a given number of bits, and the longer data packet format (e.g., BP2) contains at the beginning the bits of the shorter data packet format and at the end at least one additional bit being associated with at least one field of the shorter data packet format, thereby increasing the number of bits of the respective field. For example, in the embodiments considered, the number of bits N.sub.A of the address field A are increased in this way.
(48) As mentioned in the foregoing, the data packet formats shown in
(49) For example, as shown in
(50) However, instead of simply loading the serial input data SDI into the shift register, the register has associated therewith one or more multiplexers 200 configured to select the input position of the register REG in which the serial data signal SDI is loaded. Specifically, in the embodiment considered, the selection is performed based on the signal AS, i.e., the address length/packet data format selection signal.
(51) In the embodiment considered, the multiplexer(s) 200 are configured to select the input position for loading the shift register REG at the following bit position POS:
POS=N.sub.REGN.sub.PF(1)
where N.sub.PF corresponds to the number of bits of the selected data packet format. For example: when the length of the address A is selected as N.sub.A=16 bits (N.sub.PF=32), the position of the input of the shift register would be set to 0, i.e., the 1.sup.st register; when the length of the address A is selected as N.sub.A=12 bits (N.sub.PF=27), the position of the input of the shift register would be set to 5, i.e., the 6.sup.th register; when the length of the address A is selected as N.sub.A=10 bits (N.sub.PF=25), the position of the input of the shift register would be set to 7, i.e., the 8.sup.th register; and when the length of the address A is selected as N.sub.A=8 bits (N.sub.PF=22), the position of the input of the shift register would be set to 10, i.e., the 11.sup.th register.
(52) In this regards, it may be observed that, when changing to the next longer packet format, the input position of the shift register REG is shifted by the number of the additional bits added at the end of the longer packet format.
(53) Accordingly, in the embodiments considered, the received bits are sequentially loaded in accordance with the clock signal RX_CLK into the shift register REG, and once having received all bits of data packet, i.e., N.sub.PF bits, the respective bits are always located in the most significant bits of the shift register REG, while the least significant bits may remain empty, i.e., the bits being associated with the shortest data packet format BP1 and which are included at the beginning of all other data packet formats are always loaded into the most significant bits of the register REG.
(54) Moreover, as shown in
(55) This is also highlighted in
(56) Specifically, in the example considered in
(57) At a time T0 the first bit (i.e., the first preamble bit) is received, which is loaded thus in the bit position 0. During the following clock cycles, the subsequent bits are received and the bits are shifted form the input position to the MSB bits of the shift register. For example, at the time T12, 12 bits have been received and the content of the shift register could be 0000000 00000 00000 00001 10110 10111. The operation proceeds until all bits have been received at a time T32 (i.e., after 32 clock cycles) and the content of the shift register is, e.g., 0110110 10111 10001 00110 10010 01100. Accordingly, in the example considered, the data packet shown in
(58) Similarly,
(59) Similarly,
(60) Finally,
(61) The use of a shift register REG, instead of a complete FIFO (First-In First-Out) memory has the advantage that no complex FIFO control logic is required. Moreover, the bits in the shift register REG may be processed completely in parallel.
(62) For example, as shown in
(63) Similarly, the receiver circuit 22a, in particular the digital processing circuit 224, may comprise an address verification circuit 204 configured to generate a signal ADDR_OK indicating whether the received address A corresponds to the reference address A_CFG. Generally, the circuit 204 may also compare sequentially or in parallel the received address A with a plurality of reference addresses A_CFG.
(64) In various embodiment, the circuit 202 performs for this purpose a bit level comparison between the bits assigned to the address field of the longest data packet format, i.e., the sub-fields A1, A2, A3, A3 and A4 having a total of N.sub.A=16 bits, and the bits of the reference address A_CFG, which also has 16 bits. Accordingly, by setting the unused bits of the reference address A_CFG to the reset value of the register REG, the comparison will be performed for the received address bits, while the comparison for the empty bits will intrinsically be positive. Generally, the address verification circuit 204 could also receive the signal AS and perform the comparison only for the address bits indeed received, thereby reducing the risk that a user incidentally configured an address reference signal A_CFG having the wrong content for the address bits being unused in the selected data packet format.
(65) Similarly,
(66) Accordingly, in the embodiment considered, the error checking circuit 206 performs the same operation already performed in the transmitter circuit in order to compute error checking bits P for the received data file DAT and the received address field A and then compares the computed error checking bits with the received error checking bits P (e.g., the bits P1, P2, P3 P4 and P5 in the bit positions [24], [19], [14], [9] and [4], respectively).
(67) For example, in the embodiment considered, the error checking bits P are parity bits. Generally, the parity bits P may be even parity bits or odd parity bits. In the case of even parity, the number of bits whose value is 1 in a given set is counted. If that total is odd, the parity bit value is set to 1, making the total count of 1's in the set an even number. If the count of ones in a given set of bits is already even, the parity bit's value remains 0. In the case of odd parity, the situation is reversed. Instead, if the sum of bits with a value of 1 is odd, the parity bit's value is set to zero. And if the sum of bits with a value of 1 is even, the parity bit value is set to 1, making the total count of 1's in the set an odd number. Accordingly, even parity is a special case of a cyclic redundancy check (CRC), where the 1-bit CRC is generated by the polynomial x+1.
(68) For example, in the embodiment considered, the parity bits P are assigned in the following way: parity bit P1 for the data field DAT, parity bit P2 for the address sub-field A1, parity bit P3 for the address sub-field A2, parity bit P4 for the combination of the address sub-field A3 and the address sub-field A3, and parity bit P5 for the address sub-field A4.
(69) Accordingly, in the embodiment considered, each parity bit is assigned to a unique sequence of four bits.
(70) Accordingly, respective parity checking circuit 208, 210, 212, 214 and 216 may be used to compute separately the parity bits for the data field DAT, the address sub-field A1, the address sub-field A2, the combination of the address sub-field A3 and the address sub-field A3 and the address sub-field A4, respectively, and determine whether the computed parity bits corresponds to the respective received parity bits. For example, in the embodiment considered, the circuits 208, 210, 212, 214 and 216 generate respective signals DAT_OK, A1_OK, A2_OK, A3_OK and A4_OK indicating whether the received data field DAT, address sub-field A1, address sub-field A2, combination of the address sub-field A3 and the address sub-field A3 and address sub-field A4 are correct.
(71) Accordingly, a further circuit 218 may be used to logically combine the signals DAT_OK, A1_OK, A2_OK, A3_OK and A4_OK in order to generate a signal P_OK indicating that the received data DAT and address A do not contain errors.
(72) Generally, the error checking circuit 206 may also perform more complex operations, e.g., in order to recover errors by means of Reed Solomon Codes. However, in case of ultra-low power communication, a simple parity check may be sufficient.
(73) In the embodiment considered, the data field DAT has a fixed length of N.sub.D bits. Accordingly, the content of this field DAT, e.g., the bits [23:20] in the exemplary embodiment, may be read in parallel by means of a parallel data output signal PDO. Generally, the data field DAT may also be read sequentially for N.sub.D clock cycles by means of a serial data output signal SDO being connected to the first bit of the data field DAT (e.g., bit [23]).
(74) For example, as shown in
(75) Accordingly, in the embodiments described in the foregoing, the digital processing circuit 224 receives and decodes the address and data bits coming from a receiver 20, such as a radio frequency modulator. The digital processing circuit 224 supports variable address sizes (16, 12, 10 and 8 bits) and the respective reference addresses A_CFG may be pre-configured, e.g., by means of a one-time programmable memory 230 based on anti-fuse cells, or received from a further processing circuit. In various embodiments, the digital processing circuit 224 is able to detect errors in the address and data bits.
(76) The proposed mechanism and the related hardware digital circuit are thus flexible, fast and simple with improved computational resources in terms of chip-area and power consumption. In fact, the same hardware circuit may be used for variable address sizes without having to add further logic.
(77)
(78) Specifically, in the embodiment two shift registers REGa and REGb are used instead of the single shift register REG shown in
(79) More particular, the first shift register REGa is used to store the bits of the shortest packet format BP1 and the second shift register REGb is used to store the additional bits when a longer packet format BP2, BP3 or BP4 is selected, i.e., the additional bits of the address sub-fields A3, A3 and A4 and the additional error checking bits P4 and P5. Accordingly, in the embodiment considered, the register REGb has 10 bits, and the register REGb has 22 bits, e.g., numbered [31:10] just for convenience.
(80) Specifically, in the embodiment considered, a first multiplexer 200a is used to connect selectively the serial data signal SDI to the serial input of the register REGa or the serial input of the register REGb as a function of a signal REGa_LC indicating whether the register REGa has been loaded completely or not. Specifically, when the signal REGa_LC indicates that the register REGa has not been loaded completely, the serial data signal SDI is connected to the serial input of the register REGa, in particular the least significant bit (e.g., bit 10 for the exemplary bit numeration), and incoming bits are loaded sequentially in the shift register REGa. Conversely, when the signal REGa_LC indicates that the register REGa has been loaded completely, the serial data signal SDI is connected to the serial input of the register REGb and possible further incoming bits are loaded sequentially in the shift register REGb.
(81) However, in this case, the serial input position of the register REGb is not fixed, but determined (similar to the register REG) by means of a one or more multiplexers 200b as a function of the signal AS. For example, in the embodiment considered, the multiplexer(s) 200b are configured to select the input position for loading the shift register REGb at the following bit position POS:
POS=N.sub.REGb(N.sub.PFN.sub.REGa)(2)
(82) where N.sub.PF corresponds to the number of bits of the selected data packet format, and N.sub.REGa and N.sub.REGb are the number of bits of the registers REGa and REGb, respectively. For example, considering N.sub.REGa=22 and N.sub.REGb=10: when the length of the address A is selected as N.sub.A=16 bits (N.sub.PF=32), the position of the input of the shift register REGb would be set to 0, i.e., the 1.sup.st register; when the length of the address A is selected as N.sub.A=12 bits (N.sub.PF=27), the position of the input of the shift register REGb would be set to 5, i.e., the 6.sup.th register; when the length of the address A is selected as N.sub.A=10 bits (N.sub.PF=25), the position of the input of the shift register REGb would be set to 7, i.e., the 8.sup.th register; and when the length of the address A is selected as N.sub.A=8 bits (N.sub.PF=22), the position of the input of the shift register would be set to 10, i.e., the 11.sup.th register, which however does not exist, because no additional bits are indeed expected in this case.
(83) Thus also in this case, when changing to the next longer packet format, the input position of the shift register REGb is shifted by the number of the additional bits added at the end of the longer packet format.
(84)
(85) For example, in the embodiment considered, only the preamble PRE, the first error checking bit P1 and the data field DAT are stored in the register REGa and the remaining bits are stored in the register REGb, i.e., N.sub.REGa=12 and N.sub.REGb=20. Accordingly, in this case, the first 12 bits are loaded into the register REGa and once the signal REGa_LC indicates that the register REGa is fully loaded, following bits are loaded into the register REGb, wherein the input position of the register REGb is selected by means of the multiplexer 200b according to equation (2), i.e.: when the length of the address A is selected as N.sub.A=16 bits (N.sub.PF=32), the position of the input of the shift register REGb would be set to 0, i.e., the 1.sup.st register; when the length of the address A is selected as N.sub.A=12 bits (N.sub.PF=27), the position of the input of the shift register REGb would be set to 5, i.e., the 6.sup.th register; when the length of the address A is selected as N.sub.A=10 bits (N.sub.PF=25), the position of the input of the shift register REGb would be set to 7, i.e., the 8.sup.th register; and when the length of the address A is selected as N.sub.A=8 bits (N.sub.PF=22), the position of the input of the shift register would be set to 10, i.e., the 11.sup.th register.
(86) Again, when changing to the next longer packet format, the input position of the shift register REGb is shifted by the number of the additional bits added at the end of the longer packet format.
(87) The processing part of the content of the registers REGa and REGb may remain unchanged compared to the embodiments having only a single register REG. Accordingly, reference can be made to
(88) As mentioned in the foregoing, the signal REGa_LC indicates whether the register REGa has been loaded completely or not. In the embodiments shown in
(89) to a second logic value, e.g., high, when the count value is equal or greater than the number of bits N.sub.REGa.
(90)
(91) Specifically, in the embodiment shown in
(92) Conversely,
(93) This embodiment has however the disadvantage that the reference preamble sequence PRE_CFG may not be changed, and errors in the communication may also trigger the signal REGa_LC.
(94) Accordingly,
(95) The use of several shift registers has the advantage that, once having received a given number of bits (N.sub.REGa) the content of the register REGa remains stable, while further bits may still be received and stored in the register REGb.
(96) This behavior may thus be used to determine the used packet format, e.g., the length N.sub.A of the address field A and consequently the signal AS, based on the content of the transmitted data already stored in the register REGa.
(97) For example, in the embodiment shown in
(98) Conversely,
(99) As mentioned before, also different preambles PRE may be used for different address lengths. For example, in this case a set of preamble verification circuits 202 could be used in order to compare (similar to
(100) Generally, the receiver circuit 22a extracts thus data DO from a serial data signal SDI containing a data packet. The data packet may have a first or a second data packet format (e.g., BP1 or BP2) based on the selection signal AS. In various embodiments, the receiver circuit 22a comprises one or more shift registers having a total number of bits being equal or greater than the number of bits of the second/longer data packet format. This receiver comprises moreover a switching circuit 200, 200a/200b associated with the shift registers, which is configured to selectively connect the serial data signal SDI to one of the serial inputs as a function of the selection signal AS.
(101) Specifically, in the embodiment shown in
(102) For example, in the embodiment shown in
(103) Conversely, in
(104) Specifically, in
(105) Conversely, in
(106) Of course, without prejudice to the principle of the invention, the details of construction and the embodiments may vary widely with respect to what has been described and illustrated herein purely by way of example, without thereby departing from the scope of the present invention, as defined by the ensuing claims.
(107) The various embodiments described above can be combined to provide further embodiments. These and other changes can be made to the embodiments in light of the above-detailed description. In general, in the following claims, the terms used should not be construed to limit the claims to the specific embodiments disclosed in the specification and the claims, but should be construed to include all possible embodiments along with the full scope of equivalents to which such claims are entitled. Accordingly, the claims are not limited by the disclosure.