Help finding capacitor for PCF8563TS/5,118

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help finding capacitor for PCF8563TS/5,118

130 Views
oneisart
Contributor I

I'm working with a PCF8563TS/5,118 IC, trying to get the external cap on OSCI pin right. 

I'm working with a 50k ESR, 12.5pF 32.568KHz crystal, shortest possible traces, Schematic just like in the application diagram on the datasheet.

I tried making the calculations by consulting both the datasheet and UM10301 to get an understanding on the device. I found it difficult to find out a clear way to calculate the value for the external cap because the datasheet mentions parallel and series on different pages of the same topic, OSCI and OSCO. 

I see there is an internal 25pF cap in parallel with the external OSCI and OSCO pins. Table 30 on the datasheet indicates CL is calculated in parallel, but has a note that shows the calculation for series capacitors instead.

 

I can't find an external cap that makes the device work. Getting no I2C response. I tried 25pF, 22.5pF, 20pF, 25pF, 10pF, 8.2pF, 6pF. All 0603 C0G/NP0 caps.

I did get it to work on a different board by not placing a capacitor at all. Which doesn't make any sense after making the calculations.

 

I would like to please get an example of how you calculate a value for these inputs (12.5pF 50k ESR crystal) because I haven't been able to make it work neither by calculating it nor by bruteforcing values.

Tags (1)
0 Kudos
Reply
3 Replies

96 Views
db16122
Contributor IV

db16122_0-1784461035005.png

UM10301 User Manual for PCF85x3, PCF85x63, PCA8565, PCF2123, and PCA21125

0 Kudos
Reply

93 Views
oneisart
Contributor I
Yes that's the value of the integrated internal capacitor and I mentioned that in my own post. I have read that file.
It would be way more helpful if you actually wrote what you intend to convey. Thanks for taking the time though
0 Kudos
Reply

75 Views
JozefKozon
NXP TechSupport
NXP TechSupport

Dear David,

db16122 correctly pointed you to the Table 3. in the UM10301. If your target load capacitance is 12.5pF, then you need to connect a trim capacitor on the OSCI pin with 25pF middle value. 

JozefKozon_0-1784524368704.png

JozefKozon_1-1784524409356.png

This 25pF value can be calculated from the formula below the Table 30. in the PCF8563 datasheet

JozefKozon_2-1784524493868.png

Where CL is the target load capacitance, in your case 12.5pF. 

Cosco is the known internal capacitance, the 25pF. 

JozefKozon_3-1784524560452.png

From the formula, the Ctrim can deduced:

CL=Ctrim*Cosco/(Ctrim+Cosco)

CL*Ctrim+CL*Cosco=Ctrim*Cosco

CL*Cosco=Ctrim*Cosco-CL*Ctrim

CL*Cosco=Ctrim*(Cosco-CL)

CL*Cosco/(Cosco-CL)=Ctrim

Ctrim=CL*Cosco/(Cosco-CL)=12.5*25/(25-12.5)=312.5/12.5

Ctrim=25pF

 

The variable trim capacitor is required because there is margin for the internal Cosco capacitor. Cosco may vary from 15pF to 35pF. 

JozefKozon_4-1784525019076.png

With Best Regards,

Jozef

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2396560%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHelp%20finding%20capacitor%20for%20PCF8563TS%2F5%2C118%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2396560%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI'm%20working%20with%20a%20PCF8563TS%2F5%2C118%20IC%2C%20trying%20to%20get%20the%20external%20cap%20on%20OSCI%20pin%20right.%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20working%20with%20a%2050k%20ESR%2C%2012.5pF%2032.568KHz%20crystal%2C%20shortest%20possible%20traces%2C%20Schematic%20just%20like%20in%20the%20application%20diagram%20on%20the%20datasheet.%3C%2FP%3E%3CP%3EI%20tried%20making%20the%20calculations%20by%20consulting%20both%20the%20datasheet%20and%20UM10301%20to%20get%20an%20understanding%20on%20the%20device.%20I%20found%20it%20difficult%20to%20find%20out%20a%20clear%20way%20to%20calculate%20the%20value%20for%20the%20external%20cap%20because%20the%20datasheet%20mentions%20parallel%20and%20series%20on%20different%20pages%20of%20the%20same%20topic%2C%20OSCI%20and%20OSCO.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20see%20there%20is%20an%20internal%2025pF%20cap%20in%20parallel%20with%20the%20external%20OSCI%20and%20OSCO%20pins.%20Table%2030%20on%20the%20datasheet%20indicates%20CL%20is%20calculated%20in%20parallel%2C%20but%20has%20a%20note%20that%20shows%20the%20calculation%20for%20series%20capacitors%20instead.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20can't%20find%20an%20external%20cap%20that%20makes%20the%20device%20work.%20Getting%20no%20I2C%20response.%20I%20tried%2025pF%2C%2022.5pF%2C%2020pF%2C%2025pF%2C%2010pF%2C%208.2pF%2C%206pF.%20All%200603%26nbsp%3BC0G%2FNP0%20caps.%3C%2FP%3E%3CP%3EI%20did%20get%20it%20to%20work%20on%20a%20different%20board%20by%20not%20placing%20a%20capacitor%20at%20all.%20Which%20doesn't%20make%20any%20sense%20after%20making%20the%20calculations.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20would%20like%20to%20please%20get%20an%20example%20of%20how%20you%20calculate%20a%20value%20for%20these%20inputs%20(12.5pF%2050k%20ESR%20crystal)%20because%20I%20haven't%20been%20able%20to%20make%20it%20work%20neither%20by%20calculating%20it%20nor%20by%20bruteforcing%20values.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2396571%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Help%20finding%20capacitor%20for%20PCF8563TS%2F5%2C118%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2396571%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EYes%20that's%20the%20value%20of%20the%20integrated%20internal%20capacitor%20and%20I%20mentioned%20that%20in%20my%20own%20post.%20I%20have%20read%20that%20file.%3CBR%20%2F%3EIt%20would%20be%20way%20more%20helpful%20if%20you%20actually%20wrote%20what%20you%20intend%20to%20convey.%20Thanks%20for%20taking%20the%20time%20though%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2396570%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Help%20finding%20capacitor%20for%20PCF8563TS%2F5%2C118%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2396570%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22db16122_0-1784461035005.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22db16122_0-1784461035005.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22db16122_0-1784461035005.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F392595i2ABA78FA9633155D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22db16122_0-1784461035005.png%22%20alt%3D%22db16122_0-1784461035005.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EUM10301%20User%20Manual%20for%20PCF85x3%2C%20PCF85x63%2C%20PCA8565%2C%20PCF2123%2C%20and%20PCA21125%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2396648%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Help%20finding%20capacitor%20for%20PCF8563TS%2F5%2C118%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2396648%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%20David%2C%3C%2FP%3E%0A%3CP%3Edb16122%20correctly%20pointed%20you%20to%20the%20Table%203.%20in%20the%26nbsp%3B%3CSPAN%3EUM10301.%20If%20your%20target%20load%20capacitance%20is%2012.5pF%2C%20then%20you%20need%20to%20connect%20a%20trim%20capacitor%20on%20the%20OSCI%20pin%20with%2025pF%20middle%20value.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JozefKozon_0-1784524368704.png%22%20style%3D%22width%3A%20326px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JozefKozon_0-1784524368704.png%22%20style%3D%22width%3A%20326px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F392624iEE7E11C430163D83%2Fimage-dimensions%2F326x211%3Fv%3Dv2%22%20width%3D%22326%22%20height%3D%22211%22%20role%3D%22button%22%20title%3D%22JozefKozon_0-1784524368704.png%22%20alt%3D%22JozefKozon_0-1784524368704.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JozefKozon_1-1784524409356.png%22%20style%3D%22width%3A%20299px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JozefKozon_1-1784524409356.png%22%20style%3D%22width%3A%20299px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F392625i15B4E104937FDA99%2Fimage-dimensions%2F299x233%3Fv%3Dv2%22%20width%3D%22299%22%20height%3D%22233%22%20role%3D%22button%22%20title%3D%22JozefKozon_1-1784524409356.png%22%20alt%3D%22JozefKozon_1-1784524409356.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThis%2025pF%20value%20can%20be%20calculated%20from%20the%20formula%20below%20the%20Table%2030.%20in%20the%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fdata-sheet%2FPCF8563.pdf%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EPCF8563%20datasheet%3C%2FA%3E.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JozefKozon_2-1784524493868.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JozefKozon_2-1784524493868.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F392626iDF6BA6E1E2A3036A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JozefKozon_2-1784524493868.png%22%20alt%3D%22JozefKozon_2-1784524493868.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EWhere%20CL%20is%20the%20target%20load%20capacitance%2C%20in%20your%20case%2012.5pF.%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECosco%20is%20the%20known%20internal%20capacitance%2C%20the%2025pF.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JozefKozon_3-1784524560452.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JozefKozon_3-1784524560452.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F392630i64780362AF2BD7BE%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JozefKozon_3-1784524560452.png%22%20alt%3D%22JozefKozon_3-1784524560452.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EFrom%20the%20formula%2C%20the%20Ctrim%20can%20deduced%3A%3C%2FP%3E%0A%3CP%3ECL%3DCtrim*Cosco%2F(Ctrim%2BCosco)%3C%2FP%3E%0A%3CP%3ECL*Ctrim%2BCL*Cosco%3DCtrim*Cosco%3C%2FP%3E%0A%3CP%3ECL*Cosco%3DCtrim*Cosco-CL*Ctrim%3C%2FP%3E%0A%3CP%3ECL*Cosco%3DCtrim*(Cosco-CL)%3C%2FP%3E%0A%3CP%3ECL*Cosco%2F(Cosco-CL)%3DCtrim%3C%2FP%3E%0A%3CP%3ECtrim%3DCL*Cosco%2F(Cosco-CL)%3D12.5*25%2F(25-12.5)%3D312.5%2F12.5%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ECtrim%3D25pF%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThe%20variable%20trim%20capacitor%20is%20required%20because%20there%20is%20margin%20for%20the%20internal%20Cosco%20capacitor.%20Cosco%20may%20vary%20from%2015pF%20to%2035pF.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JozefKozon_4-1784525019076.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JozefKozon_4-1784525019076.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F392632iA7EC430FD0FE639F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JozefKozon_4-1784525019076.png%22%20alt%3D%22JozefKozon_4-1784525019076.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EWith%20Best%20Regards%2C%3C%2FP%3E%0A%3CP%3EJozef%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E