External RTC Clock not start the firmware

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

cross mob
FaBa_506136
Level 2
Level 2
5 replies posted 5 questions asked 5 sign-ins

Hi everyone,

I am using the CY8C41125AZI-M433, I have a problem with the firmware if I activate the RTC external WCO clock, the firmware does not start, the processor seems frozen.

If I enable the internal ILO clock the firmware works perfectly.

I can't understand why.

Help please on how to solve the problem

Thank you

0 Likes
5 Replies
lock attach
Attachments are accessible only for community members.
VenkataD_41
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi,

Please attach the non working project as well as the board schematic. We would like to check the application at our side.

Please check the clocks tab once. It should look like the attached image.

Thanks

Ganesh

0 Likes
lock attach
Attachments are accessible only for community members.

Hi Ganesh,

attached the project and the cpu schematic.

Thanks for you help.

Regards

Fausto

Il 01/04/2019 09:58, GaneshD_41 ha scritto:

Cypress Semiconductor logo <http://www.cypress.com>

>

Cypress Developer Community

<https://community.cypress.com/?et=watches.email.thread>

>

External RTC Clock not start the firmware

reply from GaneshD_41

<https://community.cypress.com/people/GaneshD_41?et=watches.email.thread>

in /PSoC 4 MCU Community/ - View the full discussion

<https://community.cypress.com/message/191646?et=watches.email.thread#191646>

>

0 Likes
lock attach
Attachments are accessible only for community members.

Hi,

Thank you for the information.

The ratio of C1 and C2 should be 2:1 for WCO. Please refer page number 15 of the application note "PSoC /PRoC BLE Crystal Oscillator Selection and Tuning Techniques". In the present schematic the values of the capacitors are equal in magnitude. Please change this and check once.

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

Please explain the sentence "the firmware does not start, the processor seems frozen." Can you please debug and tell us whether the program is coming to main()?

We have tested the project you have sent on our kit and found that the firmware execution reaches main(). Please refer the attached image. Is the program reaching main() at your side?

Thanks

Ganesh

0 Likes

Hi Ganesh

I don't have the card with me it's already installed on the site and

it's using the internal rtc clock.But it's not accurate, so I sent the

fw version with the external clock, but it doesn't work.

The CPU card is connected to an I2C display and nothing is displayed on

it, and the technicians present have verified with the oscilloscope that

I have no transmission on the bus, SCL and SDA always remain at logic

level 1, so let us suppose thatthe cpu is stopped.

Now let's change the capacities and check if the fw with rtc external

clock can write on the display.

Thanks for all.

Fausto

Il 01/04/2019 12:02, GaneshD_41 ha scritto:

Cypress Semiconductor logo <http://www.cypress.com>

>

Cypress Developer Community

<https://community.cypress.com/?et=watches.email.thread>

>

External RTC Clock not start the firmware

reply from GaneshD_41

<https://community.cypress.com/people/GaneshD_41?et=watches.email.thread>

in /PSoC 4 MCU Community/ - View the full discussion

<https://community.cypress.com/message/191677?et=watches.email.thread#191677>

>

0 Likes

Hi Fausto,

I am curious to know whether changing the capacitor ratio worked or not. Please share what has happened with us.

Thanks

Ganesh

0 Likes