Shop OBEX P1 Docs P2 Docs Learn Events
Use FullDuplexSerial.spin from Assembly — Parallax Forums

Use FullDuplexSerial.spin from Assembly

Kevin L.Kevin L. Posts: 10
edited 2006-08-20 23:02 in Propeller 1
I've written a CRC routine in Spin using FullDuplexSerial.spin to process packets of data and came to realize it will not be fast enough.

I need to convert my routine to assembly. The FullDeplexSerial interface is written in Spin, so I need to know how to communicate with the object from assembly.

Do I need to convert FullDuplexSerial to 100% assembly? If so, how do I do Assembly-Assembly Cog-Cog communictaion?

Thanks,

Kevin L.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2006-08-20 23:02
    The only way to do Cog-Cog assembly communication is through common variables in HUB memory. CRC is not very complex. You might be better integrating a CRC routine into the FullDuplexSerial routines. That way, you'd not need another COG just for the CRC routines.
Sign In or Register to comment.