Hilfe: Bustreiber de/aktivierung

Gast #553173
Lesenswert?
• ▲
▼
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
Persönliche Seite #553234
Lesenswert?
• ▲
▼
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.

Antwort schreiben

Hinweis: der ursprüngliche Beitrag ist mehr als 6 Monate alt. Bitte hier nur auf die ursprüngliche Frage antworten, für neue Fragen einen neuen Beitrag erstellen.

Formatierung
  • [c]C-Code[/c]
  • [code]Code in anderen Sprachen, ASCII-Zeichnungen[/code]
  • [math]Formel in LaTeX-Syntax[/math]
  • [[Titel]] – Link zu einem Artikel
  • Verweis auf einen anderen Beitrag: Rechtsklick auf dessen Beitrags-ID (#8078628), „Adresse kopieren“, in den Text einfügen

Mehr zur Formatierung

Längeren Sourcecode als Anhang, nicht in den Text. JPG nur für Fotos und Scans; Zeichnungen und Screenshots als PNG oder GIF. Siehe Bildformate.

Schon registriert? Anmelden

Wird nicht angezeigt. Wir schicken dir einen Link; sobald du damit bestätigst, erscheint dein Beitrag.

Mit dem Abschicken legst du einen kostenlosen Account an und erkennst die Nutzungsbedingungen und die Datenschutzerklärung an.