- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all
I am working on UART of NIOS II with EP1S10F 780C6 Board i tried loopback mode (without RTS & CTS Signals) where i will type data on Hyperterminal and display back on hyperterminal through NIOS processor For data i type by hand it works perfectly by displaying back the letters i type on hyperterminal but when i try to send a text file through hyperterminal i see the data missing So I added RTS & CTS signals to the design Now nothing works even the letters i type by hand are not displayed back on hyperterminal I have made the proper pin assignment for RXD TXD RTS and CTS signals as specified in the data sheet I have set the flow control in the hyperterminal as "Hardware" in Hyperterminal Please help me out Thanks In advance Regards M KalyansrinivasLink Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all
I still face the same issue I added Signal tap to the design and tried to capture the signals but i see the CTS stays high and RTS stays low all the time Will the UART transmission and reception works if i set the RTS and CTS signals in Sopc builder I connected the CTS pin of FPGA to CTS pin of RS232 and RTS to RTS pin of RS232 Please give some idea to solve this problem regards M Kalyansrinivas- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is unlikely that the hardware will handle flow control automatically.
The 'device driver' on the nios side will need to detect it's receive FIFO filling and monitor the 'RTS' input. If the rx fifo fills (or maybe a software fifo beneath the hw one) deassert CTS, if RTS is asserted stop transmitting.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi dsl
Do you say that i need to change the way i code my HAL,by accessing the status registers when i include RTS/CTS signals Thanks in advance M kalyansrinivas
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page