- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have tried to find some available pins to map to a UART (or I2C) on the CY4532 EVK. Unless, I'm missing something, there don't seem to be any good candidates when using the EVK. One possibility that I did explore was using pins 5,6 (DP1, DM1)for tx/rx which worked as a UART but it created problems with USB C PD operation using the Power SDK. I am not using the USB A port so I tied into TP13 and TP14.
If anyone has done this successfully, please share what you did.
Thanks
Solved! Go to Solution.
- Labels:
-
ispn:39570:1:0
-
l1:314:1:0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If you are not using the Type-A port, you can use DP1/DM1 for UART. But when you do this, please ensure you have disabled Type-A port in the firmware; additionally, if you do not need battery charging protocols, you can disable the corresponding macro as well
@file stack_params.h
#define CCG_TYPE_A_PORT_ENABLE (0u)
#define BATTERY_CHARGING_ENABLE (0u)
Regards,
Rajath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If you are not using the Type-A port, you can use DP1/DM1 for UART. But when you do this, please ensure you have disabled Type-A port in the firmware; additionally, if you do not need battery charging protocols, you can disable the corresponding macro as well
@file stack_params.h
#define CCG_TYPE_A_PORT_ENABLE (0u)
#define BATTERY_CHARGING_ENABLE (0u)
Regards,
Rajath
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. One of the issues that I had was starving the main loop with serial communication which caused the malfunction. I did change the code per you recommendation to ensure that I don't have other issues.