Sign in

username:

password:



Not a member?

Search hc11



Search tips

Subscribe to hc11



Ads

Discussion Groups

Discussion Groups | M68HC11 | Buffalo Monitor & RS-232 code

Technical discussions about Freescale Microcontrollers: M68HC11. (Freescale Semiconductor is a Subsidiary of Motorola).

Buffalo Monitor & RS-232 code - Nick Reitter - Nov 25 17:28:55 2006

> Hi,
> I have a data radio transmitter connected to the RS-232 connections on my
> Adapt11C24DX. (MC68HC11) When I have my program in RAM I can send data to
> the RS-232 connection and the transmitter quite well. I am using two
> subroutines in the Monitor - OUTCRLF and OUT to accomplish this..
> Now I want to place my code in EEPROM and have the program run from power
> up. My problem is that I do not know the code in the Monitor program that
> initializes the RS-232 connection. I tried the ONUART and ONSCI. They did
> not work.
> Does any one know which portion of the Monitor program I must include in
> my code to enable the RS 232 connector?
> Thank you,
> Nick Reitter
>
[Non-text portions of this message have been removed]


(You need to be a member of hc11 -- send a blank email to hc11-subscribe@yahoogroups.com )


Re: Buffalo Monitor & RS-232 code - Mike McCarty - Nov 26 23:57:02 2006

Nick Reitter wrote:
>>Hi,
>>I have a data radio transmitter connected to the RS-232 connections on my
>>Adapt11C24DX. (MC68HC11) When I have my program in RAM I can send data to
>>the RS-232 connection and the transmitter quite well. I am using two
>>subroutines in the Monitor - OUTCRLF and OUT to accomplish this..
>>Now I want to place my code in EEPROM and have the program run from power
>>up. My problem is that I do not know the code in the Monitor program that
>>initializes the RS-232 connection. I tried the ONUART and ONSCI. They did
>>not work.
>>Does any one know which portion of the Monitor program I must include in
>>my code to enable the RS 232 connector?
>>Thank you,
>>Nick Reitter
>> [Non-text portions of this message have been removed]

I find it easier just to write my own routines. Handling the SCI
is pretty simple.

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!



(You need to be a member of hc11 -- send a blank email to hc11-subscribe@yahoogroups.com )

RE: Buffalo Monitor & RS-232 code - Nick Reitter - Nov 28 10:26:20 2006

Mike,
Thanks for the encouragement to do more "digging". I now know the RS232
interface is made with the SP232A. (I did not realize there are Rxd and Txd
pins on the 68HC11. I did not have the "eyes" to see.) The code for sending
the data is a "3 liner", simple as you said. Everything works just fine.
Good to have this group of people to communicate with.
Nick
-----Original Message-----
From: m...@yahoogroups.com [mailto:m...@yahoogroups.com]On Behalf Of
Mike McCarty
Sent: Sunday, November 26, 2006 11:51 PM
To: m...@yahoogroups.com
Subject: Re: [m68HC11] Buffalo Monitor & RS-232 code
Nick Reitter wrote:
>>Hi,
>>I have a data radio transmitter connected to the RS-232 connections on
my
>>Adapt11C24DX. (MC68HC11) When I have my program in RAM I can send data
to
>>the RS-232 connection and the transmitter quite well. I am using two
>>subroutines in the Monitor - OUTCRLF and OUT to accomplish this..
>>Now I want to place my code in EEPROM and have the program run from
power
>>up. My problem is that I do not know the code in the Monitor program
that
>>initializes the RS-232 connection. I tried the ONUART and ONSCI. They
did
>>not work.
>>Does any one know which portion of the Monitor program I must include in
>>my code to enable the RS 232 connector?
>>Thank you,
>>Nick Reitter
>>
>
>
>
> [Non-text portions of this message have been removed]

I find it easier just to write my own routines. Handling the SCI
is pretty simple.

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!

[Non-text portions of this message have been removed]


(You need to be a member of hc11 -- send a blank email to hc11-subscribe@yahoogroups.com )