TBLPTR bug in MPLAB

Started by Eirik Karlsen in Piclist14 years ago 1 reply

Seems like MICROCHIP can't make up their mind on whether the PIC18 TBLPTR is 21 or 22 bits wide... some places in the datasheet it...

Seems like MICROCHIP can't make up their mind on whether the PIC18 TBLPTR is 21 or 22 bits wide... some places in the datasheet it says it is 21bits, other places it says 22bits. I'm having trouble simulating this stuff. The datasheet


USART Transmit Issue

Started by Maran in Piclist11 years ago 3 replies

Hi All, I am facing an issue with the USART Transmit. My code is as shown below...... #include #include void main( void ) { char...

Hi All, I am facing an issue with the USART Transmit. My code is as shown below...... #include #include void main( void ) { char group[10]="Microchip "; int i; OpenUSART( USART_TX_INT_OFF & USART_RX_INT_OFF & USART_ASYNCH_MODE & USART_EIGHT_BIT & USART_CONT_RX & USART_BRGH_HIGH, 129 ); while( 1 ) { for(i=0; i


RTL8019AS Ethernet Controller

Started by Hussain AlSayed in Piclist15 years ago 3 replies

Hello, Any one knows where I can buy online the ethernet controller Realtek RTL8019AS in small quantities?? this controller...

Hello, Any one knows where I can buy online the ethernet controller Realtek RTL8019AS in small quantities?? this controller is used by Microchip network connectivity board PICDEM.net, Realtek supplies this chip but only in large quantities,,, Many thanks,


USB Embedded Host Newbie

Started by demolitron in Piclist10 years ago 1 reply

Hello, I am looking for a leg up on finding documentation and some guidance on Microchip's embedded USB host. In my project I am trying...

Hello, I am looking for a leg up on finding documentation and some guidance on Microchip's embedded USB host. In my project I am trying to interface a MCU with a USB GPS device. I know there are many Serial TTL GPS modules out there, but the cost is around twice of an off the shelf USB GPS module and I would have to make an enclosure... I thought that there would some good information o...


4 x 3 keypad using 1 analog input

Started by mark_schilke in Piclist8 years ago 2 replies

Hi, Folks! I read the ED article in file "1 pin Keypad.PDF" posted by dave_mucha, and compared it to the "4x4 Keyboard with 1 Input" tip in...

Hi, Folks! I read the ED article in file "1 pin Keypad.PDF" posted by dave_mucha, and compared it to the "4x4 Keyboard with 1 Input" tip in Microchip's Tips & Tricks guide. The latter has far fewer components external to the PIC. Has anyone met with good success using the method in that tip? The device I am designing will use a 4 x 3 keypad, with a layout similar to a Touch Tone telephone....


PIC A/D and Voltage Divider

Started by Max in Piclist7 years ago 11 replies

This group has been way too quite for too long. I thought I'd liven things up a bit by asking a question. I would like to use the on chip A/D...

This group has been way too quite for too long. I thought I'd liven things up a bit by asking a question. I would like to use the on chip A/D converter in a Pic 16F887 and I have some Microchip MCP1541 4.096 voltage reference devices. I need to be able to measure voltages up to around 18 volts. If I use a voltage divider that divides the input voltage by 5, I could measure up to 20.46 volts. So fa...


Purpose of WDT

Started by Bob Blackwell in Piclist15 years ago 3 replies

Hi, I'm new to the group and Microchip PIC's. My current project includes routines to read and write data to EEPROM. Developing the...

Hi, I'm new to the group and Microchip PIC's. My current project includes routines to read and write data to EEPROM. Developing the read routine wasn't that big a challange but getting the write routine to work witout stopping the PIC took a significant amount of time. My problem


Anyone used Microchip C18 to control 44780 LCD?

Started by yimab in Piclist15 years ago 1 reply

Does the xlcd.h, or its source code have problem? I can not make the following code work. The following code is changed from...

Does the xlcd.h, or its source code have problem? I can not make the following code work. The following code is changed from MPLAB-C18-Libraries.pdf, 3.2.2 example (page 69). I wired LCD as xlcd.h default configuration. -------------- RW_PIN PORTBbits.RB6 /* PORT


Programming 16f872 data eeprom memory

Started by Chris in Piclist14 years ago 2 replies

Just checking to see if anyone knows of any problem with the microchip method of programming eeprom data (not program) bytes using ...

Just checking to see if anyone knows of any problem with the microchip method of programming eeprom data (not program) bytes using the method described in the 16f872 datasheet. I can't work out where the problem is, but my code crashes and freezes when I use their example. Wonder


18F6680 at 9600 USART garbles read data

Started by Dennis Clark in Piclist10 years ago 14 replies

Hi all, I've tried the Microchip forums and have an open support ticket but in two days I've heard nothing on this. I've got an...

Hi all, I've tried the Microchip forums and have an open support ticket but in two days I've heard nothing on this. I've got an interesting problem. I am running a 18F6680 at 40MHz. If I have the BRG set for 9600 baud and I will often get data that has bit 7 set when it shouldn't. The Tx data going out is fine, no odd bits set, but the Rx data has this issue if I am sending data fas...


Any "Gotcha's" to look for when getting started?

Started by tom_bihn in Piclist15 years ago 5 replies

I'm just introducing myself to programming a PIC and plan on using MPASM. I have downloaded MPLAB IDE, purchased the EPIC...

I'm just introducing myself to programming a PIC and plan on using MPASM. I have downloaded MPLAB IDE, purchased the EPIC programmer, purchased "PIC - A personal Introductory Course" a book by John Morton, downloaded the Mid-Range MPU Reference Manual from Microchip and


Floating point IEEE 754 to Microchip conversion. SOS!!!

Started by Nick Alexeev in Piclist15 years ago 6 replies

Colleagues, My PIC has to talk to the GPS rerceiver, and GPS transmitts data as IEEE 754 floats. I'm trying to write...

Colleagues, My PIC has to talk to the GPS rerceiver, and GPS transmitts data as IEEE 754 floats. I'm trying to write conversion routine in C (CCS compiler), but it does not work. Could you post a working conversion routine? Thanks! Sincerely,


mikroBASIC compiler

Started by Ike AMD in Piclist14 years ago 6 replies

Hi, My name is Isaac, I'm new at programming PIC Microcontrollers.  I have been programming in MPLAB? IDE

Hi, My name is Isaac, I'm new at programming PIC Microcontrollers.  I have been programming in MPLAB? IDE


MPLAB 8.33 hanging

Started by jsternmd in Piclist9 years ago 2 replies

I have a new problem where MPLAB assembler is hanging during the Executing: "O:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe" /q /p16F877A...

I have a new problem where MPLAB assembler is hanging during the Executing: "O:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe" /q /p16F877A "Test.asm" /l"Test.lst" /e"Test.err" /d__DEBUG=1 When I look at the lst or err files they are empty. Anyone experience this? I made only minor changes to my code which haf been assembling in debug or release very nicely. thanks Jerry ----...


Wake Up On Key Stroke

Started by jmsmith871 in Piclist10 years ago 2 replies

Although I've been using PICs for years, I'm only now studying the SLEEP instruction and code to wake up the processor. It's not going well at...

Although I've been using PICs for years, I'm only now studying the SLEEP instruction and code to wake up the processor. It's not going well at the moment. Microchip's app note AN552, "Implementing Wake-up on Key Stroke," has sample code for a 16C71. I pasted the code into the MPLAB IDE, and it assembled without errors. A PICStart Plus programmed it into a 16C71 with no errors. However,...


A/D continuous operation with PIC18f452

Started by kalyanramu vemishetty in Piclist15 years ago

Hi all,   I am trying to do continuous sampling of the signal at uniformly spaced intervals using PIC18f452.   I...

Hi all,   I am trying to do continuous sampling of the signal at uniformly spaced intervals using PIC18f452.   I looked at microchip website and found some notes.   I came up with solution of using CCP module along with timer1


Re: PIC16F84A and "This device requires firmware version 2.1.0 or higher" messag

Started by Scott Thompson in Piclist14 years ago 1 reply

I have heard of this happening to someone else.  Perhaps contacting Microchip technical support will help.  I saw your post on the...

I have heard of this happening to someone else.  Perhaps contacting Microchip technical support will help.  I saw your post on the user's forum.  Is there any device that the unit will accept?  That is, does it communicate at all to the PS+?   I have a virtual


Opinions on the best PIC BASIC compiler?

Started by Bob Hyland in Piclist11 years ago 6 replies

I've been looking at different PIC BASIC compilers. What I am looking for: - Performance (efficient code) - ICD (in circuit debugging) -...

I've been looking at different PIC BASIC compilers. What I am looking for: - Performance (efficient code) - ICD (in circuit debugging) - Good support for a wide variety of MicroChip MPU's So far, I am considering the following compilers: - PIC BASIC PRO (seems like their ICD is limited to a few chips?) - mikroBasic (built in ICD support) - Proton PIC Basic (http://www.protongeeks.com/...


USB Programmer

Started by martin de lange in Piclist15 years ago

Microchip released an apnote for the Pickit1 USB powered programmer that needs no external power supply. It uses the USB 5v...

Microchip released an apnote for the Pickit1 USB powered programmer that needs no external power supply. It uses the USB 5v with a pwm voltage booster to get the vpp voltage up to 9-13v adjustable. It uses


Re: microchip's USART code..

Started by Ken Wilson in Piclist15 years ago 3 replies