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; Fri, 23 Jul 2021 04:50:43 -0700 Received: from PCH.MIT.EDU (localhost.localdomain [127.0.0.1]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 16NBeSdH024836; Fri, 23 Jul 2021 07:41:21 -0400 Received: from outgoing-exchange-7.mit.edu (OUTGOING-EXCHANGE-7.MIT.EDU [18.9.28.58]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 16NBeQTA024832 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 23 Jul 2021 07:40:27 -0400 Received: from oc11exedge1.exchange.mit.edu (OC11EXEDGE1.EXCHANGE.MIT.EDU [18.9.3.17]) by outgoing-exchange-7.mit.edu (8.14.7/8.12.4) with ESMTP id 16NBeQgV001725 for ; Fri, 23 Jul 2021 07:40:26 -0400 Received: from oc11expo26.exchange.mit.edu (18.9.4.97) by oc11exedge1.exchange.mit.edu (18.9.3.17) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Fri, 23 Jul 2021 07:40:30 -0400 Received: from oc11exhyb8.exchange.mit.edu (18.9.1.113) by oc11expo26.exchange.mit.edu (18.9.4.97) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Fri, 23 Jul 2021 07:40:25 -0400 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.102) by oc11exhyb8.exchange.mit.edu (18.9.1.113) with Microsoft SMTP Server (TLS) id 15.0.1497.23 via Frontend Transport; Fri, 23 Jul 2021 07:40:25 -0400 Received: from MW3PR06CA0014.namprd06.prod.outlook.com (2603:10b6:303:2a::19) by CO2PR01MB2069.prod.exchangelabs.com (2603:10b6:102:8::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.29; Fri, 23 Jul 2021 11:40:24 +0000 Received: from CO1NAM11FT019.eop-nam11.prod.protection.outlook.com (2603:10b6:303:2a:cafe::fa) by MW3PR06CA0014.outlook.office365.com (2603:10b6:303:2a::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.29 via Frontend Transport; Fri, 23 Jul 2021 11:40:24 +0000 Received: from mail-wm1-f41.google.com (209.85.128.41) by CO1NAM11FT019.mail.protection.outlook.com (10.13.175.57) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.24 via Frontend Transport; Fri, 23 Jul 2021 11:40:24 +0000 Received: by mail-wm1-f41.google.com with SMTP id o3-20020a05600c5103b029024c0f9e1a5fso3063166wms.4 for ; Fri, 23 Jul 2021 04:40:24 -0700 (PDT) Received: from raspberry (cpc113460-oxfd27-2-0-cust322.4-3.cable.virginm.net. [86.24.157.67]) by smtp.gmail.com with ESMTPSA id w18sm35114183wrg.68.2021.07.23.04.40.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jul 2021 04:40:22 -0700 (PDT) From: Alan Pearce To: "piclist@mit.edu" Sender: "piclist-bounces@mit.edu" Date: Fri, 23 Jul 2021 04:40:18 -0700 Subject: Re: [PIC] Automotive RS-485 & PIC18F25K80 Thread-Topic: [PIC] Automotive RS-485 & PIC18F25K80 Thread-Index: Add/uPg8IP4sT95eQlevgoZwjf8x5w== Message-ID: <20210723124018.41509231@raspberry> References: <929F10AE-E5A5-452D-8573-34F012953A78@contoso.com> <5078D101-F751-4BCB-922F-A49E38AD6313@kiramek.com> List-Help: List-Subscribe: , List-Unsubscribe: , In-Reply-To: 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: Pass (protection.outlook.com: domain of googlemail.com designates 209.85.128.41 as permitted sender) receiver=protection.outlook.com; client-ip=209.85.128.41; helo=mail-wm1-f41.google.com; dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:date:to:subject:message-id:in-reply-to:references:organization :mime-version:content-transfer-encoding; bh=I+skNcFUzSO4SGrkuPIdSums2pgA8/+GDcqkzZSBUkY=; b=RzPVoHW5hJKc+MesuKRia9kFFuhEIX8qpGvPGHZF3wUFt6Qj+o3Bh0uzdZemQ6HLZE KdbvJADvgnH2upOXPB1Xwlw0tNHE1j4D0T8slOyvYs6xHr1lquiKGAwjlT/pDtEZxLuA 23Fnny6NblGNF6lNgvuz4vSvKI3o2pt6fL+e1QjKQXMot29xRFD5FUk//quTMexPQB3I 0QZ6K81+gNb6sqBPCPutYmdyny+Gpt2MPl7UTAxS1XnC4QdhxmCuW4v9/6b86p9CZY8e uAMVjjzqEl+JzmpxC2MJkz0JlayY5IHl/XmtXpJaxNV1j26jjmBL5UZXUd/Q98wiCaj+ t01Q== authentication-results: spf=pass (sender IP is 209.85.128.41) smtp.mailfrom=googlemail.com; mit.edu; dkim=pass (signature was verified) header.d=googlemail.com;mit.edu; dmarc=pass action=none header.from=googlemail.com; 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-received: by 2002:a7b:c8d2:: with SMTP id f18mr4031660wml.135.1627040422934; Fri, 23 Jul 2021 04:40:22 -0700 (PDT) x-topics: [PIC] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 On Fri, 23 Jul 2021 08:56:45 +0900 James Wages wrote: .... > On the "interface" PCB I have been discussing (which connects to > Toyota "Display Audio"), I see the following: PIC pin 23 connects to > DI on the ADM3078E chip. PIC pin 25 connects to RE* & DE on the > ADM3078E, which are tied together. *RE "NOT" >=20 > As per the PIC Datasheet... > Pin 25 =3D RB4/AN9/C2INA/ECCP1/P1A/CTPLS/KBI0 > Pin 23 =3D RB2/CANTX/C1OUT/P1C/CTED1/INT2 .... > Madscientistatlarge, you suggested it could be a CAN protocol. But > if that were true, I would expect both CANTX and CANRX to be used. > But while Pin-23 supports CANTX, Pin-25 does not support CANRX. Step back a minute and look at the ADM chip pin functions. DE and /RE are the data direction pins for the ADM, so when they are low it is receiving and when high it is transmitting (or the other way around - check datasheet). This means that DI is a data pin. Now I haven't checked the data sheet, but this could be a bidirectional data pin (direction dependant on DE and /RE) or seeing it is DI I would take that to be Data In, i.e. that may be the transmit data pin. So it could still be a CANTx, but what would initiate a transmission? As the ADM chip uses logic levels you can leave all the analogue functions of bot PIC pins out of the equation. Are you sure there is not another pin on the ADM chip connected to what would be the CANRx pin on the PIC? Checked pin to pin with an ohmmeter? Does this board go between the DVD unit and the rest of the system, i.e. a pass through for the digital audio to the head unit? If so that is more likely to make the communication stream CAN I would have thought, but could still be some proprietary protocol. If this board doesn't act as a passthrough for the audio how is the audio fed into the rest of the unit? --=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 .