- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @stratuscent_mtl ,
If you are using the HAL libraries (like retargetIO library and also API's that start with cyhal), then please do not enable the pins or peripherals (like UART) used with the HAL API's in the device configurator as this is automatically done for you by the HAL API's.
I see from the firmware you have shared that you are using the HAL libraries. So please uncheck the UART pins P1_0 and P1_1 and the UART SCB component as well from the device configurator as the device configurator makes use of PDL API's so enabling these components in device configurator will cause a conflict with the HAL API's.
Warm Regards
Alen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @stratuscent_mtl ,
If you are using the HAL libraries (like retargetIO library and also API's that start with cyhal), then please do not enable the pins or peripherals (like UART) used with the HAL API's in the device configurator as this is automatically done for you by the HAL API's.
I see from the firmware you have shared that you are using the HAL libraries. So please uncheck the UART pins P1_0 and P1_1 and the UART SCB component as well from the device configurator as the device configurator makes use of PDL API's so enabling these components in device configurator will cause a conflict with the HAL API's.
Warm Regards
Alen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much for your response quickly.
I disable the UART pins P1_0, P1_1 and the UART SCB component in the Device Configuration, so how can I identify the pins in my setup for the HAL libs? Because my setup has different pins settings compared to the Dev Kit.
I also changed the value of CYBSP_DEBUG_UART_RX/CYBSP_DEBUG_UART_TX to the match with my settings (please refer to the attachment), but it still doesn't work.
Regards,
GP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I just wanted to give you an update on the above issue. I finally got it worked by disabling the SCB and related pins as you suggested. Then changed the generated source code to match with my setup.
Thanks for the short but helpful explanation.
GP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @stratuscent_mtl ,
Glad your issue is resolved.
Please feel free to post any queries or issues you may find on Infineon products in the future as well in the community and we will be happy to help.
Warm Regards
Alen