EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

What function/pins to use for a transceiver??

Started by gogosgeorge March 17, 2005
You guys are extremely polite and must have nerves made of steel.

RTFM RTFM RTFM ... RTFFFFM >:-I

Edward ----- Original Message -----
From: <>
To: <>
Sent: Thursday, March 17, 2005 3:32 PM
Subject: Re: [68HC12] What function/pins to use for a transceiver?? >
> I second that sentiment. A modest amount of RTFM is common courtesy for
> this kind of email group.
>
>> MISO, MOSI, SS, SCK, TXD0, RXDO ??


Also, I dont really appreciate sarcasm regarding when I graduate (you hope????) Best to leave such sarcasm at the front door, true? Im sure you would know a fair bit about HCS12's, but power trips seem to be a specialty. George Gogos
Undergraduate
BACHELOR OF ENGINEERING(Computronics/Electronics)
Deakin University, Australia ----- Original Message -----
From:
To:
Sent: Friday, March 18, 2005 12:19 AM
Subject: Re: [68HC12] What function/pins to use for a transceiver??
In a message dated 3/17/05 8:12:24 A.M. Eastern Standard Time,
writes: MISO, MOSI, SS, SCK, TXD0, RXDO ??

do i need TXD0 and RXD0??
George Gogos
Undergraduate
BACHELOR OF ENGINEERING(Computronics/Electronics)
Deakin University, Australia
What can I use for transmitting and receiving via a transceiver? ==================================
Pretend the transmitter and receiver are a wire. Use the SCI.

George, you might graduate someday (I hope), but you'll never get rich
unless you dig just a little harder. Once again, do the letters SCI mean ANYTHING
to you? Do you think there is any reference at all to an SCI in any HC12
manual you might be able to download? Come back with a question like "I
initialized my sci for 115200 bits per second, 8 bits, no parity, but I'm missing
characters at the receiver... do I need to receive with interrupts enabled?" You
question is more like " How do I get From Orlando to Jacksonville?" Come
on... in the next message, lets have a small list of interfaces that might be
used for interprocessor communication, some of the pros and cons of each.... I
hinted that you should look into using the SCI.... but you might not want to
get into a discussion of which serial protocols work best over rf links yet...
just get 'send one char' and 'receive one char' working first.
------
Yahoo! Groups Links

a.. To


In a message sent Thursday March 17 2005 1.19 PM (GMT) Bob Garner wrote: -

> George, you might graduate someday (I hope), but you'll never get rich
> unless you dig just a little harder. Once again, do the letters SCI mean
> ANYTHING
> to you? Do you think there is any reference at all to an SCI in any HC12
> manual you might be able to download? Come back with a question like "I
> initialized my sci for 115200 bits per second, 8 bits, no parity, but I'm
> missing
> characters at the receiver... do I need to receive with interrupts
> enabled?" You
> question is more like " How do I get From Orlando to Jacksonville?" Come
> on... in the next message, lets have a small list of interfaces that
> might be
> used for interprocessor communication, some of the pros and cons of
> each.... I
> hinted that you should look into using the SCI.... but you might not want
> to
> get into a discussion of which serial protocols work best over rf links
> yet...
> just get 'send one char' and 'receive one char' working first.

I do agree with Bob and I was tempted to post something earlier on the
subject.

I suspect that every person on this list (and there are more than a
thousand) struggled on their own using a chip, a PC, and the principle of
RTFM to get to grips with their chosen processor. I have supported many
young people and they have all, without exception, gone through a sometimes
steep and difficult learning curve, but IMHO it is the only way. I know
re-inventing the wheel is not a good thing, but developing code to drive an
LCD is a good learning base. I think it is very wrong for a beginner to use
someone elses code - you will _never_ learn that way.

In your case, George your supervisor may have provided too little time, but
you might also be a typical student who has left everything to the last
minute.

Michael Elphick


Guys,

How old are you? Excuse me If I dont have the experience you all have, but in 16, got myself at uni at this age, doing my engineering project already, and have a very small window of time to do all this in, so I apologise if my questions seem a little basic to you.......its because I have RTFFM and am still stuck on a few things, as unlike all of you, I DO NOT KNOW THE HCS12 INSIDE OUT! Im sure you can understand this, and instead of replying back like its some sort of flaming session, just dont reply....... George Gogos
Undergraduate
BACHELOR OF ENGINEERING(Computronics/Electronics)
Deakin University, Australia ----- Original Message -----
From: Edward Karpicz
To:
Sent: Friday, March 18, 2005 12:40 AM
Subject: Re: [68HC12] What function/pins to use for a transceiver?? You guys are extremely polite and must have nerves made of steel.

RTFM RTFM RTFM ... RTFFFFM >:-I

Edward ----- Original Message -----
From: <>
To: <>
Sent: Thursday, March 17, 2005 3:32 PM
Subject: Re: [68HC12] What function/pins to use for a transceiver?? >
> I second that sentiment. A modest amount of RTFM is common courtesy for
> this kind of email group.
>
>> MISO, MOSI, SS, SCK, TXD0, RXDO ??
------
Yahoo! Groups Links

a.. To



Re[2]: [68HC12] What function/pins to use for a transceiver??
George... the serial communication interface uart is the SCI... the SPI is
the syncrounous peripheral interface.. thats the one that uses miso mosi and
sck..... get the source to a SIMPLE comm program and compile it... test it by
sending chars to hyperterminal thru an rs232 cable... when this works, hook it
to the rf transmitter and receiver



Re: What function/pins to use for a transceiver??
Thursday, March 17, 2005, 8:50:45 AM, you wrote:

GB> to do all this in, so I apologise if my questions seem a little
GB> basic to you.......its because I have RTFFM and am still stuck on
GB> a few things, as unlike all of you, I DO NOT KNOW THE HCS12 INSIDE
GB> OUT!

George... here is the thing. You actually haven't asked anything about
the HCS12. You've asked about serial connections in general without
every having looked at the difference between SPI and UARTs. The
question made it obvious that you hadn't actually looked at the manual
seriously beyond the pinout of the chip.

Its not that people don't want to help here, its just that they aren't
going to help people that don't help themselves.

Beyond that, use the UART (RXD/TXD).

Aaron


George,

I am a former electronics college instructor who taught the 68HC11, and
am presently working on my MSc using the '12. If you are 16 years old
and in Uni, then it would be my pleasure to answer whatever questions
you have, as long as I can fit it in with my own studies :-) (I know
what it is like to be a teenaged genius trying to learn about the world!)

Email me directly as nw.johnson at ieee.org if you want to avoid flames,
or use the list if you want to experience the ways of the world. your
choice. I am also a ham, so I know a little bit about RF!

I'm sitting here ten hours a day working on the stuff, so it is fresh in
my mind!

You can repay me by buying me a Foster's, when you are old enough!

cheers,
Nigel



--
Nigel Johnson
MCSE, MIEEE
VE3ID/G4AJQ

http://nigel.homelinux.net

If time travel ever will be possible, it already is. Ask me again yesterday


George,

Yes, most of us are older than you. I am for example 34.
We would like to help you, and this is why we suggest that you learn well
the manual of the MC9S12E128 that your are using, before you are trying to
do complicated stuff. You are writing that you are under an extreme time
pressure on this task, but since we are experienced we know that when
getting a new microcontroller to work there are no shortcuts. This is true
especially if the task is to learn from the project, rather than simply
"get it working, no matter how".

Bob Garner suggested you look at the SCI.
What you were expected to do is then invest AT LEAST two hours in studying
the Freescale documentation of the SCI module, and read in the MC9S12E128
Device Guide relevant sections. Then after two hours if you have questions
that are still unclear you can come back to the list, and say, I read this
and this, but I don't understand exactly how to do this and this. Then you
will receive much better help.

People got nasty to you, because they suggested things, like reading the
manual, but from your immediate follow up questions, it was obvious you did
not spend the proper time to follow the suggestion. This got on people's
nerves, and this is the reason for the offending replies. On top of this,
people were not aware of your young age.

Please take the suggestions you receive here, and make the necessary time
investment to research them. There can be no shortcuts.
Your age, and the fact you are learning in a University suggest you are
gifted and smart. The recent incident from today, is because you are
in-experienced with life. The important lesson is - sometimes (often) it is
not possible or advisable to take shortcuts.

Hope this helps,
Doron

At 00:50 18/03/2005 +1100, you wrote:

>Guys,
>
>How old are you? Excuse me If I dont have the experience you all have, but
>in 16, got myself at uni at this age, doing my engineering project
>already, and have a very small window of time to do all this in, so I
>apologise if my questions seem a little basic to you.......its because I
>have RTFFM and am still stuck on a few things, as unlike all of you, I DO
>NOT KNOW THE HCS12 INSIDE OUT! Im sure you can understand this, and
>instead of replying back like its some sort of flaming session, just dont
>reply....... >George Gogos
>Undergraduate
>BACHELOR OF ENGINEERING(Computronics/Electronics)
>Deakin University, Australia > ----- Original Message -----
> From: Edward Karpicz
> To:
> Sent: Friday, March 18, 2005 12:40 AM
> Subject: Re: [68HC12] What function/pins to use for a transceiver?? > You guys are extremely polite and must have nerves made of steel.
>
> RTFM RTFM RTFM ... RTFFFFM >:-I
>
> Edward > ----- Original Message -----
> From: <>
> To: <>
> Sent: Thursday, March 17, 2005 3:32 PM
> Subject: Re: [68HC12] What function/pins to use for a transceiver?? > >
> > I second that sentiment. A modest amount of RTFM is common courtesy for
> > this kind of email group.
> >
> >> MISO, MOSI, SS, SCK, TXD0, RXDO ?? >
>------
> Yahoo! Groups Links
>
> a.. To >Yahoo! Groups Links >
>


Sorry George!

I had no idea you were a young genius! Why didn't you tell us sooner? I'm
62, if you want to know, and almost (but not quite) burnt out!

Michael Elphick


<big snip>

It is with some trepidation that I join this thread but ---

There is a bit more to it than just hooking up arbitrary signals to the
modulation port of an RF transceiver and expecting the identical modulation
to come out the other end.

George has some more reading to do --

1. What are the characteristics of the modulation port?? What is its
bandwidth? Does that bandwidth extend to DC?

2. It may be more simple to ask, "Was this device _designed_ for data
transmission? If so, what data formats does it support? What clock speeds?

The answers to the above questions will tell George whether he can simply
hook this thing up to a data port on an MCU or whether he has to include a
modem in the interface to convert the signal format.

It should be noted that direction connection to an SCI or SPI port will
require that the Tx bandwidth extend to or at least approach DC. The upper
end of the modulation pass band will determine the maximum data rate that he
can support.

This is going require that George do even more reading and report back to us
with some technical details.

Best wishes, Bob Smith --- Avoid computer viruses, Practice safe hex ---

-- Specializing in small, cost effective
embedded control systems --

http://www.smithmachineworks.com/embedprod.html Robert L. (Bob) Smith
Smith Machine Works, Inc.
9900 Lumlay Road
Richmond, VA 23236 804/745-2608



The 2024 Embedded Online Conference