- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Admin, I am newbie in the field SOC- FPGA.
I need to do a project for my thesis but I have encountered a problem that I spent a lot of time but couldn't fix. I really need admin help. Thank you so much for reading this post of mine.
The error is: I write C code to control IP UART (rs232 serial port) send data to the Tx pin and use the uart to usb module (CP2102) to receive data but the received data shows up wrong with the transmitted data.
For example, transmitting the character "PLEASE" will get "O"; "1234" get "Ê",...
I made the project with the following steps:
1. Add ip into GHRD project
2. Assignments pin
3. File hex use for code C
4. FILE CODE C: admin, please help me check carefully the C code that has set baudrate and especially send the data, is it correct?
-------------------------------------------
Thank you very much admin. I hope you have amazing day.
Regards,
Kai.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am not familiar with these example design, so I may only give the best support for this issue.
Also, I advise that you consult Terasic on your project for your DE10 board.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Since your board is Terasic based, it is best that you also get help from Terasic.
Do they have an example for this? Maybe a simple Hello World, and we can work from there.
Also, where did you get this GHRD? Is it from Terasic?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi EBERLAZARE_I_Intel,
The first, I have looked for examples of uart of this IP but there are very few examples and only got 1 example made with the GHRD project from this links:
1. https://blog.csdn.net/weixin_43649647/article/details/121069892
2. Page 140 to page 155: https://www.intel.com/programmable/technical-pdfs/683130.pdf
3. Project example for Nios (but I must use with GHRD): https://www.intel.com/content/www/us/en/design-example/715139/cyclone-v-uart-rs-232-maximum-baud-rate-reference-design.html?wapkw=uart
Secondly, I got project GHRD from Terasic (CD Rom) or You can get at link I was upload:
https://drive.google.com/file/d/1Bse1dQUNYEjjC0GkylL1VpXxlSVzFtoI/view?usp=sharing
Also, I think this problem may be caused by asynchronous transfer speed (baundrate) of the two devices or another error? But I don't know how to fit it. please help me to fix this error of wrong data transmission.
Thank you very much.
Regards,
Kai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am not familiar with these example design, so I may only give the best support for this issue.
Also, I advise that you consult Terasic on your project for your DE10 board.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Did you had issue with the Intel example item no 3?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Thank you so much for your support. I succeeded in this application.
Regards,
Kai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.
p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page