cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 6 MCU

New Contributor II

Hello,

I have a question about using ECO and WCO with CY8C6347FMI-BUD53.

Q1.

CY8C6347FMI-BUD53 does not have ports (P12[6], P12[7]) for using ECO.

Should I use EXT_CLK instead of ECO in this case?

Q2.

If Q1 is Yes, I want to use P0[5] as the WAKEUP_OUT signal, so I intend to assign EXT_CLK to P0[0].

However, since P0[0] is WCO_IN, I think that Crystal Oscillator cannot be used for WCO.

In the application note [4.1.1.2 WCO] below, it is described that Clock input is possible from WCO_OUT pin (P0[1]).

https://www.cypress.com/file/385701/download

So is it possible to have the following configuration?

P0[0]: EXT_CLK: 32MHz (used as ECO)

P0[1]: WCO_OUT: 32.768kHz (used as WCO)

Q3.

If Q2 is Yes, the following application note recommends Crystal Oscillator when using BLE.

https://www.cypress.com/file/139476/download

Is it okay to supply ECO and WCO with External Clock?

We are considering supplying Clock with the following accuracy.

ECO: 32MHz ±25ppm

WCO: 35.768kHz ±10ppm or 20ppm

Best regards,

Takahashi

0 Likes
Reply
1 Solution
Moderator
Moderator

Hello Takahashi-san,

A1.

When using EXT_CLK,

(1) WCO cannot be used when EXT_CLK is assigned to P0[0]. *When only WCO_OUT is used, WCO_IN(P0[0]) must be Float.

>> Yes. This correct.

(2) WAKEUP_OUT cannot be used when EXT_CLK is assigned to P0[5].

>> Yes. This is correct.

A2.

Let me confirm about A3.

I understand that X0 and X1 are BLE_ECO.

Can BLE_ECO be used as Main Clock instead of ECO?

>> Yes. BLE_ECO can be used as main clock instead of ECO. No matter it will be used as main clk or not, it is required to be installed on the board for BLE operation. To use it as main clock, it can be configured as introduced as Figure 9. Configuring BLE ECO in PSoC Creator and ModusToolbox in the PSoC 6 MCU Hardware Design Considerations.

So the following can be configured?

P0[0]: WCO_IN :"Float" or "input from WCO crystal"

P0[1]: WCO_OUT: "32.768kHz sine wave" or "output to WCO crystal"

XI(M5): 32MHz (used as ECO/Main clock)

XO(P5): 32MHz (used as ECO/Main clock)

>> Yes. This is correct.

A3.

Also, can this BLE_ECO use Clock OSC like EXT_CLK?

XI(M5): Float

XO(P5): 32MHz (used as ECO/Main clock)

Sorry..I'm afraid this is not available. BLE_ECO cannot use EXT_CLK as a source...

Best Regards,

Ryan

View solution in original post

0 Likes
Reply
4 Replies
Moderator
Moderator

Hello Takahashi-san,

A1.

Yes. If the internal IMO of PSoC 6 can not meet customer requirement and ECO pin not available, we should use EXT_CLK instead of ECO.

A2

P0[0]: EXT_CLK: 32MHz (used as ECO)

P0[1]: WCO_OUT: 32.768kHz (used as WCO)

Sorry for that, limited by the hardware, though WCO is configured as Bypass mode(External sine wave mode), but WCO_IN should be left float as the AN described. It cannot be used for other function.

Q3.

BLE Component need to use the clock of BLE ECO, separately with other clock source. The pin number is M5 and P5 (XI and XO pins) for CY8C6347FMI-BUD53.

Please refer pin info in Page-21 and Figure 5 in PSoC 63 datasheet: https://www.cypress.com/file/385921/download

Best Regards,

Ryan

0 Likes
Reply
New Contributor II

Hi Ryan-san,

Thank you for your reply.

Q1.

I understood the following from A1 and A2. Are they correct?

When using EXT_CLK,

(1) WCO cannot be used when EXT_CLK is assigned to P0[0]

     *When only WCO_OUT is used, WCO_IN(P0[0]) must be Float.

(2) WAKEUP_OUT cannot be used when EXT_CLK is assigned to P0[5].

Q2.

Let me confirm about A3.

I understand that X0 and X1 are BLE_ECO.

Can BLE_ECO be used as Main Clock instead of ECO?

It can be read as usable in the ECO item of P.66 [C.1.5 Clocking System] in the following documents.

https://www.cypress.com/file/385696/download

So the following can be configured?

P0[0]: WCO_IN :"Float" or "input from WCO crystal"

P0[1]: WCO_OUT: "32.768kHz sine wave" or "output to WCO crystal"

XI(M5): 32MHz (used as ECO/Main clock)

XO(P5): 32MHz (used as ECO/Main clock)

Q3.

Also, can this BLE_ECO use Clock OSC like EXT_CLK?

XI(M5): Float

XO(P5): 32MHz (used as ECO/Main clock)

Best regards,

Takahashi

0 Likes
Reply
Moderator
Moderator

Hello Takahashi-san,

A1.

When using EXT_CLK,

(1) WCO cannot be used when EXT_CLK is assigned to P0[0]. *When only WCO_OUT is used, WCO_IN(P0[0]) must be Float.

>> Yes. This correct.

(2) WAKEUP_OUT cannot be used when EXT_CLK is assigned to P0[5].

>> Yes. This is correct.

A2.

Let me confirm about A3.

I understand that X0 and X1 are BLE_ECO.

Can BLE_ECO be used as Main Clock instead of ECO?

>> Yes. BLE_ECO can be used as main clock instead of ECO. No matter it will be used as main clk or not, it is required to be installed on the board for BLE operation. To use it as main clock, it can be configured as introduced as Figure 9. Configuring BLE ECO in PSoC Creator and ModusToolbox in the PSoC 6 MCU Hardware Design Considerations.

So the following can be configured?

P0[0]: WCO_IN :"Float" or "input from WCO crystal"

P0[1]: WCO_OUT: "32.768kHz sine wave" or "output to WCO crystal"

XI(M5): 32MHz (used as ECO/Main clock)

XO(P5): 32MHz (used as ECO/Main clock)

>> Yes. This is correct.

A3.

Also, can this BLE_ECO use Clock OSC like EXT_CLK?

XI(M5): Float

XO(P5): 32MHz (used as ECO/Main clock)

Sorry..I'm afraid this is not available. BLE_ECO cannot use EXT_CLK as a source...

Best Regards,

Ryan

View solution in original post

0 Likes
Reply
New Contributor II

Hi Ryan-san,

Thank you.

0 Likes
Reply
Top labels