Problems when using the RTC and the TFT display at the same time

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

cross mob
HeDi_4635501
Level 3
Level 3
First solution authored 10 questions asked 25 sign-ins

Hello,

I use the CY8CKIT-062-WiFi-BT Board with modus toolbox. I want to show the time on the TFT-28 display.

For this I use the rtc. Only the rtc and display via the UART interface e.g. with Tera Term is fine.

Only a text output on the TFT display is also in order.

When I initialize the rtc and set GUI_Init() doesn't work anymore. The display does not appear to be initialized. No return value of the GUI_Init() function. I think the rtc and the emWin software are blocking each other. I don't use freeRTOS only 2 functions (main and ftf display).

What can you do to display the rtc information on a TFT display?

Thanks

0 Likes
1 Solution
Aashita_R
Moderator
Moderator
Moderator
50 likes received 100 solutions authored 250 replies posted

Hi @HeDi_4635501 ,

I will try checking this at my end. Meanwhile, you can also check one of our code example available with PSoC Creator though : https://www.infineon.com/dgdl/Infineon-CE216825_PSoC_6_Real-Time_Clock_Basics_(PSoC_Creator)-Code%20... . This code example demonstrates how to get and set the time in a real-time clock (RTC), using the RTC driver API in the Peripheral Driver Library (PDL). This code example will help you get an idea of the flow of code quickly.

Best Regards,

Aashita

 

 

View solution in original post

0 Likes
2 Replies
Aashita_R
Moderator
Moderator
Moderator
50 likes received 100 solutions authored 250 replies posted

Hi @HeDi_4635501 ,

I will try checking this at my end. Meanwhile, you can also check one of our code example available with PSoC Creator though : https://www.infineon.com/dgdl/Infineon-CE216825_PSoC_6_Real-Time_Clock_Basics_(PSoC_Creator)-Code%20... . This code example demonstrates how to get and set the time in a real-time clock (RTC), using the RTC driver API in the Peripheral Driver Library (PDL). This code example will help you get an idea of the flow of code quickly.

Best Regards,

Aashita

 

 

0 Likes

Hi,

Note: the rtc works with modus toolbox and a serial terminal. see example:

https://github.com/Infineon/mtb-example-psoc6-rtc-basics

But showing the time on the TFT display shield is not possible.

Best Regards,

Heinz

0 Likes