PSoC4S : How to use ECO

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

Dear Sirs and Madams,

 

Please confirm for the connection when using External Cristal Oscillator (ECO) with PSoC4S.

I understand that Rf and Rd like the configuration below are unnecessary.

Are these resistances unnecessary as they are built inside the PSoC4S?

 

MaMi_1205306_0-1658209731772.png

 

We are considering the use of 16MHz in the DSX320G series.

Are Rd and Rf unnecessary even in this case?

 

DSX320G Series URL

https://ftp.kds.info/products/DSX320G_GE_321G_car_en.pdf

 

 

Regards,

 

0 Likes
1 Solution
DennisS_46
Employee
Employee
100 sign-ins 50 likes received 50 solutions authored

The PSoC4100S_Max is very different from the basic 4100S. 4100S does not have an ECO, 4100S_Max does have an ECO. Trimming the (high frequency) ECO to fit your crystal can be done by following the directions in section 9.2.4.1 of the Architecture TRM 002-32818 which you can download from the website. There is no tool to calculate and automatically assign the correct register values. The registers you have already found as shown in your earlier response.
---- Dennis Seguine, PSoC Applications Engineer

View solution in original post

7 Replies
ncbs
Moderator
Moderator
Moderator
500 replies posted 50 likes received 250 sign-ins

Hi @MiNe_85951,

Are you trying to use ECO on PSoC 4000S device?

ECO is supported only in  PSoC™ 4100BLE, PSoC™ 4200BLE, PSoC™ 4100L, PSoC™ 4200L and PSoC™ 4100S Max devices. In order to provide high-accuracy clock to the PSoC 4000S device, you may supply a high-precision clock signal through EXT_CLK pin (P0[6] in PSoC 4000S), which in-turn drives the HFCLK. 

Please refer to the following sources:

  1. Section 4 Clocking in PSoC™ 4 MCU hardware design considerations.
  2. Chapter 7. Clocking System in PSoC 4000S Family: PSoC 4 Architecture Technical Reference Manual (TRM) for detailed description of all the clock sources available in PSoC 4000S.

Best regards,
Nikhil

0 Likes
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

Nikhil-san,

 

Thank you for your response.

We read PSoC4100S family datasheet and Architecture TRM carefully.

However, we couldn't find any mention of ECO's hardware connection.

I also confirmed for the URL you provided, but it's the same.

 

When I confirmed for the PSoC4S MAX and PSoC4 BLE demo kit schematic, it was presumed that Rg and Rd were unnecessary, but I would like to confirm that they were built into PSoC4S.

 

Regards,

0 Likes
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

We understand that ECO can be adjusted from Register TRM with EXCO_ECO_TRIM0/1/2.

MaMi_1205306_0-1658367093704.png

Please let us know that the adjustment range of ”Feedback register Trim” described in the EXCO_ECO_TRIM1 register may be just how many ohms to how many ohms are expected.

 

Regards,

0 Likes
ncbs
Moderator
Moderator
Moderator
500 replies posted 50 likes received 250 sign-ins

Hi MaMi-san [@MiNe_85951],

Could you please confirm the device being used? In your initial post, I see PSoC4S but later you have referred to PSoC4100S. Both these devices do not have ECO as its clock source. 

ncbs_1-1658384736326.png

 

ncbs_0-1658384666800.png

 

Regards,
Nikhil

0 Likes
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

Nikhil-san,

 

We are considering the PSoC4S MAX series.

Part number is CY8C4149AZI-S598(Default device in Modus Toolbox).

 

Regards,

0 Likes
DennisS_46
Employee
Employee
100 sign-ins 50 likes received 50 solutions authored

The PSoC4100S_Max is very different from the basic 4100S. 4100S does not have an ECO, 4100S_Max does have an ECO. Trimming the (high frequency) ECO to fit your crystal can be done by following the directions in section 9.2.4.1 of the Architecture TRM 002-32818 which you can download from the website. There is no tool to calculate and automatically assign the correct register values. The registers you have already found as shown in your earlier response.
---- Dennis Seguine, PSoC Applications Engineer

MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

Dennis-san,

 

Thank you for your answer.

We think we probably don't need external resistor Rf and Rd, I understood that you can't answer about the Rf and Rd resistance values that can be adjusted inside the PSoC4S MAX.

 

Regards,

0 Likes