Forum Discussion
De10 standard connects to esp8266 via uart communication by IP uart (rs-232 serial port)
- 3 years ago
Hi Allen
Do you have a scope available to measure the signals coming out from the pins?
Do you have the specification for the USB transceiver that you are using? What operating signal logic it is able to capture?
The signals coming out from the GPIO are 3.3Vs.
Regards
Jingyang, Teh
Hi Alen1214
From the address map I see that UART IP is connected to the light-weight F2H and an offset of 0x7000.
The LWF2H start address is 0xFF200000.
Could you try accessing the address 0xFF207000 as your h2p_lw_uart_addr?
Regards
Jingyang, Teh
Hi,
I added more about the implementation step:
Connect hardware
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
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.
Thanks,
Alen1214