2019-09-12 10:00 PM
I have made a customize PCB with STM32L151CBU6 and it's LSE is not running reliably.
LSE only runs when I apply some heat with my hot air station. But after some minutes, the LSE stops and again I need to apply some heat to make it run again.
Can anyone provide me any information about if there is issue with the design or selection of components?
The 32.768KHz crystal I am using is :- FC-135 32.7680KA-AC0
I have tried different values capacitors 6.8pF, 12pF, 15pF, 18pF. But there is same problem with all values.
2019-09-13 02:05 AM
Is there a ground plane? What is the route of GND to which the capacitors from crystal are connected, into the GND pins of mcu?
JW
2019-09-13 02:34 AM
Is this a 6-7pf crystal?
2019-09-13 04:32 AM
It is a 9pF crystal as mentioned on supplier's website.
2019-09-13 04:59 AM
Yes, this a four layer PCB with dedicated power and ground planes.
2019-09-13 05:13 AM
Please review AN2867.
While it recommends the EPSON FC135 crystal, unfortunately, the model number does not guarantee the load capacitance. According to the DS, 7 pF, 9 pF, 12.5 pF variants are available for this model. Interestingly, AN2867 quotes this model as 6pF...
JW
2019-09-13 05:14 AM
Hard to cut n paste from phone. The 9 and 12pf crystal aren't suitable for F1, F2 and F4 parts. Check App Note for STM32 and BOM for L1 DISCO boards.
2019-09-14 03:03 AM
Alright! I have read the AN2867 and figured out that I must use 6pF or 7pF crystal for my design. I will test them and come back here again with results.
2019-09-18 04:05 AM
Hi,
I have bought a new crystal with 6pF load capacitance. it's Part number is "ABS25-32.768KHZ-6-T".
it is the same crystal that I saw in many development boards made by ST. But, unfortunately, it also showing the same behavior. Now I think that there might be something with design. Can anyone tell me what can I change in traces (just other than placing the crystal near to controller)?
2019-09-22 06:58 AM
Does your code reset HSEBYP bit and wait on HSERDY bit in RCC_CR register?