EmbeddedRelated.com

Having trouble with recieving data with PIC18F452 HW USART

Started by Travis L. F Bailey in Piclist20 years ago 2 replies

I am trying to get the serial to work on my pic18f452 chip. I can print data to hyperterm from pic with no problem. But, I can not...

I am trying to get the serial to work on my pic18f452 chip. I can print data to hyperterm from pic with no problem. But, I can not figure out how to get data from hypterterm to the pic. I am able to print, here is a sample of my output: First 2 RCSTA 144 TXSTA 160 First 3 RC


A/D conversion problems on ADC_CHAN1 and ADC_CHAN2

Started by scubagreg7777777 in Piclist19 years ago 3 replies

Hi everyone, I'm still quite new to micros, and am doing a project on the PIC18F452. I am experiencing some troubles...

Hi everyone, I'm still quite new to micros, and am doing a project on the PIC18F452. I am experiencing some troubles with ADC conversion, and think that it is a simple solution, but I'm not sure what it is. I tried to provide all the pertienent info, and e


PIC18F452, chip interfering with DIP switch

Started by scubagreg7777777 in Piclist19 years ago 1 reply

Hi everyone, I'm pretty new to PICS, but will do my best to characterize my problem and provide as much pertinent info as...

Hi everyone, I'm pretty new to PICS, but will do my best to characterize my problem and provide as much pertinent info as possible. I perplexed as to what is going on with my PIC. I am using an 18f452 on a PICDEM 2 Plus board, and my own PCB that I milled.


compiler error on external interrupt

Started by wantoniet in Piclist19 years ago 2 replies

Hi folks, I?ve got a problem with compilation a sw through CCS compiler. I?m using PIC18f452 and error occur on external interrupt0. A...

Hi folks, I?ve got a problem with compilation a sw through CCS compiler. I?m using PIC18f452 and error occur on external interrupt0. A piece of my sw described below: ... ext_int_edge(0,h_to_l); enable_interrupts(int_ext); enable_interrupts(global); clear_lcd(); while(true) { comand_lcd(0x80);


Help with usart receive

Started by Travis L. F Bailey in Piclist20 years ago 4 replies

Help, I am missing some obvious mistake. I just don't see it. I am using a pic18f452 chip and a max232 chip to communicate...

Help, I am missing some obvious mistake. I just don't see it. I am using a pic18f452 chip and a max232 chip to communicate to my laptop's serial port. I can send data from the pic to the pc, but, I can not receive data from hyperterm to the pic chip. I am also connect


PIC -ISA interfacing weird problem

Started by kalyanramu vemishetty in Piclist19 years ago 1 reply

Hi all, I am interfacing pic microcontroller (pic18f452) to FDC37c672 from SMSC. FDC37c672 has some UART and IrDA capabilities...

Hi all, I am interfacing pic microcontroller (pic18f452) to FDC37c672 from SMSC. FDC37c672 has some UART and IrDA capabilities which I want to explot. It has an ISA bus interface. I am able to read the registers from the FDC37C672. But for some reason I am unable t


Problem with displaying of data on LCD

Started by david_wenkang in Piclist17 years ago 1 reply

Hi all, I am using C18 complier to program PIC18F452 microcontroller to display data on a LCD display module (Hyundai Korea - HB16202-A)....

Hi all, I am using C18 complier to program PIC18F452 microcontroller to display data on a LCD display module (Hyundai Korea - HB16202-A). The microcontroller is connected with an external oscillator SG531P, and giving it a frequency of 40MHz. The problem that i encounter is that, i am not able to display any information or character. I wonder whether is it the oscillator thats causing ...


A/D Special event trigger

Started by kalyanramu vemishetty in Piclist19 years ago 2 replies

Hi all, In PIC18f452/ PIC16f877, there is "Special Event Trigger " for A/D conversion. Did anybody ever use this special event...

Hi all, In PIC18f452/ PIC16f877, there is "Special Event Trigger " for A/D conversion. Did anybody ever use this special event trigger. I am using PIC-C and working with special event trigger. But so far I didn't have success with it. I couldn't make it work with interrupts