Flash memory controller, input / output interface circuit and method of input / output interface circuit

By introducing the terminal circuit and control circuit in the transmission chip into the flash memory controller, and dynamically adjusting the matching terminal resistance, it solves the problem that traditional circuits cannot meet the standards of rapidly developing product specifications, and realizes a flexible and configurable input/output interface circuit. Improved signal matching and quality.

CN118672491APending Publication Date: 2024-09-20SILICON MOTION INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410180281.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-16
Filing Date
2024-02-18
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Traditional input/output circuits cannot meet the requirements of the current rapidly developing product specifications and standards, especially in flash memory applications, and are difficult to flexibly adjust to meet the needs of different product specifications and standards.

Method used

Design an input/output interface circuit mechanism. By introducing the transmission chip in-chip terminal circuit and control circuit in the flash memory controller, it can be used as an output stage driver circuit or an input stage in-chip terminal circuit, and the matching terminal resistance is dynamically adjusted through the control signal. , to adapt to different product specifications and standards.

Benefits of technology

A flexible and configurable input/output interface circuit is implemented, which can meet the needs of different flash memory products, improves the flexibility and adaptability of signal matching, reduces signal reflection, improves signal quality, and reduces circuit costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118672491A
    Figure CN118672491A
Patent Text Reader

Abstract

The invention relates to an input / output interface circuit which is arranged in a flash memory controller and comprises a terminal circuit in a transmission chip and a control circuit, and the terminal circuit in the transmission chip is used as an output-stage driving circuit or an input-stage terminal circuit. The control circuit is used for receiving a control signal transmitted by the processor circuit and controlling the terminal circuit in the transmission chip as an output stage driving circuit to transmit and drive a transmission signal by using the control signal; and controlling the transmit on-chip termination circuit as an input stage on-chip termination circuit to generate and provide a matched termination resistance for the input / output signal port.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an input / output interface circuit mechanism, and more particularly to a flash memory controller, an input / output interface circuit and an input / output interface circuit method. Background Art

[0002] Generally speaking, a conventional input / output circuit disposed in a controller circuit chip is used as a specific signal matching circuit network to provide a fixed signal matching resistance when sending or receiving a signal. However, such a conventional input / output circuit cannot meet the requirements of the current rapidly developing product specification standards. Summary of the invention

[0003] Therefore, one of the objectives of the present invention is to provide a flash memory controller, an input / output interface circuit and an input / output interface circuit method to solve the above problems.

[0004] According to an embodiment of the present invention, an input / output interface circuit is disclosed. The input / output interface circuit is arranged in a flash memory controller and coupled to a flash memory, the flash memory is externally coupled to the flash memory controller through an input / output signal port of the flash memory controller, and the input / output interface circuit includes a transmission chip internal terminal circuit and a control circuit. The transmission chip internal terminal circuit serves as an output stage driving circuit or an input stage chip internal terminal circuit. The control circuit is coupled to the transmission chip internal terminal circuit, and is used to receive at least one control signal transmitted from a processor circuit, and use the at least one control signal to control the transmission chip internal terminal circuit as the output stage driving circuit to transmit and drive a transmission signal sent from the processor circuit of the flash memory controller through the input / output signal port to the flash memory, and is used to control the transmission chip internal terminal circuit as the input stage chip internal terminal circuit to generate and provide a matching terminal resistance for the input / output signal port.

[0005] According to an embodiment of the present invention, a flash memory controller is disclosed. The flash memory controller is externally coupled to a flash memory through an input / output signal port of the flash memory controller, and the flash memory controller includes the input / output signal port, a processor circuit and the input / output interface circuit mentioned above.

[0006] According to an embodiment of the present invention, a method for an input / output interface circuit is also disclosed. The input / output interface circuit is arranged in a flash memory controller and is externally coupled to the flash memory through an input / output signal port of the flash memory controller. The flash memory is coupled to the flash memory controller, and the method includes: providing a transmission chip internal terminal circuit to serve as an output stage driving circuit or an input stage chip internal terminal circuit; receiving at least one control signal transmitted from a processor circuit; using the at least one control signal to control the transmission chip internal terminal circuit to serve as the output stage driving circuit to transmit and drive a transmission signal sent from the processor circuit of the flash memory controller through the input / output signal port to the flash memory; and using the at least one control signal to control the transmission chip internal terminal circuit to serve as the input stage chip internal terminal circuit to generate and provide a matching terminal resistance for the input / output signal port. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 FIG. 4 is a circuit block diagram of an input / output interface circuit of an electronic device such as a flash memory controller according to an embodiment of the present invention.

[0008] Figure 2 According to an embodiment of the present invention Figure 1 A circuit diagram of the terminal circuit in the transmission chip.

[0009] Figure 3 FIG. 4 is a circuit diagram of a terminal circuit in a transmission chip according to another embodiment of the present invention.

[0010] Figure 4 According to an embodiment of the present invention Figure 1 Schematic diagram of the operation flow of the input / output interface circuit.

[0011]

Explanation of symbols

[0012] 100: Flash memory controller

[0013] 101: Flash memory

[0014] 103: Input / output interface circuit

[0015] 105: Processor circuit

[0016] 110: Control circuit

[0017] 115: Transmission chip internal terminal circuit

[0018] 120: receiving circuit

[0019] 125: Holding Circuit

[0020] 1151_0,1151_1,1151_2,1151_3,1151_4,1151_5~1151_N: Impedance circuit

[0021] 1152_0, 1152_1, 1152_2, 1152_3, 1152_4, 1152_5 to 1152_N: first multiplexer

[0022] 1153_0,1153_1,1153_2,1153_3,1153_4,1153_5~1153_N: Second multiplexer DETAILED DESCRIPTION

[0023] The present invention aims to provide a technical solution of a configurable, flexible and adjustable input / output interface circuit applied to an electronic device such as a flash memory controller chip circuit (not limited thereto), so as to meet the different requirements of different flash memory products and meet the specifications of different flash memory standards or meet the versions of different flash memory standards by using the same input / output circuit design. The input / output circuit design is related to an output driving and input on-dietermination / terminated (ODT) stage circuit mechanism, which can be used as either an output stage driving circuit or an input on-die termination resistor stage circuit.

[0024] Figure 1 FIG. 1 is a circuit block diagram of an input / output interface circuit 103 of an electronic device 100 such as a flash memory controller chip circuit according to an embodiment of the present invention.

[0025] The flash memory controller 100 includes at least one input / output signal port, a processor circuit 105, and at least one input / output interface circuit 103 corresponding to the at least one input / output signal port. The flash memory controller 100 is externally coupled to the flash memory 101 through an input / output signal port which may be a physical signal pad / pin. For example, the flash memory controller 100 may include a plurality of physical input / output signal pads / pins and a plurality of input / output interface circuits 103 respectively corresponding to the plurality of physical input / output signal pads / pins. In addition, the input / output interface circuit 103 includes a control circuit 110, a transmission and on-die termination (TX / ODT), hereinafter referred to as TX / ODT) circuit 115, a specific node N1 coupled to the input / output signal port, a receiving circuit 120, a retention circuit 125, a transmission node, a receiving node and a plurality of control nodes, wherein the plurality of control nodes are respectively coupled to a plurality of control signals TE, TR_DU, TR_DD, DU and DD.

[0026] The processor circuit 105 can execute or perform at least one firmware program and is used to transmit or send a transmission signal STX to the flash memory 101 through the input / output signal port and the input / output interface circuit 103, wherein the transmission signal STX can carry a digital waveform having a high voltage level and a low voltage level, the transmission signal STX is output from the input / output signal port and transmitted to the input / output interface circuit 103 through the transmission node, and then temporarily stored by the holding circuit 125. The transmission signal STX is then transmitted from the holding circuit 125 and transmitted to the input / output signal port through the TX / ODT circuit 115, and the TX / ODT circuit 115 is controlled by the control circuit 110 to serve as an output stage driving circuit for driving and outputting the transmission signal STX to the flash memory 101 through the input / output signal port.

[0027] Furthermore, when the flash memory 101 sends the receiving signal SRX to the flash memory controller 100 through the input / output signal port, the control circuit 110 controls the TX / ODT circuit 115 as an input-stage ODT circuit to provide a corresponding matching terminal resistance value to the receiving signal SRX, and the receiving signal SRX may also carry a digital waveform with a high voltage level and a low voltage level and will be received by the receiving circuit 120 and the holding circuit 125. The receiving signal SRX will also be temporarily held by the holding circuit 125 and then transmitted from the holding circuit 125 to the processor circuit 105 through the receiving node.

[0028] The transmission signal STX or the reception signal SRX may be used to carry at least one of communication information, flash memory commands, address information, and data of a specific data unit size (eg, page data, block data, etc.).

[0029] The TX / ODT circuit 115 is configured to operate as an output stage driving circuit or an input ODT stage circuit, and the control circuit 110 is configured to receive at least one control signal such as TE, TR_DU, TR_DD, DU and / or DD sent from a firmware program running on the processor circuit 105 to control the TX / ODT circuit 115 to provide output driving or input ODT resistance matching.

[0030] In addition, in one embodiment, the control circuit 110 can control the TX / ODT circuit 115 to form a first tapped termination structure in response to a first product specification requirement, and control the TX / ODT circuit 115 to form a second tapped termination structure in response to a second product specification requirement, and the second tapped termination structure is different from the first tapped termination structure. In one embodiment, the first tapped termination structure is a center tapped termination (CTT) structure, and the second tapped termination structure is a low tapped termination (LTT) structure. For example (but not limited to), the first product specification requirement defines the data interface of NV-DDR3, and the second product specification requirement defines the data interface of NV-LPDDR4.

[0031] Furthermore, in one embodiment, when the TX / ODT circuit 115 is used as the terminal-level circuit within the input chip, the control circuit 110 can control the TX / ODT circuit 115 to generate and provide different matching terminal resistance values ​​for the input / output signal port to meet different product specification requirements.

[0032] Furthermore, the control signals TE, TR_DU, TR_DD, DU and / or DD may be preset or adjusted through a firmware program according to the user's design requirements, so that the circuit design becomes more flexible and configurable.

[0033] refer to Figure 2 , Figure 2 According to an embodiment of the present invention Figure 1 FIG. 1 is a circuit diagram of the TX / ODT circuit 115. Figure 2In the embodiment, when the flash memory controller 100 operates in a signal transmission mode in which the input / output signal port is used as an output port, the TX / ODT circuit 115 is used as a transmitter circuit (i.e., an output stage driving circuit), and when the flash memory controller 100 operates in a signal reception mode in which the input / output signal port is used as an input port, the TX / ODT circuit 115 is used as a receiver impedance matching circuit, such as the input ODT stage circuit.

[0034] The TX / ODT circuit 115, for example, includes a plurality of impedance circuits 1151_0, 1151_1, ..., 1151_N, a plurality of first multiplexers 1152_0, 1152_1, ..., 1152_N, a plurality of second multiplexers 1153_0, 1153_1, ..., 1153_N, and the specific node N1, which is to be coupled between the holding circuit 125 and the input / output signal port.

[0035] exist Figure 2 In the embodiment, the plurality of impedance circuits 1151_0, 1151_1, ..., 1151_N may respectively include a plurality of first resistance units RU_0, RU_1, ..., RU_N, a plurality of first switch units SWU_0, SWU_1, ..., SWU_N, a plurality of second resistance units RD_0, RD_1, ..., RD_N, and a plurality of second switch units SWD_0, SWD_1, ..., SWD_N. The specific node N1 is coupled between the first resistance units RU_0, RU_1, ..., RU_N and the second resistance units RD_0, RD_1, ..., RD_N. In addition, each impedance circuit 1151_0, 1151_1, ..., 1151_N equivalently includes a corresponding first switch unit, a corresponding first resistance unit, a corresponding second switch unit, and a corresponding second resistance unit. The resistance values ​​of the different impedance circuits may be different from each other.

[0036] Each corresponding first multiplexer 1152_0, 1152_1, ..., 1152_N has a first input terminal coupled to and used for receiving a first control signal (e.g., a corresponding bit portion signal of the control signal TR_DU), a second input terminal coupled to and used for receiving a second control signal (e.g., a corresponding bit portion signal of the control signal DU), a control input terminal coupled to a setting signal such as the control signal TE, and an output terminal for transmitting and outputting the selected bit portion signal based on the setting signal TE to turn on / off the corresponding first switch unit. For example (but not limited to), when the setting signal TE indicates a logic voltage level “1”, the first multiplexer 1152_0 selects the one-bit partial signal TR_DU[0] of the control signal TR_DU as the control signal to turn on / off the first switch unit SWU_0, and when the setting signal TE indicates a logic voltage level “0”, the first multiplexer 1152_0 selects the one-bit partial signal DU[0] of the control signal DU as the control signal for turning on / off the first switch unit SWU_0. For example (but not limited to), the first switch unit SWU_0 is turned on and closed by the one-bit partial signal TR_DU[0] indicating a logic voltage level “1” or the one-bit partial signal DU[0] indicating a logic voltage level “1”, and the first switch unit SWU_0 is turned off and opened by the one-bit partial signal TR_DU[0] indicating a logic voltage level “0” or the one-bit partial signal DU[0] indicating a logic voltage level “0”. The operations of the other first multiplexers 1152_1, ..., 1152_N and the other first switch units SWU_1, ..., SWU_N are similar to the operations of the above-mentioned first multiplexer 1152_0 and the first switch unit SWU_0, and are not described again for the sake of brevity.

[0037] Similarly, each corresponding second multiplexer 1153_0, 1153_1, ..., 1153_N has a first input terminal coupled to and used to receive a third control signal (e.g., a corresponding bit portion signal of the control signal TR_DD), a second input terminal coupled to and used to receive a fourth control signal (e.g., a corresponding bit portion signal of the control signal DD), a control input terminal coupled to the setting signal (e.g., the control signal TE), and an output terminal for transmitting and outputting a selected bit portion signal based on the setting signal TE to turn on / off a corresponding second switch unit. For example (but not limited to), when the setting signal TE indicates a logic voltage level “1”, the second multiplexer 1153_0 selects the one-bit partial signal TR_DD[0] of the control signal TR_DD as a control signal for turning on / off the second switch unit SWD_0, and when the setting signal TE indicates a logic voltage level “0”, the second multiplexer 1153_0 selects the one-bit partial signal DD[0] of the control signal DD as a control signal for turning on / off the second switch unit SWD_0. For example (but not limited to), the second switch unit SWD_0 is turned on and closed by the one-bit partial signal TR_DD[0] indicating a logic voltage level “1” or the one-bit partial signal DD[0] indicating a logic voltage level “1”, and the second switch unit SWD_0 is turned off and opened by the one-bit partial signal TR_DD[0] indicating a logic voltage level “0” or the one-bit partial signal DD[0] indicating a logic voltage level “0”. The operations of the other second multiplexers 1153_1 , ..., 1153_N and the other second switch units SWD_1 , ..., SWD_N are similar to the operations of the second multiplexer 1153_0 and the second switch unit SWD_0 described above, and are not described again for the sake of brevity.

[0038] exist Figure 2In the impedance circuit 151_0, if the first switch unit, such as SWU_0, is in a closed state, the first switch unit, such as SWU_0, and the first resistor unit, such as RU_0, are coupled in series and are disposed between a first reference voltage level, such as a supply / power reference voltage level VREF, and the specific node N1 (connected to the input / output signal port and coupled to the holding circuit 125). In other embodiments, the positions of the first switch unit, such as SWU_0, and the first resistor unit, such as RU_0, can be interchanged. In addition, if the second switch unit SWD_0 is in a closed state, the second switch unit, such as SWD_0, and the second resistor unit, such as RD_0, are coupled in series and are disposed between a second reference voltage level, such as a ground voltage level, and the specific node N1 (connected to the input / output signal port and coupled to the holding circuit 125). In other embodiments, the positions of the second switch unit, such as SWD_0, and the second resistor unit, such as RD_0, can also be interchanged. The operation and circuit connection or structure of the circuit elements of other impedance circuits are similar to those of the impedance circuit 1151_0 and will not be described in detail for the sake of brevity.

[0039] In a scenario example, if the input / output interface circuit 103 operates in a signal receiving transmission mode (i.e., receiving mode) and when the TX / ODT circuit 115 is used as a receiving circuit 120 or an input ODT stage circuit of a receiving signal SRX, the setting signal TE sent by the processor circuit 105 and then output by the control circuit 110 indicates a logic voltage level / information "1". At this time, the on / off states of the first switch units SWU_0, SWU_1, ..., SWU_N are respectively controlled by a plurality of different bit-part signals TR_DU[0], TR_DU[1], ..., TR_DU[N], and the on / off states of the second switch units SWD_0, SWD_1, ..., SWD_N are respectively controlled by a plurality of different bit-part signals TR_DD[0], TR_DD[1], ..., TR_DD[N]. Therefore, the processor circuit 105 can send two control signals TR_DU and TR_DD to control the TX / ODT circuit 115 to provide or generate a better or optimal matching terminal resistance value for the receiving signal SRX from the flash memory 101 and passing through the input / output signal port and to be received by the receiving circuit 120.

[0040] For example (but not limited to), the first switch units SWU_0, SWU_1, ..., SWU_N and the second switch units SWD_0, SWD_1, ..., SWD_N can be implemented by metal oxide semiconductor field effect transistors (MOSFETs) respectively. In one embodiment, when the processor circuit 105 is used to control the TX / ODT circuit 115 to operate in the center tap terminal structure mode of the input ODT stage circuit, at least one first switch unit (such as SWU_0) and at least one second switch unit (such as SWD_0) arranged in at least one same impedance circuit are used as at least one pull-up MOS transistor and at least one pull-down MOS transistor, and can be controlled by the corresponding bit part signals TR_DU[0] and TR_DD[0] to be in a closed state. In another embodiment, when the processor circuit 105 is used to control the TX / ODT circuit 115 to operate in the low tap termination structure mode of the input ODT stage circuit, at least one first switch unit (e.g., SWU_0) and at least one second switch unit (e.g., SWD_0) disposed in at least one same impedance circuit can be controlled by the corresponding bit portion signals TR_DU[0] and TR_DD[0] to be in an open state and a closed state, respectively. That is, the first switch unit (e.g., SWU_0) will be open, and at least one second switch unit (e.g., SWD_0) will act as at least one pull-down MOS transistor. By doing so, the processor circuit 105 (or the flash memory controller 100) can dynamically operate in the center tap termination mode or the low tap termination mode in response to different product specification requirements and / or different specification standard versions. The design or configuration of the circuit will be flexible and configurable.

[0041] Alternatively, in another scenario example, if the input / output interface circuit 103 operates in the signal transmission mode (i.e., the transmission mode) and when the TX / ODT circuit 115 is used as an output stage driving circuit for the transmission signal STX, the setting signal TE issued by the processor circuit 105 and then output by the control circuit 110 indicates the logic voltage level / information "0". Therefore, in this case, the on / off state (or referred to as the conduction state) of the first switch units SWU_0, SWU_1, ..., SWU_N is respectively controlled by the different bit part signals DU[0], DU[1], ..., DU[N], and the on / off state (or referred to as the conduction state) of the second switch units SWD_0, SWD_1, ..., SWD_N is respectively controlled by the different bit part signals DD[0], DD[1], ..., DD[N]. As such, the processor circuit 105 can control the TX / ODT circuit 115 as a better or optimal signal driving circuit by transmitting two control signals DU and DD to drive and output the transmission signal STX to the flash memory 101 through the input / output signal port.

[0042] For example (but not limited to), similarly, the first switch units SWU_0, SWU_1, ..., SWU_N and the second switch units SWD_0, SWD_1, ..., SWD_N can be implemented by metal oxide semiconductor field effect transistors (MOSFETs) respectively. In one embodiment, when the processor circuit 105 is used to control the TX / ODT circuit 115 to operate in a center tap terminal structure mode of the output stage driver circuit, at least one first switch unit (such as SWU_0) and at least one second switch unit (such as SWD_0) arranged in at least one same impedance circuit will act as at least one pull-up MOS transistor and at least one pull-down MOS transistor, and can be controlled by corresponding bit part signals DU[0] and DD[0] respectively. In this case, at least one first switch unit (such as SWU_0) and at least one second switch unit (such as SWD_0) can be used to replace the functions and operations of the pull-up and pull-down MOS transistors of the conventional solution. That is, at least one first switch unit (eg, SWU_0 ) and at least one second switch unit (eg, SWD_0 ) can function as an output stage driver circuit having an input ODT circuit in the center-tap terminal architecture mode.

[0043] In another embodiment, when the processor circuit 105 is used to control the TX / ODT circuit 115 to operate in a low-tap termination structure mode of the output stage driver circuit, at least one first switch unit (e.g., SWU_0) and at least one second switch unit (e.g., SWD_0) disposed in at least one same impedance circuit can be used as at least one pull-up MOS transistor and at least one pull-down MOS transistor, and can be controlled by corresponding bit portion signals DU[0] and DD[0], respectively. Similarly, in this case, at least one first switch unit (e.g., SWU_0) and at least one second switch unit (e.g., SWD_0) can be used to replace the functions and operations of the pull-up and pull-down MOS transistors. That is, at least one second switch unit (e.g., SWD_0) can act as an output stage driver circuit with an input ODT circuit in the low-tap termination architecture mode. In this way, the processor circuit 105 (or the flash memory controller 100) can dynamically operate in the center-tap termination mode or the low-tap termination mode in response to different product specification requirements and / or different specification standard versions. The design or configuration of the circuit is flexible and configurable.

[0044] In one embodiment, the resistance values ​​of the first resistance units RU_0, RU_1, ..., RU_N may be different from each other, and the resistance values ​​of the second resistance units RD_0, RD_1, ..., RD_N may also be different from each other. In addition, the resistance values ​​of a first resistance unit and a second resistance unit in the same impedance circuit may be the same or different according to the user's design.

[0045] Based on the above operation, in response to different requirements of users for different product specifications, the processor circuit 105 can generate control signals such as TR_DU and TR_DD, and send different bit portion information carrying different product specifications to the input / output interface circuit 103 to control the TX / ODT circuit 115 to provide a first matching terminal resistance value for the receiving signal SRX in response to a first product specification or to provide a second matching terminal resistance value for the receiving signal SRX in response to a second product specification, and the second product specification is different from the first product specification. Similarly, the processor circuit 105 can generate and send control signals such as DU and DD carrying different bit portion information to the input / output interface circuit 103 for different product specifications, so as to control the TX / ODT circuit 115 to provide a third matching terminal resistance value for the transmission signal STX in response to the first product specification or to provide a fourth matching terminal resistance value for the transmission signal STX in response to the second product specification different from the first product specification. When the flash memory controller 100 is applied to and manufactured into different products, such a circuit design can become flexible and configurable according to different product specifications.

[0046] Figure 3 FIG. 1 is a circuit diagram of a TX / ODT circuit 115 according to another embodiment of the present invention. Figure 3 In the embodiment, the TX / ODT circuit 115 includes six impedance circuits 1151_0, 1151_1, 1151_2, 1151_3, 1151_4, 1151_5, six corresponding first multiplexers 1152_0, 1152_1, 1152_2, 1152_3, 1152_4, 1152_5 and six corresponding second multiplexers 1153_0, 1153_1, 1153_2, 1153_3, 1153_4, 1153_5. Each impedance circuit 1151_0, 1151_1, 1151_2, 1151_3, 1151_4, 1151_5 includes, for example Figure 3 For the sake of brevity, the multiple corresponding circuit elements shown are not described in detail. For example (but not limited to), the resistance values ​​of the first resistance units and the second resistance units are shown in the following table:

[0047]

[0048] R in the above table represents a reference resistance value configured. In this example, the resistance values ​​of the first resistance unit and the second resistance unit set in the same impedance circuit are set to be the same; however, this is not a limitation of the present invention. In addition, the resistance values ​​of the first resistance units respectively set in different impedance circuits are configured according to multiple weights of the binary number system, such as Similarly, the resistance values ​​of the second resistance units respectively arranged in different impedance circuits are also configured based on a plurality of weights of a binary digital system, for example Thus, the processor circuit 105 can control the states of the first switch units SWU_0, SWU_1, SWU_2, SWU_3, SWU_4, SWU_5 to provide different synthetic resistance values. For example (but not limited to), if only one switch unit SWU_0 is closed and the other switch units SWU_1, SWU_2, SWU_3, SWU_4, SWU_5 are open, then Figure 3 The combined resistance value of all the first resistance units in will be equal to R. If only the switch unit SWU_1 is closed and the other switch units SWU_0, SWU_2, SWU_3, SWU_4, and SWU_5 are open, then Figure 3 The combined resistance value of all the first resistance units in will be equal to If only two switch units SWU_0 and SWU_1 are closed and the remaining switch units SWU_2, SWU_3, SWU_4, and SWU_5 are open, then Figure 3 The combined resistance value of all the first resistance units in will be equal to If only switch unit SWU_2 is closed and the other switch units SWU_0, SWU_1, SWU_3, SWU_4, and SWU_5 are open, then Figure 3 The combined resistance value of all the first resistance units in will be equal to Similarly, if only switch units SWU_0 and SWU_2 are closed and the remaining switch units SWU_1, SWU_3, SWU_4, and SWU_5 are open, then Figure 3 The combined resistance value of all the first resistance units in will be equal to Similarly, if all first switch units are closed and none of the first switch units is open, then Figure 3 The combined resistance value of all the first resistance units in will be equal to By doing this, Figure 3 The combined resistance value of all the first resistance units in the circuit may be in a range from a maximum resistance value R to a minimum resistance value R. A 64-level control range. Similarly, Figure 3 The combined resistance value of all the second resistance units in the circuit may also be in the range from the maximum resistance value R to the minimum resistance value R. A 64-level control range. This effectively meets the different signal matching requirements of the transmission signal STX and the reception signal SRX. In addition, this also effectively reduces signal reflection, so that the signal quality can be significantly improved, the circuit cost can be reduced, and the circuit design can be more flexible, scalable and adjustable.

[0049] Figure 4 According to an embodiment of the present invention Figure 1 Assuming that substantially the same result is achieved, executing Figure 4 The steps of the flowchart shown do not need to be in the exact order shown and do not need to be continuous, that is, other steps can also be located in the middle. The detailed description of the steps is as follows:

[0050] Step S405: start;

[0051] Step S410: providing a transmission chip internal terminal circuit as an output stage driving circuit or an input stage chip internal terminal circuit;

[0052] Step S415: receiving at least one control signal transmitted from a processor circuit;

[0053] Step S417: Determine the mode in which the input / output interface circuit operates;

[0054] Step S420: using at least one control signal to control the terminal circuit in the transmission chip to serve as the output stage driving circuit to transmit and drive a transmission signal transmitted by the processor circuit of the flash memory controller through the input / output signal port to the flash memory;

[0055] Step S425: using at least one control signal to control the transmission chip internal terminal circuit as the input-level chip internal terminal circuit to generate and provide a matching terminal resistance value for the input / output signal port; and

[0056] Step S430: End.

[0057] The above are only preferred embodiments of the present invention. All equivalent changes and modifications made according to the scope of the patent application of the present invention should fall within the scope of the present invention.

Claims

1. An input / output interface circuit is disposed in a flash memory controller and coupled to a flash memory, the flash memory is externally coupled to the flash memory controller through an input / output signal port of the flash memory controller, and the input / output interface circuit comprises: A transmission chip internal terminal circuit, used as an output stage driving circuit or an input stage chip internal terminal circuit; as well as A control circuit is coupled to the transmission chip internal terminal circuit, and is used to receive at least one control signal transmitted from a processor circuit, and use the at least one control signal to control the transmission chip internal terminal circuit to act as the output stage driving circuit to transmit and drive a transmission signal sent from the processor circuit of the flash memory controller through the input / output signal port to the flash memory, and is used to control the transmission chip internal terminal circuit to act as the input stage chip internal terminal circuit to generate and provide a matching terminal resistance for the input / output signal port.

2. The input / output interface circuit according to claim 1, wherein: The control circuit controls the terminal circuit in the transmission chip to form a first tap terminal structure in response to a first product specification requirement, and controls the terminal circuit in the transmission chip to form a second tap terminal structure in response to a second product specification requirement, and the second tap terminal structure is different from the first tap terminal structure.

3. The input / output interface circuit according to claim 2, characterized in that: The first tap terminal structure is a center tap terminal structure, and the second tap terminal structure is a low tap terminal structure.

4. The input / output interface circuit according to claim 1, wherein: When the transmission chip internal terminal circuit is used as the input chip internal terminal circuit, the control circuit controls the transmission chip internal terminal circuit to generate and provide different matching terminal resistances for the input / output signal port in response to different product specification requirements.

5. The input / output interface circuit according to claim 1, wherein: The terminal circuit in the transmission chip includes: a plurality of first multiplexers, a corresponding first multiplexer having a first input terminal coupled to a first control signal sent from the processor circuit of the flash memory controller, a second input terminal coupled to a second control signal sent from the processor circuit, a control input terminal coupled to a setting signal sent from the processor circuit, and an output terminal, the corresponding first multiplexer being used to select the first control signal or the second control signal as an output signal according to the setting signal; a plurality of second multiplexers, a corresponding second multiplexer having a first input terminal coupled to a third control signal sent from the processor circuit of the flash memory controller, a second input terminal coupled to a fourth control signal sent from the processor circuit, a control input terminal coupled to the setting signal transmitted by the processor circuit, and an output terminal, the corresponding second multiplexer being used for selecting the third control signal or the fourth control signal as an output signal of the corresponding second multiplexer according to the setting signal; and A plurality of impedance circuits, a corresponding impedance circuit comprising: a corresponding first switch unit, coupled between a supply reference voltage level and a corresponding first resistor unit, a state of the corresponding first switch unit being controlled by the output signal of the corresponding first multiplexer; The corresponding first resistor unit has a corresponding first resistance value and is coupled between the corresponding first switch unit and the input / output signal port; a corresponding second switch unit coupled between a ground voltage level and a corresponding second resistor unit, a state of the corresponding second switch unit being controlled by the output signal of the corresponding second multiplexer; and The corresponding second resistor unit has a corresponding second resistance value and is coupled between the corresponding second switch unit and the input / output signal port; When the state of the corresponding first switch unit is closed, the corresponding first switch unit and the corresponding first resistor unit are connected in series between the supply reference voltage level and the input / output signal port; when the state of the corresponding second switch unit is closed, the corresponding second switch unit and the corresponding second resistor unit are connected in series between the ground voltage level and the input / output signal port.

6. The input / output interface circuit according to claim 5, characterized in that: The corresponding second resistance value is different from the corresponding first resistance value.

7. The input / output interface circuit according to claim 5, characterized in that: The resistance values ​​of the first resistance units in the impedance circuits are configured based on weights of a binary digital system, and the resistance values ​​of the second resistance units in the impedance circuits are also configured based on the weights of the binary digital system.

8. A flash memory controller externally coupled to a flash memory via an input / output signal port of the flash memory controller, and the flash memory controller comprises: The input / output signal port is externally coupled to the flash memory; a processor circuit; as well as An input / output interface circuit is coupled to the processor circuit and coupled to the flash memory, and the input / output interface circuit includes: A transmission chip internal terminal circuit, used as an output stage driving circuit or an input stage chip internal terminal circuit; as well as A control circuit is coupled to the transmission chip internal terminal circuit, and is used to receive at least one control signal transmitted from the processor circuit, and use the at least one control signal to control the transmission chip internal terminal circuit to act as the output stage driving circuit to transmit and drive a transmission signal sent from the processor circuit of the flash memory controller through the input / output signal port to the flash memory, and is used to control the transmission chip internal terminal circuit to act as the input stage chip internal terminal circuit to generate and provide a matching terminal resistance for the input / output signal port.

9. The flash memory controller according to claim 8, wherein: The control circuit controls the terminal circuit in the transmission chip to form a first tap terminal structure in response to a first product specification requirement, and controls the terminal circuit in the transmission chip to form a second tap terminal structure in response to a second product specification requirement, and the second tap terminal structure is different from the first tap terminal structure.

10. The flash memory controller according to claim 9, wherein: The first tap terminal structure is a center tap terminal structure, and the second tap terminal structure is a low tap terminal structure.

11. The flash memory controller according to claim 8, wherein: When the transmission chip internal terminal circuit is used as the input chip internal terminal circuit, the control circuit controls the transmission chip internal terminal circuit to generate and provide different matching terminal resistances for the input / output signal port in response to different product specification requirements.

12. The flash memory controller according to claim 8, wherein: The terminal circuit in the transmission chip includes: a plurality of first multiplexers, a corresponding first multiplexer having a first input terminal coupled to a first control signal sent from the processor circuit of the flash memory controller, a second input terminal coupled to a second control signal sent from the processor circuit, a control input terminal coupled to a setting signal sent from the processor circuit, and an output terminal, the corresponding first multiplexer being used to select the first control signal or the second control signal as an output signal according to the setting signal; a plurality of second multiplexers, a corresponding second multiplexer having a first input terminal coupled to a third control signal sent from the processor circuit of the flash memory controller, a second input terminal coupled to a fourth control signal sent from the processor circuit, a control input terminal coupled to the setting signal transmitted by the processor circuit, and an output terminal, the corresponding second multiplexer being used for selecting the third control signal or the fourth control signal as an output signal of the corresponding second multiplexer according to the setting signal; and A plurality of impedance circuits, a corresponding impedance circuit comprising: a corresponding first switch unit, coupled between a supply reference voltage level and a corresponding first resistor unit, a state of the corresponding first switch unit being controlled by the output signal of the corresponding first multiplexer; The corresponding first resistor unit has a corresponding first resistance value and is coupled between the corresponding first switch unit and the input / output signal port; a corresponding second switch unit coupled between a ground voltage level and a corresponding second resistor unit, a state of the corresponding second switch unit being controlled by the output signal of the corresponding second multiplexer; and The corresponding second resistor unit has a corresponding second resistance value and is coupled between the corresponding second switch unit and the input / output signal port; When the state of the corresponding first switch unit is closed, the corresponding first switch unit and the corresponding first resistor unit are connected in series between the supply reference voltage level and the input / output signal port; when the state of the corresponding second switch unit is closed, the corresponding second switch unit and the corresponding second resistor unit are connected in series between the ground voltage level and the input / output signal port.

13. The flash memory controller according to claim 12, wherein: The corresponding second resistance value is different from the corresponding first resistance value.

14. The flash memory controller according to claim 12, wherein: The resistance values ​​of the first resistance units in the impedance circuits are configured based on weights of a binary digital system, and the resistance values ​​of the second resistance units in the impedance circuits are also configured based on the weights of the binary digital system.

15. A method of an input / output interface circuit, the input / output interface circuit being disposed in a flash memory controller and externally coupled to the flash memory through an input / output signal port of the flash memory controller, the flash memory being coupled to the flash memory controller, and the method comprising: Providing a transmission chip internal terminal circuit to serve as an output stage driving circuit or an input stage chip internal terminal circuit; receiving at least one control signal transmitted from a processor circuit; Using the at least one control signal to control the transmission chip internal terminal circuit as the output stage driving circuit to transmit and drive a transmission signal sent from the processor circuit of the flash memory controller through the input / output signal port to the flash memory; and The at least one control signal is used to control the transmission chip internal termination circuit to serve as the input-level chip internal termination circuit to generate and provide a matching termination resistance for the input / output signal port.

16. The method according to claim 15, characterized in that include: In response to a first product specification requirement, controlling the terminal circuit in the transmission chip to form a first tap terminal structure; and In response to a second product specification requirement, the terminal circuit in the transmission chip is controlled to form a second tap terminal structure, and the second tap terminal structure is different from the first tap terminal structure.

17. The method according to claim 16, characterized in that The first tap terminal structure is a center tap terminal structure, and the second tap terminal structure is a low tap terminal structure.

18. The method according to claim 15, characterized in that include: When the transmission chip internal terminal circuit is used as the input-stage chip internal terminal circuit, the transmission chip internal terminal circuit is controlled to generate and provide different matching terminal resistances for the input / output signal port in response to different product specification requirements.