- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am new to PSOC6. I have been trying to get the UART running by following the instruction given in the YouTube tutorial(https://www.youtube.com/watch?v=ZJOF2f423nI&list=PLIOkqhZiy83H81AhLcjwIKkB9w07JQZS6&index=5).
I am not getting smooth output, rather a gibberish output in the beginning and some random spaces are appearing in the output as shown below:
stdio_user.h file has been modified as demonstrated in the tutorial and my main program is in CM4 as shown below:
Is there anything that I am missing here?
I would be glad if you could provide some solution to this as it is very urgent.
Thanking you,
Anik Sengupta
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @anikseng ,
You are getting the output based on your code and to get desired output you have to write the code accordingly.
In your main program in the 30th line within the printf statement:-
After %c you mentioned a string "Anik" that's why after every character entry Anik is displayed Also, you wrote \n, that's why for every character entry, entered a character and Anik String is displayed in a new line.
I have attached a code snippet where I executed the Echo program without writing a string and \n within the printf statement, kindly refer
And I can view the data in the Tera Term and Putty Software.
So please check once whether you are using both the software at the same time i.e you can't connect kitprog with the two software simultaneously. If you are using it once at a time, share the snippet where you are stuck with respect to Tera Term.
Thanks and regards,
Sidramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Also want to add one more point is that there is no output when I use the Tera Term.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @anikseng ,
You are getting the output based on your code and to get desired output you have to write the code accordingly.
In your main program in the 30th line within the printf statement:-
After %c you mentioned a string "Anik" that's why after every character entry Anik is displayed Also, you wrote \n, that's why for every character entry, entered a character and Anik String is displayed in a new line.
I have attached a code snippet where I executed the Echo program without writing a string and \n within the printf statement, kindly refer
And I can view the data in the Tera Term and Putty Software.
So please check once whether you are using both the software at the same time i.e you can't connect kitprog with the two software simultaneously. If you are using it once at a time, share the snippet where you are stuck with respect to Tera Term.
Thanks and regards,
Sidramesh