Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
microcontroller in SPI Slave mode when clock is continous and no SSEL
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
blisca  
View profile  
 More options Nov 14 2012, 5:43 pm
Newsgroups: comp.arch.embedded
From: "blisca" <bli...@tiscali.it>
Date: Wed, 14 Nov 2012 23:43:58 +0100
Local: Wed, Nov 14 2012 5:43 pm
Subject: microcontroller in SPI Slave mode when clock is continous and no SSEL
Please can i have your help?

I'm confused about the following situation:

A transceiver is connected in SPI mode to a microcontroller(LPC12xx).
The transceiver outputs a continous clock ,and it does not drive any SSEL
line to enable the SPI section of the microcontroller.
The microcontroller should decide when to start a data transmission,but just
enabling its SPI module it goes in Busy condition and i have found no way to
change it.
Polling the BSY flag goes to a never ending loop,just as the uC is still
sending out something,or receiving and it is always busy.

How is the right way to deal with similar situations?

Many thanks for help or hints or links
Diego


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Gaddi  
View profile  
 More options Nov 14 2012, 5:46 pm
Newsgroups: comp.arch.embedded
From: Rob Gaddi <rga...@technologyhighland.invalid>
Date: Wed, 14 Nov 2012 14:46:36 -0800
Local: Wed, Nov 14 2012 5:46 pm
Subject: Re: microcontroller in SPI Slave mode when clock is continous and no SSEL
On Wed, 14 Nov 2012 23:43:58 +0100

If your transceiver outputs a continuous clock, and has no SSEL, then
how does it expect the receiving device to frame the data?

--
Rob Gaddi, Highland Technology -- www.highlandtechnology.com
Email address domain is currently out of order.  See above to fix.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
blisca  
View profile  
 More options Nov 14 2012, 6:15 pm
Newsgroups: comp.arch.embedded
From: "blisca" <bli...@tiscali.it>
Date: Thu, 15 Nov 2012 00:15:41 +0100
Local: Wed, Nov 14 2012 6:15 pm
Subject: Re: microcontroller in SPI Slave mode when clock is continous and no SSEL

"Rob Gaddi" <rga...@technologyhighland.invalid> ha scritto nel messaggio
news:20121114144636.1b6ae2d0@rg.highlandtechnology.com...

Thanks for your answer
Mine is..I dont'know...
the transceiver is
http://www.analog.com/static/imported-files/data_sheets/ADF7021-N.pdf
if you take a look at page 46 Figure 60 you can see how microcontroller and
transceiver are connecter.None of lower output signals SWD or SREAD acts as
SSEL.

At least i could use those signals to write into control registers,to enable
TX mode only when i need it,but i don't think that i could have a known
number of clock pulses in this way.

Thanks for your attention
Diego


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hamilton  
View profile  
 More options Nov 14 2012, 6:32 pm
Newsgroups: comp.arch.embedded
From: hamilton <hamil...@nothere.com>
Date: Wed, 14 Nov 2012 16:32:09 -0700
Local: Wed, Nov 14 2012 6:32 pm
Subject: Re: microcontroller in SPI Slave mode when clock is continous and no SSEL
On 11/14/2012 4:15 PM, blisca wrote:

You mean this figure 60, the one that states:
Figure 60. ADF7021-N (UART Mode) to Asynchronous Microcontroller Interface

This is NOT using the SPI interface for this mode of operation.

The paragraph heading should have told you something: UART Mode

Please re-read these paragraphs and form your question from there.

Its figure 61 that uses SPI.

hamilton


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
blisca  
View profile  
 More options Nov 15 2012, 2:50 am
Newsgroups: comp.arch.embedded
From: "blisca" <bli...@tiscali.it>
Date: Thu, 15 Nov 2012 08:50:25 +0100
Local: Thurs, Nov 15 2012 2:50 am
Subject: Re: microcontroller in SPI Slave mode when clock is continous and no SSEL

"hamilton" <hamil...@nothere.com> ha scritto nel messaggio
news:k819lu$qaa$1@dont-email.me...

Thank you ,
i realized that the datasheet in my PC is not the same as the one that i
linked.
Is Figure 61.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tauno Voipio  
View profile  
 More options Nov 15 2012, 3:54 am
Newsgroups: comp.arch.embedded
From: Tauno Voipio <tauno.voi...@notused.fi.invalid>
Date: Thu, 15 Nov 2012 10:54:22 +0200
Local: Thurs, Nov 15 2012 3:54 am
Subject: Re: microcontroller in SPI Slave mode when clock is continous and no SSEL
On 15.11.12 1:15 , blisca wrote:

To your original question:

The payload interface (TxRxCLK and TxRxDATA) transfers just a raw bit
stream with no framing provided, see figures 8 and 9 in the linked
data sheet. It is up to you to decode the bit porridge. A suggested
framing is in figure 54 of the data sheet. The raw bit stream is not
very well suited to a SPI interface, though it is so named by AD.

You might be better off using the UART mode with an UART interface
on the host processor.

--

Tauno Voipio


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
blisca  
View profile  
 More options Nov 15 2012, 1:09 pm
Newsgroups: comp.arch.embedded
From: "blisca" <bli...@tiscali.it>
Date: Thu, 15 Nov 2012 19:09:25 +0100
Local: Thurs, Nov 15 2012 1:09 pm
Subject: Re: microcontroller in SPI Slave mode when clock is continous and no SSEL

"Tauno Voipio" <tauno.voi...@notused.fi.invalid> ha scritto nel messaggio
news:k82ajv$ki4$1@dont-email.me...

Thank you too,Tauno
i did something working on SPI,but i 'm not able to master it completely,
by now i'm on a trivial software handling of that communication,using a GPIO
edge interrupt
and a pulse clock counter and it works correctly.
UART mode  is not allowed for the modulation that was decided by the RF pals

Thanks again to you all


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »