5 Replies Latest reply on May 23, 2018 2:55 AM by AndreaBodini

    ProC4 XTAL issue

    AndreaBodini

      Hello everyone,

       

      I've designed a PCB with the ProC4 IC.

       

      I'm encountering an issue when trying to debug my project. It falls into the CyClockStartupError function and I can't understand why.

       

      This is the second revision of the board, before it worked without any problems. The only change I made between the two boards are the 24 MHz and 32768 kHz crystals.

       

      Before were a 581-ST2012SB32E0HPWB from Mouser and a 775-3710 from RS Components.

      Now the devices are XC1947CT-ND and XC1842TR-ND from Digikey.

       

      Theoretically there are no differences between the oscillators, only on the load capacitance of the 24 MHz xtal.

       

      I've changed the "Capacitance Trim Value" in the ECO section, but without any results.

       

      The strange thing is that, if I upload the firmware on the demoboard or on the older board, it works. The demoboard crystals are again different than my first board.

       

      Any help would be very appreciated.

       

      Thank you!

       

      Andrea

        • 1. Re: ProC4 XTAL issue
          rzzh

          Does XC1947CT-ND and XC1842TR-ND start up on the new board?

          And I'm wondering that what will happen if putting XC1947CT-ND and XC1842TR-ND on the demoboard....

           

          • 2. Re: ProC4 XTAL issue
            rzzh

            Besides, which device are you using? PRoC BLE or some PSoC4 device?

            • 3. Re: ProC4 XTAL issue
              AndreaBodini

              Thank you for the answer. I'm using a PRoC BLE.

              I have changed the 24 MHz crystal on one of the new boards with one of the oldest, and nothing happened. It continues to fall into the CyClockStartupError.

               

              Another strage thing is that one of the boards with the new crystals is working perfectly.

              The board are manufactured by a professional producer, so it seems very strange.

               

              Any hints?

               

              Thank you.

               

              Andrea

              • 4. Re: ProC4 XTAL issue
                e.pratt_1639216

                Could be the first board you got is damaged, and that is why the other one is working?

                Since your code/program works on other boards and kits, the issue is most likely a hardware problem. You should be able to jury-rig wiring/jumpers/cuts to see if they affect the issue by making it better or worse, and then just test different things on the board to see what affects it.

                • 5. Re: ProC4 XTAL issue
                  AndreaBodini

                  Thank you, I also wondered about an hardware fail, but I don't know what to look at.

                   

                  I solved by making a new design integrating the EZBLE module

                   

                  Again, thank you everyone.

                   

                  Andrea