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; Mon, 5 Oct 2020 05:39:12 -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 095CV8fH018719; Mon, 5 Oct 2020 08:31:14 -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 095CV60t018716 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 5 Oct 2020 08:31:06 -0400 Received: from oc11exedge2.exchange.mit.edu (OC11EXEDGE2.EXCHANGE.MIT.EDU [18.9.3.18]) by outgoing-exchange-7.mit.edu (8.14.7/8.12.4) with ESMTP id 095CV4vG032230 for ; Mon, 5 Oct 2020 08:31:06 -0400 Received: from w92expo15.exchange.mit.edu (18.7.74.69) by oc11exedge2.exchange.mit.edu (18.9.3.18) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Mon, 5 Oct 2020 08:30:42 -0400 Received: from oc11exhyb8.exchange.mit.edu (18.9.1.113) by w92expo15.exchange.mit.edu (18.7.74.69) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Mon, 5 Oct 2020 08:31:05 -0400 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.170) by oc11exhyb8.exchange.mit.edu (18.9.1.113) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Mon, 5 Oct 2020 08:31:05 -0400 Received: from MWHPR22CA0058.namprd22.prod.outlook.com (2603:10b6:300:12a::20) by BYAPR01MB5173.prod.exchangelabs.com (2603:10b6:a03:7f::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.37; Mon, 5 Oct 2020 12:31:04 +0000 Received: from CO1NAM03FT034.eop-NAM03.prod.protection.outlook.com (2603:10b6:300:12a:cafe::e0) by MWHPR22CA0058.outlook.office365.com (2603:10b6:300:12a::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.20 via Frontend Transport; Mon, 5 Oct 2020 12:31:04 +0000 Received: from mail-lf1-f47.google.com (209.85.167.47) by CO1NAM03FT034.mail.protection.outlook.com (10.152.80.177) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.34 via Frontend Transport; Mon, 5 Oct 2020 12:31:04 +0000 Received: by mail-lf1-f47.google.com with SMTP id y11so10635696lfl.5 for ; Mon, 05 Oct 2020 05:31:04 -0700 (PDT) From: Alan Pearce To: Microcontroller discussion list - Public. Sender: "piclist-bounces@mit.edu" Date: Mon, 5 Oct 2020 05:30:50 -0700 Subject: Re: [EE] Using a microcontroller as a peripheral? Thread-Topic: [EE] Using a microcontroller as a peripheral? Thread-Index: AdabFIfSY6zUqa19QhS6CRBqE/1shw== 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 googlemail.com designates 209.85.167.47 as permitted sender) receiver=protection.outlook.com; client-ip=209.85.167.47; helo=mail-lf1-f47.google.com; dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ZPVu/nLygqOFKbIcK4PQiQl8yp59ElgMWACMu063xtU=; b=GS49nkgfCdn0HissFfs1vTWWtjF/dzro5iM2pF2YTMOLli1dkqwlkHOS8NpnG5Ly+B xccPHLvgD47tN40gS1mo0NyQyBg/fznD0N2qFl1L13g+E38ltzSeU1cBWjyE+X6X7cwR +wzTpQL4FbHXbtIFIJHE13IvoDYKktUvxq/Dmh3GK5BPNwsQOPSddNCEcfc370LMUSOu Nbx+IRE354KJQZMquYzW8elw+RRqNfD2PmVEtD/GRB9QdYatPOtO+8Xz/YhMmBdMZoBm 8A0n2NdRcHYZ4fvlyQlYU08RDz7hEZxbRhCve8/Z6a91FjLtRlJ9VM0G+MNp0Ckl7fnd X5PQ== authentication-results: spf=pass (sender IP is 209.85.167.47) 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:a19:9d5:: with SMTP id 204mr3018217lfj.583.1601901061937; Mon, 05 Oct 2020 05:31:01 -0700 (PDT) x-topics: [EE] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Just been looking into this myself. Check out the enhanced mode of the parallel master port. That allows 4 addressable locations that make up one 32 bit word inside the PIC32. it is described quite succinctly in the FRM chapter. On Mon, 5 Oct 2020 at 13:22, Neil Cherry wrote: > > On 10/5/20 1:56 AM, madscientistatlarge wrote: > > > It depends on what you consider "a peripheral chip", i.e. embedded and = controlled by an > > external cpu, or do you mean using as a peripheral for some special fun= ction (like the > > soft power control on motherboards). Do you include things like ethern= et cards that > > handle checksums/encryption to unload the main cpu? And of course the = PIC > > microcontrollers were originally for I/O expansion of other micros or p= ossibly larger > > systems with a higher end cpu? Burglar alarms with central monitoring = would also > > likely be included if they are not ancient (I.E. the burglar/fire alarm= has a micro, > > and the Monitoring station uses desktops and/or servers for the monitor= ing). > > My apologies, I did make that way too vague. Let me add specifics. I want= to use a PIC32 > as a peripheral chip like an 8255 and a 6850 and interfacing that to an e= xisting > microprocessor chip as a 6502, 6809 or Z180. I happen to have these board= s, which is > why I'm selecting these. This would be a parallel, 8 bit interface with a= ddressing > and control for accessing registers. I'm trying not to rewrite the firmwa= re on > these old boards. > > And yes I do see the irony of taking a chip infinitely more powerful than= the main > CPU and turning it into a peripheral. But I want to start off with simple= (the > 8255) and work to more complex (video chips) which really need to connect= to HDMI > now. > > Oh, this is a side project. Not something for work. > > So far my Search-fu has me running running into the peripherals of the MC= U not > the MCU a peripheral of the CPU. > > -- > Linux Home Automation Neil Cherry ncherry@linuxha.com > http://www.linuxha.com/ Main site > http://linuxha.blogspot.com/ My HA Blog > Author of: Linux Smart Homes For Dummies > -- > 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 .