SPI and ADF4360 PLL

Forum for problems or queries regarding Flowcode Comms Components. Eg LIN, I2C, SPI, RS232, CAN, IrDA etc

Moderators: Benj, Mods

Post Reply
Roberto.Ambrosone
Posts: 6
Joined: Sat Dec 06, 2008 10:29 am
Contact:

SPI and ADF4360 PLL

Post by Roberto.Ambrosone »

I have to make an a oscillator with PLL adf4360.
It uses the SPI interface.
I really need some info on flowcode and SPI.
Why the window SPI flowcode tells me that the component has no external connections?

thank you

rr

Roberto.Ambrosone
Posts: 6
Joined: Sat Dec 06, 2008 10:29 am
Contact:

Re: SPI and ADF4360 PLL

Post by Roberto.Ambrosone »

how I can help windows start the context of the window open?
SPI window has the help but it do not start.
I found the file spi.help in the directory flowcode

thanks

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: SPI and ADF4360 PLL

Post by Benj »

Hello Roberto

Let us know if you cannt get the device working and we should be able to point you in the right direction. Ths SPI component has no external connections as it uses the hardware SPI peripheral pins. Eg SDI, SDO and SCK plus an I/O pin of your choice for the CS line.

Roberto.Ambrosone
Posts: 6
Joined: Sat Dec 06, 2008 10:29 am
Contact:

Re: SPI and ADF4360 PLL

Post by Roberto.Ambrosone »

I COMPLETED THE PROGRAM AND I TRIED IT ON A PLL TSA5511 TYPE WITH INTERFACE I2C.
THE ADF4360 PLL HAVE SPI INTERFACE, WITH THE CLOCK DATE AND LATCH ENABLE .
CONNECTIONS FOR CLOCK AND DATA ARE (16F876A) PIN14 PIN15. HOW TO CONNECT THE LATCH ENABLE?

ROBERTO

Roberto.Ambrosone
Posts: 6
Joined: Sat Dec 06, 2008 10:29 am
Contact:

Re: SPI and ADF4360 PLL

Post by Roberto.Ambrosone »

I SHOULD USE Pic16f876a To drive the two PLL CHIP.

ROBERTO

Roberto.Ambrosone
Posts: 6
Joined: Sat Dec 06, 2008 10:29 am
Contact:

Re: SPI and ADF4360 PLL

Post by Roberto.Ambrosone »

I HAVE NO NEED OF CS (CHIP SELECT).
I NEED LE (LATCH ENABLE).

FLOWCODE CREATE AUTOMATICALLY THIS SIGNAL LINE?

Roberto.Ambrosone
Posts: 6
Joined: Sat Dec 06, 2008 10:29 am
Contact:

Re: SPI and ADF4360 PLL

Post by Roberto.Ambrosone »

YOU KNOW SOME ROUTINE IN C LANGUAGE THAT MAY BE IN MY HELP?

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: SPI and ADF4360 PLL

Post by Benj »

Hello Roberto

The LE latch enable input sounds like a chip select to me. You should be able to use the SPI component in Flowcode to communicate with your device. You can either manually set and clear the chip enable output or get the SPI component to perform this for you.

Post Reply