cancel
Showing results for 
Search instead for 
Did you mean: 

SPIRIT1 stucks in READY state

ralph23
Associate II
Posted on June 27, 2015 at 00:17

We have trouble to get the SPIRIT1 on our own board working. The very basic problem is that the chip can not be switched to any other state then ready

Therefor the setup for any frequency settings are not possible.

We spend now one week to make sure that the SPI communication is correct and working as required.

Unfortunately is the datasheet very basic e.g. the status bytes responded with the first 16 clock cycles are not documented.

We have the following questions:

Are there other status bytes to read to figure out what the possible problem of our design is?

We have assembled a view boards with different soldering specs. But all behave the same.

#spirit1
6 REPLIES 6
Posted on June 29, 2015 at 08:03

Hello,

What does it mean the chip cannot switch to any other state, but ready?

Have You tried sending a STANDBY command to put the SPIRIT1 in STANDBY state?

At which command the SPIRIT1 does not respond? And what is the STATE[6:0] value (MC_STATE[0] 0xC1 register) during stuck situation?

Typically, the only stuck situation in state transaction is in LOCK state and this situation is due to a not correct radio setting: frequency clock not configured correctly, the frequency that must be synthesized is out of the range, and also hardware issue in power supply and clock supply.

Have You tried same registers setting in a reference board for double check (if it works it is possible to exclude the registers setting from the source of problems).

Best Regards,

S

ralph23
Associate II
Posted on June 29, 2015 at 09:43

Hi Salvatore,

yes, it means what it says, the chips (on two boards) can not be switched to any other state. They remain in READY state. They can not be changed to STANDBY to set Radio settings. I have attached some SPI records. I can not see any problem with the SPI commands.

Is there any other register to read to nail down possible PCB problems?

Is the response with the first 16 clocks helpful for those issues? They are not documented in the data sheet.

Please help

Thank you

Ralph

________________

Attachments :

command_sleep.bmp : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Ht3G&d=%2Fa%2F0X0000000aJK%2F4wINu4i4O03IRHIXgjSoR4DxpRgROavJiPoEL_oGlYI&asPdf=false

command_ssres.bmp : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Ht1L&d=%2Fa%2F0X0000000aIt%2FLlnVmDOUow7Y6VqszxVtyHVulBghcewI28kOimcw19U&asPdf=false

reg_C1_return.bmp : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Ht3L&d=%2Fa%2F0X0000000aJL%2FeKp6MiEJhUWNYw5RVtOynuthFQ1yCJPoD8og3_5bZjY&asPdf=false
Posted on June 29, 2015 at 11:07

Hello,

In all the pictures, the signals are clock and MISO. According to datasheet the value 0x06 means READY state and XO NOT OPERATING.

Just try this test:

 - register 0x05, value 0x8A

 - register 0x06, value 0x80

and check the signal @ GPIO0. Should be the clock. If You do not see any signal, that is the problem.

Best Regards,

S

ralph23
Associate II
Posted on June 29, 2015 at 15:36

Hi,

does this mean that in any case the XO will run? Because I can't see anything on XIN and XOUT, the pins stay at VDD/2. I am using a 24MHz crystal.

cheers

Ralph

ralph23
Associate II
Posted on June 29, 2015 at 19:00

Hi Salvatore,

Attached the write command SPI com for register 0x05 and 0x

No output is generated @GPIO_0 what I would expect, as the xtal is not running.

XIN (pin 7) shows 0.7V DC while XOUT (pin 6) shows 0V DC.

As the data sheet is a minimum of information, I want to know if the xtal will work strait after power on ? should be as the SPIRIT1 is in READY state. Correct?

Cheers

Ralph

It seems fact that the xtal is not running

________________

Attachments :

reg_05_write_miso.bmp : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Ht3Q&d=%2Fa%2F0X0000000aJM%2FrQQrPi35Pm6RSLd3.ixuyK8TF8WRFwmkW0t5TI1eIsU&asPdf=false

reg_05_write_mosi.bmp : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Ht3V&d=%2Fa%2F0X0000000aJN%2FbfbFXruhmIS40BDMDFGBtIUgOKWjMOL5G0_boAGkpF4&asPdf=false

reg_06_write_miso.bmp : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Ht3a&d=%2Fa%2F0X0000000aJO%2FjVdugxO4TyVJocNZKUPi0tOuB0ifFAACYF4WsTlEY2w&asPdf=false

reg_06_write_mosi.bmp : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Ht3f&d=%2Fa%2F0X0000000aJP%2FMGfKL3xyI48AZ0UNZVMpep8arC2g7ELcEuqEt0mVu9I&asPdf=false
Posted on June 30, 2015 at 10:32

Hello,

Once the board is ON, You must be able to see the clock signal by probing directly the two pins of the crystal. If it is not, this means the crystal is not soldered correctly.

Best Regards,

S