Si3215 problem with Atxmega32

Thread Starter

hexer

Joined Oct 4, 2017
4
Hi
I connected a Si3215 to a AtXmega32 directly without any buffer like as 74LV244.
At start of program I read register 0 , 1 , 2 and ... but there is a problem with read of every register by SPI (SPI in mode 3 or 2). All register that is read, is 0 or 255 and not seems to be correct. In your opinion the problem is in my hardware like as buffer between si3215 and micro controller or there is a software problem like as initialize the Si3215?

Thanks in advance.
 

shteii01

Joined Feb 19, 2010
4,644
datasheet shows that the registers can be written to.
you, the user, can fill the registers with whatever you want.
 

Papabravo

Joined Feb 24, 2006
21,226
Registers for a peripheral device do not always work like memory. It is quite possible to read different values than you write. Without a schematic it is hard to know what your problem might be.

Can you give us a link to a datasheet for this obsolete part?
 
Last edited:

Thread Starter

hexer

Joined Oct 4, 2017
4
Registers for a peripheral device do not always work like memory. It is quite possible to read different values than you write. Without a schematic it is hard to know what your problem might be.

Can you give us a link to a datasheet for this obsolete part?
I attached its schematic. According to si3215 datasheet , reset setting of register 0 is 00XXXXXX and register 1 is 10001000 . But sometimes after reset of si3215, it returns 10001000 for all registers (reg 0,1,2,3, and...)!!! and sometimes after reset of si3215, it returns 00000000 for all registers!!!
But I expect its registers value be like as its datasheet value!


Si3215.jpg
 

Thread Starter

hexer

Joined Oct 4, 2017
4
Oh my GOD!
I found the problem! I didn't feed clock pulse to PCLK pin.

Regarding to Si3215 datasheet page 42:

Clock Generation
The ProSLIC will generate the necessary internal clock frequencies from the PCLK input. PCLK must be synchronous to the 8 kHz FSYNC clock and run at one of the following rates: 256 kHz, 512 kHz, 768 kHz, 1.024 MHz, 1.536 MHz, 2.048 MHz, 4.096 MHz, or 8.192 MHz.
 
Top