Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[PIC] How implement Uart2 pic18f26j50

Status
Not open for further replies.

TiagoRibeiro

Full Member level 2
Full Member level 2
Joined
Oct 29, 2013
Messages
130
Helped
18
Reputation
36
Reaction score
17
Trophy points
28
Location
São Paulo/Brazil
Visit site
Activity points
765
Anyone know the UART2 implement pic18F26J50 using MikroC 4.6?
'm using UART_Remappable_init (4800) but it is giving error.
Can anyone help me?
Best reguards.
 

I do not have the option of using USART2, just UART_Remappable

- - - Updated - - -

i am getting the error demo limit..how to do work this?
 

I found the solution Jayanth..i will post here to share =D
I was needing of baud 4800 ... so I took the assembler code by setting the UART1 baud 4800 and placed as follows:
Code:
asm {
MOVLW 155
MOVWF SPBRG2
BSF TXSTA2, 2, 0
}
UART_Remappable_Init ();
done!
thanks again
 
Last edited by a moderator:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top