Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16559 Discussions

Is the IrDA UART setting the same for the TX and RX signals?

DGARC21
Beginner
993 Views

I'm trying to use IrDA UART in Nios II to send and receive signals to an FTDI 232.

I am using the UART setting: 9600bps, none parity, Data Bit 8, stop bit 1.

I can perfectly read the information sent to Nios RX, but the signal generated by the TX UART follows another pattern.

The output signal remains at low logic level, there are 10 pulses where the 8 centers represent the inverted logic level of the original data.

Another problem is the baud rate that is different from what was configured.

In the image two signals are presented, one generated by FTDI 232 (correct) and understood by Nios, the signal represents 4 Bytes, where the first byte is sent back by the NIOS UART .

The signal generated by Nios right represents the original value, but uses a different protocol as IrDA UART configurated in Platform Designer.

Can someone help me with this problem?

 

0 Kudos
3 Replies
Ahmed_H_Intel1
Employee
573 Views
Hi, Can you show me the Qsys design and explain more about the issue to be clear?
0 Kudos
DGARC21
Beginner
573 Views

The input and output signals of the IrDA UART core are different, input signal follows the UART protocol but output signal follows another protocol, I believe the difference is necessary to transmit the information through a photoemitter, allowing it to be received by a phototransistor.

For two-way UART communication, the most correct is to use RS232 UART core. My problem has been solved.

Thank you for your interest.

 

 

Ahmed_H_Intel1
Employee
573 Views
Hi, yes it is recommended to use a photot-transistor for isolation.
0 Kudos
Reply