Power

Started by noam naaman in Piclist8 years ago

Hi The correct thing to do is solve the communication problem in the PIC. I suggest you add code for checking the OERR and FERR UART flags and...

Hi The correct thing to do is solve the communication problem in the PIC. I suggest you add code for checking the OERR and FERR UART flags and reset the UART per Microchip's instructions if one of them is set. This is the main reason for communication failure in PIC systems. Best regards Noam


I2C interruption

Started by bg3009 in Piclist15 years ago

ok guys, i think instead of going to bit bang the code for a 16F818 to work as a master, which i think it almost impossible, i am...

ok guys, i think instead of going to bit bang the code for a 16F818 to work as a master, which i think it almost impossible, i am getting a 16F877 chip which has MIIC capabilies and make it talk to the IIC capable chip..what ya guys think? Also, it seems Microchip discontinued th


Problems reading data Eeprom using Pic16F88

Started by izzy_w_2004 in Piclist14 years ago 1 reply

I have been trying to use the 'read data EEPROM' feature of the 16F88, but can't get it to work. I have used the sample...

I have been trying to use the 'read data EEPROM' feature of the 16F88, but can't get it to work. I have used the sample code from Microchip's datasheet. Attached is the (entire) ASM file that I am using. It should (I had hoped) store the value h'BB' in the regist


I2C vs SPI

Started by Paul in Piclist9 years ago 10 replies

Hi. Just been looking at I/O Expanders from Microchip, and you can get them in either I2C or SPI. The only differences i can see are SPI can go...

Hi. Just been looking at I/O Expanders from Microchip, and you can get them in either I2C or SPI. The only differences i can see are SPI can go faster, and I2C uses less pins. Is that about it? Thanks, Paul ------------------------------------


udata and idata section

Started by Anonymous in Piclist15 years ago

hi all I am using the C18 demo compiler avaliable on the microchip website. i am compliling quite a huge code on to it and i am...

hi all I am using the C18 demo compiler avaliable on the microchip website. i am compliling quite a huge code on to it and i am getting an error of section '.udata_micro1.o' can not fit the section. Section '.udata_micro1.o' length=0x00000122 i would like to know what w


Re: Digest Number 1480

Started by adnan ahmad in Piclist11 years ago

Hello, I Have made my own universal PIC programmer which as low as $90 from Pakistan. If you interested then ask for detail. Bye.. ...

Hello, I Have made my own universal PIC programmer which as low as $90 from Pakistan. If you interested then ask for detail. Bye.. Dani p...@yahoogroups.com wrote: A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abus Messages In This Digest (3 Messages) 1a. ...


c18 to ccs c conversion

Started by gc...@coastelect.com in Piclist11 years ago

Dear all I am going slightly batty trying to convert a suite of progs from Microchip C18 dialect to CCS C. Please respond to g...@coastelect.com...

Dear all I am going slightly batty trying to convert a suite of progs from Microchip C18 dialect to CCS C. Please respond to g...@coastelect.com if you have any help on this. I suspect there may be documents/PDFs/even a program that would help do this conversion. My only other option is to laboriously plod away hoping to get into the mind of the original (now departed) programmer.


which is the good PIC to start

Started by Mounesh Sutar in Piclist10 years ago 1 reply

Hi All, i need a help i am new to work with microcontrollers, will you tell me, which would be good pic version to start to learn and apply the...

Hi All, i need a help i am new to work with microcontrollers, will you tell me, which would be good pic version to start to learn and apply the same on some small projects. your help would appreciated. thanks, Mounesh On Wed, Jun 4, 2008 at 11:37 PM, Basic Poke wrote: > I have a PIC18F66J50 with a Microchip EEPROM on the I2C port. > Sometimes when I program the M


potr pins and R-M-W

Started by george_cal in Piclist14 years ago 1 reply

I've seen a lot of posts about port pin and R-M-W. I know this has been a big MicroChip blunder from way back, and this matter...

I've seen a lot of posts about port pin and R-M-W. I know this has been a big MicroChip blunder from way back, and this matter keeps coming up all the time. My understanding is as follows: Don't do a bit clear (bcf) or bit set (bsf) instruction on a port register. The r


Emulator/ICE recommendations

Started by "Sco...@Work)" in Piclist12 years ago

Hello Group, I'm thinking about acquiring a better ICE for PIC parts and was wondering what, if anything other people are using. I've been...

Hello Group, I'm thinking about acquiring a better ICE for PIC parts and was wondering what, if anything other people are using. I've been working with 16F628/648 part up until now. I have the Microchip ICD2 but am pretty disappointed with it (single breakpoint at a time, extremely slow stepping speed, poor (non-existent) source code debugging). In the past when I was developing using 8032 ...


Testing #ifdef & #endif

Started by Basic Poke in Piclist10 years ago

Does anyone know of any programs I can use to test the #ifdef's and #endif's in my C code. I think I may have some of these mismatched...

Does anyone know of any programs I can use to test the #ifdef's and #endif's in my C code. I think I may have some of these mismatched somewhere. I'm getting the following linker error and everything looks ok to me: MPLINK 4.21, Linker Copyright (c) 2008 Microchip Technology Inc. Error - could not find definition of symbol 'c_to_f' in file './adc.o'. Errors : 1 Thanks BasicPok...


Assembler vs C

Started by Staiger in Piclist10 years ago 18 replies

A few people have expressed reservations about using C to program the smaller PICs, especially when the program is pretty simple. One thing...

A few people have expressed reservations about using C to program the smaller PICs, especially when the program is pretty simple. One thing that keeps coming up (and Microchip themselves say) is that PIC assembly language is easy to learn, especially as there are "only 33 instructions to learn". But I think there is a big difference between learning the PIC instructions, and actually lea...


Quirky LCD

Started by bg3009 in Piclist14 years ago 4 replies

I recently tried to use an external LCD module on a PICDEM 2 Plus board. The program I used was given by microchip and was working...

I recently tried to use an external LCD module on a PICDEM 2 Plus board. The program I used was given by microchip and was working on theit internal LCD. When I lifted the pins connected to the LCD out of the IC socket, and soldered the connectors to the respective pins, nothing


C code for MCP215X

Started by sirtiffguy in Piclist14 years ago

Hey guys, I was just wondering if anyone out there has code written for interfacing with the MCP215X chip by Microchip... It's...

Hey guys, I was just wondering if anyone out there has code written for interfacing with the MCP215X chip by Microchip... It's an irda protocol handeler that supports communications with basically anything irda. IRLAP IrComm and a bunch of other ones are supported.


I2C EEPROM Question

Started by Mr S in Piclist13 years ago 4 replies

This might be an odd question, but here goes. Does anyone have experience using I2C EEPROMs from PIC? Specifically, I'm looking...

This might be an odd question, but here goes. Does anyone have experience using I2C EEPROMs from PIC? Specifically, I'm looking for an answer to a question on the datasheet for the 24LC515 chip. <


Slightly OT: Transformerless 5vdc

Started by jrem in Piclist14 years ago 16 replies

Guys/gals: I'm fully aware that this design doesn't provide for line isolation, and it looks like a 1uf cap limits total...

Guys/gals: I'm fully aware that this design doesn't provide for line isolation, and it looks like a 1uf cap limits total current to 40ma, but I am interested in your views about this design. ww1.microchip.com/downloads/en/AppNotes/91008b.pdf I am looking


Help me

Started by rehanpk000001 in Piclist15 years ago

Hi, Brother! I am dioing final year project using PIC16F876 I have downloaded MPLAB v6.3 from microchip.com .I have also ...

Hi, Brother! I am dioing final year project using PIC16F876 I have downloaded MPLAB v6.3 from microchip.com .I have also downloaded HITECH PICC compiler(demo version).I am tring since long time to simmulate my C code on MPLAB(with HT PICC),But unable to do that.


Need help with MC C18 Compiler

Started by Raul Lucientes in Piclist15 years ago

Hi everybody .... Im trying to compile (with Microchip C18 compiler) in my MPLAB 6.0 IDE an easy program for the PIC18F258...

Hi everybody .... Im trying to compile (with Microchip C18 compiler) in my MPLAB 6.0 IDE an easy program for the PIC18F258 target, also Im using the PICDEM 2 Plus board for testing my develop, My source code is compile without errros and also is linked correctly, once I progra


Re: Microchip MCP23016 with PicBasic Pro?

Started by Chad Russel in Piclist14 years ago 3 replies

Did you get this working? An interesting chip, but talk about lack of documentation...I am trying to figure out the difference...

Did you get this working? An interesting chip, but talk about lack of documentation...I am trying to figure out the difference between latched data and pin data. Chad --- In , Jon Chandler wrote: > Has anyone used the MCP23016 I/O expander


USB GPS to PIC interfacing

Started by demolitron in Piclist9 years ago 2 replies

Hello, I've got a Pharos GPS-500 USB dongle on hand and I was wondering if it would be possible to hook this up to a PIC of some kind. When I...

Hello, I've got a Pharos GPS-500 USB dongle on hand and I was wondering if it would be possible to hook this up to a PIC of some kind. When I plug it into my PC it is detected as a serial port by windows and the data just streams over as ASCII test. Anyone have a direction they can point me in? I've been looking at Microchip's website, but most of the stuff is on peripheral side devices....