PSoC4S : Implementation of "CE224703 – PSoC 4 Watchdog Timer"

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,

 

We are considering the WDT for PSoC4S.

I understand the code example of CE210292.

 

CE210292 - PSoC4S Watchdog timer 

https://www.cypress.com/documentation/code-examples/ce210292-psoc-4s-watchdog-timer

 

However, I found a WDT CE224703 for PSoC4.

 

CE224703 - PSoC4 Watchdog Timer

https://www.cypress.com/documentation/code-examples/ce224703-psoc-4-watchdog-timer

 

Looking at CE224703, it was a code example that does not use WDT components.

I changed the device to PSoC4S with the device selector of this CE224703's project and built it, but an error occurs.

Guessing from the error, it seems that the API is different between PSoC4 and PSoC4S.

Is it possible to configure WDT like this CE224037 with PSoC4S?

 

Regards,

0 Likes
7 Replies
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello @MiNe_85951 

It should be possible to create a project similar to CE224037, for the PSoC 4000S device as well. As mentioned by you PSoC 4000S has different APIs available for the WDT. To view all the APIs available for 4000S WDT change the device to 4000S in the project and build the project. The CyLFClk.c files would contains all the APIs for WDT.

I would try to create a similar project as CE224037 for the PSoC 4000S device and post it in this thread.

Best Regards

Ekta

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

Ekta-san,

 

Is it possible to provide us a sample project that does not use WDT components in PSoC4S again?

The fact that "PSoC4S does not use WDT components" means that the project is reconfigured with PSoC4S instead of PSoC4 with CE224703.

We have created a PSoC4S project that does not use WDT components but it is not working.

 

Regards,

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

 

> I would try to create a similar project as CE224037 for the PSoC 4000S device and post it in this thread.

 

It can be a really simple configuration.

Customer is asking us to provide a reference project.

0 Likes
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA
0 Likes
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

Moto-san,

 

Thank you for your support.

However, We understood the WDT with Global Signal component  like CE224703.

 We are confused about how to achieve WDT with PSoC 4S without Global Signal components like CE210292.

In CE210292, the project is created in PSoC4, but the API is not compatible when porting to PSoC4S.

We could read the TRM and the datasheet and configure it to work without any application notes, but We would like to know which configuration is recommended.

It's a separate thread, but the particular problem is that the relationship between system clock settings and API calls is very unclear.

https://community.cypress.com/t5/PSoC-4-MCU/PSoC4S-Regarding-the-setting-of-Timer-WDT-of-Configure-S...

 

Regards,

 

 

0 Likes
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

Dear MaMi-san,

 

I'm sorry for my short site.

I will also study the problem and watch this thread.

 

Best Regards,

16-Jul-2021

Motoo Tanaka

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

moto-san,

 

No, thank you for your comment.

PSoC4 is confusing in that different series have different configurration and APIs.

Wait for the reference design from Infineon-Cypress.

 

Regards,