Hi, könntet ihr mir erklären, wie ich einen bustreiber (z.B. mcp2551 oder pca82c250) mit dem µC akitiviere und deaktiviere? Mir wurde gesagt, dies wäre mit dem RS-Pin möglich - aber wie? Was ist für den Bustreiber wichtig, um in den disable/slopeCtrl/normal - mode zu gehen. 1. Misst der bustreiber den strom, der an seinem RS-Pin fließt (Wenn ja, ist der Pin auf 5V [im Moment habe ich RS-Pin auf Masse]) -> würde da ja nen kurzen geben???? 2. Misst er die Spannung (konstantstromquelle in bustreiber) -> dann irritiert mich die angabe im datenblatt mit Irs bei RS = ??? Könnte mir einer kurz erläutern, was da im Bustreiber vor sich geht. Dankeschön Gruß Olli
Was hält Dich davon ab, einen Blick ins Datenblatt des PCA82C250 zu werfen? In dem steht auf Seite 4
1 | Pin 8 (Rs) allows three different modes of operation to be |
2 | selected: |
3 | high-speed, slope control or standby. |
4 | |
5 | For high-speed operation, the transmitter output |
6 | transistors are simply switched on and off as fast as |
7 | possible. In this mode, no measures are taken to limit the |
8 | rise and fall slope. Use of a shielded cable is |
9 | recommended to avoid RFI problems. |
10 | |
11 | The high-speed |
12 | mode is selected by connecting pin 8 to ground. |
13 | |
14 | For lower speeds or shorter bus length, an unshielded |
15 | twisted pair or a parallel pair of wires can be used for the |
16 | bus. To reduce RFI, the rise and fall slope should be |
17 | limited. The rise and fall slope can be programmed with a |
18 | resistor connected from pin 8 to ground. The slope is |
19 | proportional to the current output at pin 8. |
20 | |
21 | * If a HIGH level is applied to pin 8, the circuit enters a low * |
22 | * current standby mode. In this mode, the transmitter is * |
23 | * switched off and the receiver is switched to a low current. * |
24 | |
25 | |
26 | If dominant bits are detected (differential bus voltage |
27 | >0.9 V), RXD will be switched to a LOW level. |
28 | The microcontroller should react to this condition by |
29 | switching the transceiver back to normal operation (via |
30 | pin 8). Because the receiver is slow in standby mode, the |
31 | first message will be lost. |
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.