Shop OBEX P1 Docs P2 Docs Learn Events
Can you share xmm pins with program? — Parallax Forums

Can you share xmm pins with program?

RaymanRayman Posts: 14,665
edited 2013-05-09 13:34 in Propeller 1
I'd like to share P0..P7 between xmm driver and an LCD drawing driver...

Can this be done easily?

Comments

  • David BetzDavid Betz Posts: 14,516
    edited 2013-05-09 13:09
    Rayman wrote: »
    I'd like to share P0..P7 between xmm driver and an LCD drawing driver...

    Can this be done easily?
    I just answered this in your other thread.
  • RaymanRayman Posts: 14,665
    edited 2013-05-09 13:19
    Thanks. Maybe I shouldn't have started a new thread, but I think this is a different question.
    Anyway, your answer was to use HUBTEXT. I'll give that a shot...
  • David BetzDavid Betz Posts: 14,516
    edited 2013-05-09 13:34
    Rayman wrote: »
    Thanks. Maybe I shouldn't have started a new thread, but I think this is a different question.
    Anyway, your answer was to use HUBTEXT. I'll give that a shot...
    In addition, you'll have to make sure that the other hardware lets go of the pins before leaving the HUBTEXT function otherwise the program will crash on the next cache miss.
Sign In or Register to comment.