EasyLV-18f EUSART interrupt for PIC18F46K22

Post your requests and ideas on the future development boards.
Post Reply
Author
Message
coskunkazma
Posts: 34
Joined: 30 Aug 2011 07:03

EasyLV-18f EUSART interrupt for PIC18F46K22

#1 Post by coskunkazma » 17 Oct 2011 08:19

Dear Sir,

EUSART interrupt, I have written below lines

INTCON.GIE = 1;
INTCON.PEIE = 1;
PIR1.RC1IF = 1;
PIE1.RC1IE = 1 ;

But still EUSART interrupt does not work. U have any idea. Also may my mistake be in project setup.
Last edited by coskunkazma on 19 Oct 2011 13:43, edited 1 time in total.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: EasyLV-18f LCD with 18F46K22

#2 Post by filip » 18 Oct 2011 09:06

Hi,

According to the datasheet of the 18F46K22 (page 9), UART pins are located on RC6, RC7 (UART1) and RD6,RD7 (UART2) :
http://ww1.microchip.com/downloads/en/D ... 41412D.pdf

Since the LCD occupies 6 PORTB pins, I cannot see how UART and LCD could interfere among themselves.

Regards,
Filip.

Post Reply

Return to “Development Boards Wishlist”