So I will evaluate those two solutions and pick the easiest one. If I will
be able to easily modify the driver to toggle between Tx/Rx I thing I will
go this way hence I don't need to shuffle with FPGA. I just don't now yet
how to properly toggle pin or write to one memory address in FPGA from
driver but I will figure out.
Thanks a lot Phil!

BR
Michal Gonda


> On 18/05/2016 23:08, Michal G wrote:
> > Hi Phil,
> >
> > I did not know about the loanio option.
> > So if I understand it well, after I export UART to FPGA, I can loanio
> all previously used pins from HPS to FPGA and connect it there. Than
> connect also missing
> > "RTS/CTS" missing pins. If those missing pins are FPGA pins, just use
> them directly and if those missing pins are GPIO HPS pins as well, loanio
> them and connect
> > them in FPGA right?
> Yes you can remap them in the FPGA as you require. It will add additional
> latency to the signals and affect timing, but this shouldn't matter for the
> something
> like an RS232 port. It'd be a problem with the HPS Ethernet port for
> example.
>
> > But what if this will not work? Is the only solution dig into driver? I
> am not very skilled in drivers development that's why I am asking :D
>
> Yes if that doesn't achieve your requirement you'll need to dig into the
> driver.
> It doesn't sound like to hard a job.
> If you want to get it committed upstream it may be a bit harder just to
> make sure it doesn't break anything else out there.
>
> >     On 18/05/2016 15:36, Michal G wrote:
> >     > Hi,
> >     > I have RS485 full-duplex IC on my board with outputs from the IC
> wired as half-duplex. DE/RE pins connected to GPIO on HPS are used to
> controll the
> >     transmission
> >     > instead of RTS/CTS pins so I cannot use the RTS/CTS approach which
> is already supported by the driver.
> >     > I would like to ask if there is already some driver or framework
> how to toggle dedicated pins during the switch between Tx/Rx. Or do I have
> to implement this
> >     > pins toggling into the driver by myself?
> >     >
> >
> >     G'day Michal
> >
> >     You should be able to export the uart to the fpga and use loanio to
> remap the hps gpio pins so that you can use the driver as is.
> >     I did similar to get a PPS signal from a GPS module into the hps
> uart on the correct signal for gpsd to work.
>
>
>
> --
> Regards
> Phil Reid
>
>
_______________________________________________
Rfi mailing list
[email protected]
http://lists.rocketboards.org/cgi-bin/mailman/listinfo/rfi

Reply via email to