P2 Serial Driver
Cluso99
Posts: 18,069
Here is a Serial Driver you can use with P2 code.
There are 3 simple calls...
CALL #_SERIALINIT
CALL #_SEND
CALL #_RECV
The serial driver may reside in cog or hub (hubexec) ram.
There are 3 simple calls...
CALL #_SERIALINIT
CALL #_SEND
CALL #_RECV
The serial driver may reside in cog or hub (hubexec) ram.
Comments
Thanks
Martin
That's really old code. Even with those cases fixed it may not do as intended. That said, to make it assemble, replace each "setb dira/b...." with a "dirh ..."
Note any code posted prior to mid/late 2018 is likely to be suspect due to many changes before the P2 design was frozen.
Thanks