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, 5 Jun 2020 00:08:53 -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 0556wGDR022351; Fri, 5 Jun 2020 02:58:53 -0400 Received: from outgoing-exchange-3.mit.edu (OUTGOING-EXCHANGE-3.MIT.EDU [18.9.28.13]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 0556wE3r022346 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 5 Jun 2020 02:58:14 -0400 Received: from w92exedge4.exchange.mit.edu (W92EXEDGE4.EXCHANGE.MIT.EDU [18.7.73.16]) by outgoing-exchange-3.mit.edu (8.14.7/8.12.4) with ESMTP id 0556xZbZ003770 for ; Fri, 5 Jun 2020 02:59:35 -0400 Received: from w92expo19.exchange.mit.edu (18.7.74.73) by w92exedge4.exchange.mit.edu (18.7.73.16) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Fri, 5 Jun 2020 02:57:33 -0400 Received: from oc11exhyb8.exchange.mit.edu (18.9.1.113) by w92expo19.exchange.mit.edu (18.7.74.73) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Fri, 5 Jun 2020 02:58:13 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.172) by oc11exhyb8.exchange.mit.edu (18.9.1.113) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Fri, 5 Jun 2020 02:58:13 -0400 Received: from MWHPR04CA0050.namprd04.prod.outlook.com (2603:10b6:300:6c::12) by MWHPR01MB3309.prod.exchangelabs.com (2603:10b6:300:fc::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.19; Fri, 5 Jun 2020 06:58:11 +0000 Received: from CO1NAM03FT046.eop-NAM03.prod.protection.outlook.com (2603:10b6:300:6c:cafe::bc) by MWHPR04CA0050.outlook.office365.com (2603:10b6:300:6c::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.19 via Frontend Transport; Fri, 5 Jun 2020 06:58:11 +0000 Received: from mail-ej1-f51.google.com (209.85.218.51) by CO1NAM03FT046.mail.protection.outlook.com (10.152.81.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.18 via Frontend Transport; Fri, 5 Jun 2020 06:58:10 +0000 Received: by mail-ej1-f51.google.com with SMTP id q19so8869749eja.7 for ; Thu, 04 Jun 2020 23:58:10 -0700 (PDT) From: David C Brown To: Microcontroller discussion list - Public. Sender: "piclist-bounces@mit.edu" Date: Thu, 4 Jun 2020 23:57:56 -0700 Subject: Re: [EE] Detecting a change of level on four lines with digital logic/analog circuitry? Thread-Topic: [EE] Detecting a change of level on four lines with digital logic/analog circuitry? Thread-Index: AdY7CCxklhWJU/DbT6CbSEh5NnlUaw== Message-ID: References: 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 gmail.com designates 209.85.218.51 as permitted sender) receiver=protection.outlook.com; client-ip=209.85.218.51; helo=mail-ej1-f51.google.com; dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=nX7jyObCJjlInQLY5xMTemkxBVb0ukhh+Cn/y6yEURQ=; b=eZTB3IcTFMz3gopt/WF6moKCXdEDu7Q4YPnRxccyCn4S+SlIbc/IL/LKZ3dM0EOlJr +aeQl4jnMgiUXmSRtIEV7i4tBfC91H2H1b6IPi0CSScCINMr2soVTOarXeCpQnvNU3XA aa2472X67hI7ajo3kgGCegHQ6mrQ/HOK0agQpm+KnvzrLpkLZMMuD7YEm1zUpBt1anCZ 3oXbDF74AuSYGgOtx4/0KVEKO6+Klr8Eib3kcNqFVdOQLbdvix/zvW6rK+7pmon28mDH 175zSTUSdDc1PZLLskysgWzLDSyb/ud6rK6EhySVAd9E+ebPwjhq9qRYDw5p0gzR5E5S QdqQ== authentication-results: spf=pass (sender IP is 209.85.218.51) smtp.mailfrom=gmail.com; mit.edu; dkim=pass (signature was verified) header.d=gmail.com;mit.edu; dmarc=pass action=none header.from=gmail.com;compauth=pass reason=100 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:a17:906:ecef:: with SMTP id qt15mr7095542ejb.91.1591340288770; Thu, 04 Jun 2020 23:58:08 -0700 (PDT) x-topics: [EE] x-content-filtered-by: Mailman/MimeDel 2.1.6 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 How much latency is acceptable. And is the output pulse retriggerable. Would using an 8 pin PIC to sample and digitally compare the inputs be too slow? With a 32MHz part you would be able to keep the latency under a micro second. __________________________________________ David C Brown 43 Bings Road Whaley Bridge High Peak Phone: 01663 733236 Derbyshire eMail: dcb.home@gmail.com SK23 7ND web: www.bings-knowle.co.uk/dcb *Sent from my etch-a-sketch* On Thu, 4 Jun 2020 at 21:38, Jason White wrote: > Hi everyone, > > I have an application where I need to generate at pulse least 1 microseco= nd > long any time a rising or falling edge is detected on four digital lines. > The four signals can change at any time to any direction. The pulse is us= ed > to trigger a timer providing a reset signal to the rest of the system. > Microcontrollers and programmable logic devices aren't allowed. > > Four 74HC123s will do it, but are too big. > Four window comparators monitoring the signal through an RC will do it, b= ut > also seems too big. > > Is four schmitt trigger XOR gates with four RC's the smallest > implementation? > > I was thinking some sort of analog implementation might be able to do it > smaller. But AC coupling the four signals together would allow them to > cancel out. Perhaps a 4-bit encoder/decoder or multiplexer might do it > better? > > Regards, > Jason White > -- > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=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 .