Received: from PCH.mit.edu (18.7.21.50) by mail.efplus.com (192.168.0.8) with Microsoft SMTP Server (TLS) id 8.3.485.1; Sat, 4 Jan 2020 22:51:03 -0800 Received: from PCH.MIT.EDU (localhost.localdomain [127.0.0.1]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 0056dUGN026178; Sun, 5 Jan 2020 01:42:20 -0500 Received: from outgoing-exchange-1.mit.edu (OUTGOING-EXCHANGE-1.MIT.EDU [18.9.28.15]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 0056dS0K026173 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Sun, 5 Jan 2020 01:39:28 -0500 Received: from w92exedge4.exchange.mit.edu (W92EXEDGE4.EXCHANGE.MIT.EDU [18.7.73.16]) by outgoing-exchange-1.mit.edu (8.14.7/8.12.4) with ESMTP id 0056dp4Q030648 for ; Sun, 5 Jan 2020 01:39:51 -0500 Received: from w92exhyb3.exchange.mit.edu (18.7.71.73) by w92exedge4.exchange.mit.edu (18.7.73.16) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Sun, 5 Jan 2020 01:37:35 -0500 Received: from oc11exhyb2.exchange.mit.edu (18.9.1.98) by w92exhyb3.exchange.mit.edu (18.7.71.73) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Sun, 5 Jan 2020 01:39:27 -0500 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.169) by oc11exhyb2.exchange.mit.edu (18.9.1.98) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Sun, 5 Jan 2020 01:39:27 -0500 Received: from BL0PR0102CA0058.prod.exchangelabs.com (2603:10b6:208:25::35) by SN2PR01MB1997.prod.exchangelabs.com (2603:10b6:804:a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.12; Sun, 5 Jan 2020 06:39:25 +0000 Received: from CO1NAM03FT060.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e48::202) by BL0PR0102CA0058.outlook.office365.com (2603:10b6:208:25::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.15 via Frontend Transport; Sun, 5 Jan 2020 06:39:25 +0000 Received: from premium47-1.web-hosting.com (68.65.123.241) by CO1NAM03FT060.mail.protection.outlook.com (10.152.81.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.11 via Frontend Transport; Sun, 5 Jan 2020 06:39:24 +0000 Received: from 072-238-001-037.res.spectrum.com ([72.238.1.37]:62042 helo=[192.168.10.103]) by premium47.web-hosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1inzZE-0016Hm-7F; Sun, 05 Jan 2020 01:39:20 -0500 From: Neil To: Microcontroller discussion list - Public. Sender: "piclist-bounces@mit.edu" Date: Sat, 4 Jan 2020 22:39:14 -0800 Subject: [EE] MCP2551 CANbus driver behaviour Thread-Topic: [EE] MCP2551 CANbus driver behaviour Thread-Index: AdXDlH+MQgmhx2kkQ2mooldaz8zx0g== Message-ID: <5E118492.6050800@narwani.org> List-Help: List-Subscribe: , List-Unsubscribe: , Reply-To: Microcontroller discussion list - Public. Accept-Language: en-US X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Exchange-Organization-AuthSource: TS500.efplus4.local X-MS-Has-Attach: X-Auto-Response-Suppress: All X-MS-Exchange-Organization-SenderIdResult: Pass X-MS-Exchange-Organization-PRD: mit.edu X-MS-TNEF-Correlator: received-spf: None (protection.outlook.com: narwani.org does not designate permitted sender hosts) dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=narwani.org ; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date: Message-ID:To:Subject:From:Reply-To:Sender:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=j+grC3LsSL00TDOZKYvJ/aEtCJ6XjSR8mmvL6Ccbk4w=; b=K0ToM9k6ZeGg0GOR4a/mOTbpVP I0gV7bynOaezmcbzdEIzY71E+uVr+ulwl1uR6fL4e4O/K7GdvNjulvZ0qx7pou8hsOZtr8YLgqo9e 6NzIOuGjDGoZ50zVtSd5xkd/YANTBEF9VzRGsk54SQXa4KF4Xuza7I9I55r+E8hZRSMtEAB9GSA80 AeDKbDh94fdHMfhIIp23mKVKwRDeEq3q+QnwZwPYFT2Jky2ziFcLtLU+iqBCYFUeYOkYXoL1XV1cV QCkvbSO6s3XHoYW3zJJ1j+2Y+yNkIS7EkBozoNpxOmNyIQv8K23iYu5GeHBkubohsGTQIQUOJZdD1 nCep9w0w==; authentication-results: spf=none (sender IP is 68.65.123.241) smtp.mailfrom=narwani.org; mit.edu; dkim=pass (signature was verified) header.d=narwani.org;mit.edu; dmarc=bestguesspass action=none header.from=narwani.org;compauth=pass reason=109 user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 errors-to: piclist-bounces@mit.edu list-id: "Microcontroller discussion list - Public." list-post: x-beenthere: piclist@mit.edu x-mailman-version: 2.1.6 x-source-args: x-source-dir: x-antiabuse: Sender Address Domain - narwani.org x-source: x-authenticated-sender: premium47.web-hosting.com: ca4@narwani.org x-topics: [EE] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hi, Tinkering with an MCP2551 CAN driver chip on a breadboard and the=20 behaviour is not what I expect... First, I've got 5V and ground to Vdd and Vss resp., a 20k resistor on Rs=20 to ground, and a 120-ohm resistor across CANH and CANL. Second, the datasheet is here...=20 http://ww1.microchip.com/downloads/en/DeviceDoc/20001667G.pdf Table 1-2 (truth table) says that I should get a differential voltage=20 (~2V as per CAN spec) when TXD is low, and I expect that it will be=20 continuous, but I get a spike for a few ms (haven't actually measured=20 the time) What an I missing or misinterpreting here? Cheers, -Neil. --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .