"Tauno Voipio" <tauno....@notused.fi.invalid> ha scritto nel messaggio
news:k82ajv$ki4$1...@dont-email.me...
> On 15.11.12 1:15 , blisca wrote:
>> "Rob Gaddi" <rga...@technologyhighland.invalid> ha scritto nel messaggio
>> news:20121114144...@rg.highlandtechnology.com...
>>> On Wed, 14 Nov 2012 23:43:58 +0100
>>> "blisca" <
bli...@tiscali.it> wrote:
>>>
>>>> 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?
>
>
> 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.
>
> --
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