Yes. SEROUT, SEROUT2 or HSEROUT/HSEROUT2 is what you want.
Yes. SEROUT, SEROUT2 or HSEROUT/HSEROUT2 is what you want.
I've looked at these modules and besides TX/RX they also have CTS RTS pins. Can be these handled by PBP, or I have to add some manual code like this?
Code:HIGH RTS 'make RTS pin high MAIN: IF CTS=1 THEN GOTO SEND 'wait while CTS gets high, before sending the data GOTO MAIN SEND: 'SOMETHING
PBP command SEROUT2 can handle flow control.
With that said I've never needed to use it with OpenLOG but it depends on how much data and at what speed you you're trying to log.
So I just disregard these pins and let them float?
Look at the SERIN2/SEROUT2 commands in the manual.
They allow you to specify optional flow control pins which you would connect to the RTS/CTS pins of the module you're using if it has hdw flow control.
That may or may not work since the SERxx2 commands are bit-banged.
SEROUT2 would probably be ok, but SERIN2 might have issues.
Thanks, I'm only going to write to flash drive, so I'll need SERIN for just status checking, whenever drive is physically present.
Bookmarks