Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: julius

Search: Search took 0.00 seconds.

  1. Thread: SPISlave_T4

    by julius
    Replies
    97
    Views
    11,162

    For me, I got this working (though only in the...

    For me, I got this working (though only in the main loop as I said) but Im dropping bytes sometimes. This also didnt happen with the 3.x version. What's different here? Its the same master sending...
  2. Thread: SPISlave_T4

    by julius
    Replies
    97
    Views
    11,162

    have you added myFunc() as the handler -> ...

    have you added myFunc() as the handler ->

    mySPI.onReceived(myFunc); in setup()

    That's the only point where the handler is added.
    In the 3.x library you didnt have to do the mySPI.begin() bit...
  3. Thread: SPISlave_T4

    by julius
    Replies
    97
    Views
    11,162

    I think I found what causes the error but don't...

    I think I found what causes the error but don't quite understand why its different here than in the 3.x version.

    if I disable the interrupt and read the spirit line in the main loop, I need to...
  4. Thread: SPISlave_T4

    by julius
    Replies
    97
    Views
    11,162

    nope, that's not it. I actually get all the right...

    nope, that's not it. I actually get all the right data but after quitting transmission the application doesn't exit the callback.
  5. Thread: SPISlave_T4

    by julius
    Replies
    97
    Views
    11,162

    Okay done, everything is fine (I verified by...

    Okay done, everything is fine (I verified by running a simple script just reading out the pin status which is high when there's no data send)

    I can see the SCK running alright by just looking at...
  6. Thread: SPISlave_T4

    by julius
    Replies
    97
    Views
    11,162

    Hi, so I've always used your 3.x version of this...

    Hi, so I've always used your 3.x version of this library but now I've tried to port my already existing project to the T4 version and the problematic thing is that the library doesn't detect the...
Results 1 to 6 of 6