Zulu RF

General questions about Firewing...

Zulu RF

Postby AndrewB » Tue Jul 24, 2018 10:31 am

I have just purchased two of these wireless devices but having problems working out how to use the Firewing Uart cmd's with them.

https://www.rfsolutions.co.uk/radio-mod ... o-2km-p416

looking at the data sheet they use hardware flow control. The Zulu has built in packet flow control.

I coul dnot find anything on the forum or site on hardware flow control.

Could someone advise on how I would just transmit and receive a 10bit number from one to the other please.

i'm sort of stumped on how to do it.
Thanks
AndrewB
 
Posts: 89
Joined: Thu Jan 02, 2014 3:38 pm

Re: Zulu RF

Postby Coccoliso » Sat Jul 28, 2018 7:00 am

Hi,
As I told you I have never used the UART with HW control flow and I have not seen examples in FW however the part that concerns the setting of the UART does not differs much from the example that David has included among the examples of FW.
I had found chapter 21 of the datasheet http://ww1.microchip.com/downloads/en/DeviceDoc/61107G.pdf for PIC32MX.
I found the registers section 21-1 in particular the UEN<1:0 > that enable CTS and RTS.
Just PPS and FW32 can connects D0/D3 as you expect in your shield (i.e. the CTS on FW-D2 and the RTS on FW-D3).
But on the USB you will have the communication flow between Zulu and FW (i.e. D0 and D1)
At this point if you want to use FW console.write() you have to use UART2 (among the examples I seem to remember that there is an example for the UART2) and divert it by PPS to other FW pins .
You should definitely do the loopback tests before you connect something.
Keep an eye on the registers that enable IrDA because you definitely have to disable it.
I'm sorry I can't help you anymore.. however some more LEGO bricks.
User avatar
Coccoliso
 
Posts: 174
Joined: Sat Sep 27, 2014 10:02 am

Re: Zulu RF

Postby AndrewB » Sat Jul 28, 2018 7:31 am

Thanks Cocolisso for your advice.
AndrewB
 
Posts: 89
Joined: Thu Jan 02, 2014 3:38 pm


Return to Questions

Who is online

Users browsing this forum: No registered users and 3 guests

cron

x