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 USART testing - it's not transmitting the required data

Status
Not open for further replies.

semp22

Newbie level 1
Joined
May 12, 2009
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,287
usart_write($ff); usart_write($00);

dear guyz..

i spent my whole day testing the USART bus in my PIC, but it's not transmitting the required data!.. instead all it's transmitting is logic 1... i'm using PIC16F877, 4MHZ crystal... configured the related registers including the baud rate register.. nothing seems to work.. i even tried a 20MHZ crystal and reconfigured the registers.. still nothing.. i used the following simple code

Usart_init(9600)
Usart_Write($00)
Usart_Write($FF)

regards...
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top