Not applicable
Jan 12, 2015
08:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 12, 2015
08:26 AM
Hi,
I'm using a XMC1302 (TSSOP16 package) in a custom circuit. I use P0.14 for programming and would like to use it for transmitting UART data as well. But this does not work. I receive no data with H-term. When I try the same code with the 1302 boot kit, the transmission works fine with other pins but not with P0.14 as well. So the code seems to be okay.
Is there a way how to use P0.14 for both, programming/debugging and UART transmission?
Best regards,
Michael
I'm using a XMC1302 (TSSOP16 package) in a custom circuit. I use P0.14 for programming and would like to use it for transmitting UART data as well. But this does not work. I receive no data with H-term. When I try the same code with the 1302 boot kit, the transmission works fine with other pins but not with P0.14 as well. So the code seems to be okay.
Is there a way how to use P0.14 for both, programming/debugging and UART transmission?
Best regards,
Michael
4 Replies
Not applicable
Jan 12, 2015
05:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 12, 2015
05:49 PM
Hi Michael,
It is not possible to have the debug pin and UART pin together.
Once you set the pin as Debug pin, the hardware will disabled all other function on that pin.
This is because it is not possible to do debug and UART on the same pin.
Think of the situation like this, if you are debugging and UART is sending data at the same time, how the debugger knows whether this data is from UART or for debug.
Therefore, no other function is allow when the pin is used for debug purpose.
It is not possible to have the debug pin and UART pin together.
Once you set the pin as Debug pin, the hardware will disabled all other function on that pin.
This is because it is not possible to do debug and UART on the same pin.
Think of the situation like this, if you are debugging and UART is sending data at the same time, how the debugger knows whether this data is from UART or for debug.
Therefore, no other function is allow when the pin is used for debug purpose.
Not applicable
Jan 15, 2015
08:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 15, 2015
08:03 AM
Hi Jackson,
thank you, that makes sense 😉
I use P0.15 for Uart transmission now and only 0.14 for debugging.
Would Uart work with P0.14 if I don't need to debug anymore and I would set BMI to Productive mode before downloading the code?
Michael
thank you, that makes sense 😉
I use P0.15 for Uart transmission now and only 0.14 for debugging.
Would Uart work with P0.14 if I don't need to debug anymore and I would set BMI to Productive mode before downloading the code?
Michael
Not applicable
Jan 15, 2015
09:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 15, 2015
09:30 PM
Hi Michael,
Yes, you can use P0.14 for UART if you don't need to debug anymore.
I believe you are aware that no debugging is possible if the BMI is set to User Productive Mode.
Best regards,
Sophia
Yes, you can use P0.14 for UART if you don't need to debug anymore.
I believe you are aware that no debugging is possible if the BMI is set to User Productive Mode.
Best regards,
Sophia
Not applicable
Jan 21, 2015
10:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 21, 2015
10:38 PM
Hi Sophia,
yes I'm aware of that, thank you.
Best regards,
Michael
yes I'm aware of that, thank you.
Best regards,
Michael