Announcements

Register now for the most anticipated Asia Pacific Power Seminar 2022

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

USB superspeed peripherals Forum Discussions

HamburgSteak
Level 2
10 replies posted 25 sign-ins 10 sign-ins
Level 2

Hi,

I'm developing some products using CYUSB3KIT-003(FX3) these days.

And I would like to use printf() functions of standard C library to send out data on UART.

Is it possible on this product? Is this development environment support this?

If supported, please let me know how to do that.

0 Likes
1 Solution
Meghavi
Moderator
Moderator 100 solutions authored 10 likes received First like given
Moderator

Hi,

It also depends on the use of printf() function. If you want to print floating variables then you can refer this: https://community.cypress.com/t5/Knowledge-Base-Articles/Printing-Floating-Values-using-FX3-SDK-KBA2... , otherwise CyU3PDebugPrint API can be used.

Regards

View solution in original post

0 Likes
4 Replies
Meghavi
Moderator
Moderator 100 solutions authored 10 likes received First like given
Moderator

Hi,

It also depends on the use of printf() function. If you want to print floating variables then you can refer this: https://community.cypress.com/t5/Knowledge-Base-Articles/Printing-Floating-Values-using-FX3-SDK-KBA2... , otherwise CyU3PDebugPrint API can be used.

Regards

0 Likes
HamburgSteak
Level 2
10 replies posted 25 sign-ins 10 sign-ins
Level 2

Can I use printf() instead of CyU3PDebugPrint?
Actuallyl, I'am trying to develop debug module myself instead of using CyU3PDebug module. Is it possible in this platform?

0 Likes
Meghavi
Moderator
Moderator 100 solutions authored 10 likes received First like given
Moderator

Hi,

We haven't tried using printf () function as we already have CyU3PDebugPrint API. You can follow the KBA I pointed earlier and try at your end. Please let me know if you find issue while implementing it.

Regards

0 Likes
HamburgSteak
Level 2
10 replies posted 25 sign-ins 10 sign-ins
Level 2

Thanks for your helping.

I've decided to use CyU3PDebugPrint API.

0 Likes