Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/15/02 19:51
Read: times


 
#19885 - RE: Problems with C51 serial communications

Gerald Johnson wrote:
-------------------------------
Rob, yes my MSCOMM1 setup is already setup correctly, thanks for your unhelpful comments. Next time try to be helpful:)

Rule nr. 1 in debugging: Always check the most obvious things first! By all means, read through some of the previous posts on this forum and see how many times people were helped by someone stating the obvious to them...

Gerald Johnson also wrote:
-------------------------------
Andy thats what I was asking, if the PC always generates a start bit when data is sent.

Like Erik and myself have already said: Yes.


"Ahman, the RS-232 chip is built into the 80C537 and yes it run great on the simulator, which is why I'm confused why it's not working correctly in hardware."

The RS-232 chip that Ahman and Erik are talking about is a device which translates the output level of a microcontroller to the levels required for RS-232 communications, i.e. about +10 and -10V. As far as I know there is no 8051 derivative that has such a function built in. And I know for certain that the 'C537 doesn't (I happen to have the user manual right in front of me). So unless you have some 16-pin IC on your board that has a marking containing the numbers '232' (or maybe '202' or 'LT1081') things aren't going to work...

Can you please post the 'C537 code that initialises the UART, so we may be able to help you a bit further?

Regards,
Rob.

List of 16 messages in thread
TopicAuthorDate
Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      
RE: Problems with C51 serial communications            01/01/70 00:00      

Back to Subject List