Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 14th March 2004, 06:02 PM   (permalink)
Default receive 0 data from UART.....

Hi,
I try to read data from read buffer through UART, and the result I received is 0hex, no matter what value I send out.
Does anyone know what is the problem ?
thanks ....
wingbar is offline  
Old 14th March 2004, 06:05 PM   (permalink)
Default Re: receive 0 data from UART.....

Is there possibility that it is caused by the clock ?
wingbar is offline  
Old 14th March 2004, 07:46 PM   (permalink)
Default

You don't give anywhere near enough information, we don't have a clue what you are using or trying to do. For a start, is it a PC?, or is it a micro-controller?. In either case, is it wired correctly?, is it set up correctly?, and are you using it correctly?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 14th March 2004, 08:14 PM   (permalink)
Default

hi,
maybe u didnt initialize it properly ...like a software program that enables transmit and receive bits in one of the uart registers,,,,,

what context are u using the uart??
mugzzzzy is offline  
Old 15th March 2004, 03:26 PM   (permalink)
Default

The detailed web site about my project is :
http://www.web-ee.com/Electronic-Pro...er/index.shtml


I'm using MSComm Control to send some bytes to the UART, then the decoder circuit will clock the appropriate bits into the Write buffer(74LS75), so that I can control the voltage level on each pin of my ZIF socket. After that, I will send 70hex to read the data(logic values) back to my computer.
but, all the while I keep getting either "0" or "FF" when I send 70h to my read buffer.
Any idea ?
wingbar is offline  
Old 15th March 2004, 07:11 PM   (permalink)
Default

Quote:
Originally Posted by wingbar
The detailed web site about my project is :
http://www.web-ee.com/Electronic-Pro...er/index.shtml
For a start, does your hardware work with the original software?. If it doesn't you probably have a hardware fault, if it does the fault is most likely in your software.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 11:16 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker