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; Tue, 21 Jul 2020 20:46:25 -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 06M3cTJr000809; Tue, 21 Jul 2020 23:38:49 -0400 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 06M3cQrM000806 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 21 Jul 2020 23:38:27 -0400 Received: from w92exedge3.exchange.mit.edu (W92EXEDGE3.EXCHANGE.MIT.EDU [18.7.73.15]) by outgoing-exchange-1.mit.edu (8.14.7/8.12.4) with ESMTP id 06M3aixk021169 for ; Tue, 21 Jul 2020 23:37:11 -0400 Received: from w92expo8.exchange.mit.edu (18.7.74.62) by w92exedge3.exchange.mit.edu (18.7.73.15) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Tue, 21 Jul 2020 23:38:00 -0400 Received: from oc11exhyb7.exchange.mit.edu (18.9.1.112) by w92expo8.exchange.mit.edu (18.7.74.62) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Tue, 21 Jul 2020 23:38:08 -0400 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.47) by oc11exhyb7.exchange.mit.edu (18.9.1.112) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Tue, 21 Jul 2020 23:38:08 -0400 Received: from DM5PR19CA0018.namprd19.prod.outlook.com (2603:10b6:3:151::28) by BN6PR0101MB3025.prod.exchangelabs.com (2603:10b6:405:2f::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.22; Wed, 22 Jul 2020 03:38:06 +0000 Received: from DM3NAM03FT015.eop-NAM03.prod.protection.outlook.com (2603:10b6:3:151:cafe::a5) by DM5PR19CA0018.outlook.office365.com (2603:10b6:3:151::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.19 via Frontend Transport; Wed, 22 Jul 2020 03:38:06 +0000 Received: from mailscanner.virtbiz.com (208.77.216.252) by DM3NAM03FT015.mail.protection.outlook.com (10.152.82.195) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.18 via Frontend Transport; Wed, 22 Jul 2020 03:38:06 +0000 Received: from s18855546.onlinehome-server.com (s18855546.onlinehome-server.com [74.208.193.200]) by mailscanner.virtbiz.com (8.14.7/8.14.7) with ESMTP id 06M3c2bH009001 for ; Tue, 21 Jul 2020 22:38:04 -0500 Received: from mai.hallikainen.org (localhost [127.0.0.1]) by s18855546.onlinehome-server.com (8.14.4/8.14.4) with ESMTP id 06M3c2Ej019483 for ; Tue, 21 Jul 2020 20:38:02 -0700 Received: (from apache@localhost) by mai.hallikainen.org (8.14.4/8.14.4/Submit) id 06M3c20B019477; Tue, 21 Jul 2020 20:38:02 -0700 Received: from 174.16.107.90 (SquirrelMail authenticated user harold) by mai.hallikainen.org with HTTP; Tue, 21 Jul 2020 20:38:02 -0700 From: Harold Hallikainen To: Microcontroller discussion list - Public. Sender: "piclist-bounces@mit.edu" Date: Tue, 21 Jul 2020 20:38:02 -0700 Subject: Re: [PIC]: 18F47K42 Thread-Topic: [PIC]: 18F47K42 Thread-Index: AdZf2qzW55hegB1fSd6pZk9rQovnLQ== Message-ID: <8605a19eb88141e8766cdcea714509d6.squirrel@mai.hallikainen.org> References: <20200721202120.06a56fd6300ec2bfca6379d4e10ab8d2.956b8391e5.wbe@email27.godaddy.com> List-Help: List-Subscribe: , List-Unsubscribe: , In-Reply-To: <20200721202120.06a56fd6300ec2bfca6379d4e10ab8d2.956b8391e5.wbe@email27.godaddy.com> 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 mai.hallikainen.org designates 208.77.216.252 as permitted sender) receiver=protection.outlook.com; client-ip=208.77.216.252; helo=mailscanner.virtbiz.com; dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mitprod.onmicrosoft.com; s=selector2-mitprod-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jR/g7KaUecX0nQCXDH2+hnxL4ayO4eCnNVafd9OJMXg=; b=BXNj9VzLdA/BI/JfBytKB5XSVXPBVIb68eVTJLw3EBv0xRo+X7XY4OAFLrlkWgSdp6ECd8BPDHGNtyalRlF0/lb2VykakaqMH/J/h+BINN+KzqACjWrbNhQwkt8y8jGy4mr9O9te00/NP/4CatnzxiPEWTqrdbxpgGkt/UF11Ug= authentication-results: spf=pass (sender IP is 208.77.216.252) smtp.mailfrom=mai.hallikainen.org; mit.edu; dkim=none (message not signed) header.d=none;mit.edu; dmarc=permerror action=none header.from=mai.hallikainen.org; user-agent: SquirrelMail/1.4.22-5.el6 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-authentication-warning: mai.hallikainen.org: apache set sender to harold@mai.hallikainen.org using -f x-greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mailscanner.virtbiz.com [208.77.216.252]); Tue, 21 Jul 2020 22:38:04 -0500 (CDT) x-topics: [PIC] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 If SOMETHING happens when you send a character to the UAST, I suspect it's working, but the bit rate or bits per character is wrong (especially the bit rate). Also, some chips allow you to invert the transmit data which will also, of course, mess things up. Can you look at the pin on a logic analyzer or scope? That way you can see what's going on. Good luck! Harold > > All, > > I am trying to get the EUSART1 on a > PIC18F47K42 in a 40 pin dip package > to operate. > > This part has the Peripheral Pin Select. > functionality that allows you to remap > some peripheral input and outputs to more > convenient package pins for easier pcb > routing. > > I have chosen to make USART1 input on > Pin C7 and output on pin C6. > > I am using Mikro C for PIC and have used the. > USART library to do the USART setup, and am > using the EasyPIC 7 dev board for programming > and code development. > > I have set the baud rate to 19200, set USART1 > to be active, enabled the USART, transmit and > receive on, etc. > > I either get nothing from the USART or > gibberish. > > I have been through the code a dozen times > have tried various combinations of options > etc. > > Does anyone have any experience or ideas > about why might this be happening? > Or suggestions of what to try? > > Using Microchip C or MAPLB X with the Code > Configurator Ap is not possible. > > I want to be able to use this processor > without having to rely on Mplab X with code > configurator. > > Any insight or suggestions would be greatly > appreciated. > > Thanks and Regards, > > Jim > > > -- > 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 FCC Rules Updated Daily at http://www.hallikainen.com Not sent from an iPhone. --=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 .