Method for adjusting pull resistors of an electronic module
10416738 ยท 2019-09-17
Assignee
Inventors
- Friedrich Eppensteiner (Spitz, AT)
- Majid Ghameshlu (Vienna, AT)
- Martin Matschnig (Tulln, AT)
- Herbert Taucher (Moedling, AT)
Cpc classification
H03K17/22
ELECTRICITY
G06F21/70
PHYSICS
International classification
H03K17/22
ELECTRICITY
G06F21/70
PHYSICS
Abstract
A method for adjusting a pull resistor on a contact terminal of an electronic module arranged on a printed circuit board, in particular an ASIC, after initiating a restart of the electronic module which, during a run-up process, moves the electronic module from a switched-off state into a switched-on state, wherein after initiating a restart during the run-up process from a partial circuit arranged on the electronic module and operationally ready during the run-up process, adjustment information relating to a desired adjustment of the pull resistor is retrieved from a storage unit arranged on the printed circuit board outside of the electronic module and transmitted via a contact line between the electronic module and the storage unit, where the run-up process of the electronic module is only completed after successful adjustment of the respective pull resistor based on basis the retrieved adjustment information.
Claims
1. A method for adjusting a pull resistor on a contact terminal of an electronic module arranged on a printed circuit board after initiation of a restart of the electronic module, which during a run-up process changes the electronic module from a switched-off state into a switched-on state, the method comprising: initiating the restart of the electronic module during the run-up process from a partial circuit which is arranged on the electronic module and which is operationally ready during the run-up process; and retrieving adjustment information relating to a desired adjustment of the pull resistor from a storage unit arranged on the printed circuit board and externally outside of the electronic module, said adjustment information being transmitted via a contact line between the electronic module and the storage unit, after said restart initiated during the run-up process from the partial circuit which is arranged on the electronic module and which is operationally ready during the run-up process; wherein the run-up process of the electronic module is only completed after successful adjustment of the respective pull resistor based the retrieved adjustment information.
2. The method as claimed in claim 1, wherein after initiating the restart, an input/output (I/O) terminal of the storage unit connected to the contact line to the electronic module is operated as an input during the run-up process and is operated as an output after receiving a command from the partial circuit of the electronic module to transmit the adjustment information during the run-up process.
3. The method as claimed in claim 1, wherein after initiating the restart during the run-up process, a further contact terminal of the electronic module connected to the contact line to the storage unit is converted into an input/output (I/O) terminal.
4. The method as claimed in claim 2, wherein after initiating the restart during the run-up process, a further contact terminal of the electronic module connected to the contact line to the storage unit is converted into an input/output (I/O) terminal.
5. The method as claimed in claim 1, wherein when the adjustment information is transmitted, a test value for the data of the adjustment information is also transmitted, with which, after the adjustment information is retrieved by the electronic module, a check for error-free transmission and storage of the adjustment information is performed, wherein the run-up process is only completed with an error-free transmission and storage of the adjustment information.
6. The method as claimed in claim 2, wherein when the adjustment information is transmitted, a test value for the data of the adjustment information is also transmitted, with which, after the adjustment information is retrieved by the electronic module, a check for error-free transmission and storage of the adjustment information is performed, wherein the run-up process is only completed with an error-free transmission and storage of the adjustment information.
7. The method as claimed in claim 3, wherein when the adjustment information is transmitted, a test value for the data of the adjustment information is also transmitted, with which, after the adjustment information is retrieved by the electronic module, a check for error-free transmission and storage of the adjustment information is performed, wherein the run-up process is only completed with an error-free transmission and storage of the adjustment information.
8. The method as claimed in claim 1, wherein the adjustment information is transmitted encrypted and authenticated between the storage unit and the electronic module; and wherein the run-up process is only completed with an error-free decryption and authentication check of the adjustment information.
9. The method as claimed in claim 1, wherein the electronic module comprises an application specific integrated circuit (ASIC).
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) To further explain the invention, reference is made in the following part of the description to the figures, from which further advantageous embodiments, details and developments of the invention can be inferred, in which:
(2)
(3)
DETAILED DESCRIPTION OF THE EXEMPLARY EMBODIMENTS
(4) With reference to
(5) In fact, the electronic module 1 includes a plurality of contact lines 5, which each extend from contact terminals 4 of the electronic module 1 to the printed circuit board 7, even if for the sake of clarity in
(6) The contact line 5.1 depicted in
(7) The contact terminals 4 are also provided with a buffer 3, which is arranged in each case at the output of the electronic module 1 and which drives the relevant contact line 5 (in
(8)
(9) One important variable is the state that the contact terminals 4 (also referred to as pins or ports) assume during a reset, i.e., during the switch-on process or when a reset button is actuated. Each individual contact terminal 4 generally has, in each case, a pull-up resistor Rpu or pull-down resistor Rpd, which can be activated or deactivated separately for each contact terminal 4. These pull resistors restrict the current that flows through the respective contact terminal 4 if the relevant contact terminal 4 is used as an input or output. If an external peripheral is to be controlled, it must likewise be known whether and how these pull resistors are configured.
(10) Therefore, within the scope of the present invention, the use of an external storage unit 6 is implemented, which is connected via a contact line 5.6 and the soldered connection 8.6 to the contact terminal 4.6 of the electronic module 1. In turn, the contact terminal 4.6 is connected to a buffer 3.6 assigned thereto, which is controlled by a partial circuit 2 of the electronic module 1. After initiating the restart during the run-up process, the functional contact terminal 4.6 of the electronic module 1 that is connected to the contact line 5.6 to the storage unit 6 is converted into an I/O terminal. The partial circuit 2 continues to retrieve the adjustment information for the pull resistors, inter alia, for the pull-up resistor Rpu shown in
(11) For this purpose, the storage unit 6 can be formed extremely simply, because it is only required to keep the adjustment information for the pull resistors ready, inter alia, for the pull-up resistor Rpu shown in
(12) To increase the data security, a test value for the data of the adjustment information can also be determined prior to transmitting the adjustment information, with the adjustment data being stored in the storage unit 6 and, when the adjustment information is retrieved, being transmitted by the electronic module 1 in addition to the adjustment information. With the aid of the test value, the error-free transmission and storage of the adjustment information is checked, where the run-up process is only completed with an error-free transmission and storage of the adjustment information. In a further embodiment, the adjustment information is transmitted in encrypted form between the storage unit 6 and the electronic module 1, where the run-up process is only completed with an error-free decryption of the adjustment information.
(13) An external storage unit 6 is thus provided, in which adjustment information relating to the desired adjustments of the pull resistors, inter alia, for the pull-up resistor Rpu shown in
(14) A method for adjusting the pull resistors of an electronic module 1, which reliably prevents an unwanted adjustment of the pull resistors after a reset of the electronic module 1 and in particular ensures that the pull resistors of the electronic module 1 are already adjusted correctly immediately after the reset, is thus provided with via the disclosed embodiments of the invention. Here, an application-dependent protective circuit of the circuit board with pull resistors can be omitted, as a result of which cost advantages result. The prompt correct adjustment of the pull resistors for the contact terminals 4 after a reset is instead not reached by hardware measures but, instead, by corresponding programming of the electronic module 1.
(15)
(16) In accordance with the invention, the run-up process of the electronic module (1) is only completed after successful adjustment of the respective pull resistor (Rpu) based the retrieved adjustment information.
(17) While there have been shown, described and pointed out fundamental novel features of the invention as applied to a preferred embodiment thereof, it will be understood that various omissions and substitutions and changes in the form and details of the methods described and the devices illustrated, and in their operation, may be made by those skilled in the art without departing from the spirit of the invention. For example, it is expressly intended that all combinations of those elements and/or method steps which perform substantially the same function in substantially the same way to achieve the same results are within the scope of the invention. Moreover, it should be recognized that elements and/or method steps shown and/or described in connection with any disclosed form or embodiment of the invention may be incorporated in any other disclosed or described or suggested form or embodiment as a general matter of design choice. It is the intention, therefore, to be limited only as indicated by the scope of the claims appended hereto.