2015-06-26 03:17 PM
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. #spirit12015-06-28 11:03 PM
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,S2015-06-29 12:43 AM
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=falsecommand_ssres.bmp : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Ht1L&d=%2Fa%2F0X0000000aIt%2FLlnVmDOUow7Y6VqszxVtyHVulBghcewI28kOimcw19U&asPdf=falsereg_C1_return.bmp : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Ht3L&d=%2Fa%2F0X0000000aJL%2FeKp6MiEJhUWNYw5RVtOynuthFQ1yCJPoD8og3_5bZjY&asPdf=false2015-06-29 02:07 AM
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 0x80and check the signal @ GPIO0. Should be the clock. If You do not see any signal, that is the problem.Best Regards,S2015-06-29 06:36 AM
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 Ralph2015-06-29 10:00 AM
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=falsereg_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=falsereg_06_write_miso.bmp : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Ht3a&d=%2Fa%2F0X0000000aJO%2FjVdugxO4TyVJocNZKUPi0tOuB0ifFAACYF4WsTlEY2w&asPdf=falsereg_06_write_mosi.bmp : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Ht3f&d=%2Fa%2F0X0000000aJP%2FMGfKL3xyI48AZ0UNZVMpep8arC2g7ELcEuqEt0mVu9I&asPdf=false2015-06-30 01:32 AM
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