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 03:53:37 -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 055AjSDk022384; Fri, 5 Jun 2020 06:45:30 -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 055AjQhg022376 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 5 Jun 2020 06:45:27 -0400 Received: from oc11exedge2.exchange.mit.edu (OC11EXEDGE2.EXCHANGE.MIT.EDU [18.9.3.18]) by outgoing-exchange-3.mit.edu (8.14.7/8.12.4) with ESMTP id 055AkaFi020897 for ; Fri, 5 Jun 2020 06:46:49 -0400 Received: from w92exhyb7.exchange.mit.edu (18.7.71.112) by oc11exedge2.exchange.mit.edu (18.9.3.18) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Fri, 5 Jun 2020 06:45:05 -0400 Received: from oc11exhyb7.exchange.mit.edu (18.9.1.112) by w92exhyb7.exchange.mit.edu (18.7.71.112) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 5 Jun 2020 06:45:25 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.171) by oc11exhyb7.exchange.mit.edu (18.9.1.112) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Fri, 5 Jun 2020 06:45:25 -0400 Received: from MWHPR20CA0016.namprd20.prod.outlook.com (2603:10b6:300:13d::26) by BL0PR01MB5091.prod.exchangelabs.com (2603:10b6:208:64::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.18; Fri, 5 Jun 2020 10:45:24 +0000 Received: from CO1NAM03FT015.eop-NAM03.prod.protection.outlook.com (2603:10b6:300:13d:cafe::58) by MWHPR20CA0016.outlook.office365.com (2603:10b6:300:13d::26) 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 10:45:23 +0000 Received: from mail-ed1-f53.google.com (209.85.208.53) by CO1NAM03FT015.mail.protection.outlook.com (10.152.80.167) 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 10:45:23 +0000 Received: by mail-ed1-f53.google.com with SMTP id g1so7080396edv.6 for ; Fri, 05 Jun 2020 03:45:23 -0700 (PDT) Received: by 2002:a54:3a43:0:0:0:0:0 with HTTP; Fri, 5 Jun 2020 03:45:20 -0700 (PDT) From: Jason White To: Microcontroller discussion list - Public. Sender: "piclist-bounces@mit.edu" Date: Fri, 5 Jun 2020 03:45:20 -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: AdY7J5D9hexNCwQ9RSejvLsHeqKFsA== 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.208.53 as permitted sender) receiver=protection.outlook.com; client-ip=209.85.208.53; helo=mail-ed1-f53.google.com; dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=vs2za+oVwk978m0cKTD9qGC6tTQbqBtBU+xf55pVXFA=; b=HkeMnLXD/j/Z8FkzBkXqLkKxuUwLSxgfv72WfBhK4vFNvcK47nz5ukw+kjvf3TBdk3 0sR4uw6CJURvXLqrGiANEygkOLlaeeBsNGWkfK/ift79wyzlAEhl9vWYLdYGW2TIncxC Cchwr1BJOwP0PCB2lCA6z9EmuxCQWZO3/99xCjhveiMIlHUljwXIXjA45le42zB6nu+z rWzBzc+PKx1fkfvLxLaRaCmu7fq9c7nB/hx35E/Rw4BYz4CecFlDpjWlrWu3WSca9Iqs G9BDgZnR7vX80gkTh9VRqi/5laOLS1D5s5ZcSPmzQyM1kRfeEP0g7IouFSSttEb3rI1n Nqjw== authentication-results: spf=pass (sender IP is 209.85.208.53) 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:aa7:c790:: with SMTP id n16mr9024243eds.54.1591353921223; Fri, 05 Jun 2020 03:45:21 -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 Hi David, I'm not permitted to use programmable electronic devices. I agree that it would be a perfect application if they were allowed. Latency of up to 20ms permissible. On Friday, June 5, 2020, David C Brown wrote: > 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 to= o > 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 gmail.com> > wrote: > > > Hi everyone, > > > > I have an application where I need to generate at pulse least 1 > microsecond > > long any time a rising or falling edge is detected on four digital line= s. > > The four signals can change at any time to any direction. The pulse is > used > > 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, > but > > 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 i= t > > 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 > > > -- > 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 Jason White --=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 .