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

Search:

Type: Posts; User: defragster

Search: Search took 0.01 seconds.

  1. Replies
    639
    Views
    322,928

    @MM put that in post #2 on the other thread - I...

    @MM put that in post #2 on the other thread - I just linked back to that again on the other thread …
  2. Replies
    639
    Views
    322,928

    re post #629 above … even the whole code in the...

    re post #629 above … even the whole code in the 'other thread' first post does not show using two versions of i2c software as the post here does.

    As nox771 pointed out using both isn't right …...
  3. Replies
    639
    Views
    322,928

    @Kedar - you've come to a second thread asking...

    @Kedar - you've come to a second thread asking questions that could have stayed on the other thread ...https://forum.pjrc.com/threads/54229-Teensy-3-5-using-2-SHT31-sensors-simultaneously

    The...
  4. Replies
    639
    Views
    322,928

    Seems there was a multi-bus version of SCAN...

    Seems there was a multi-bus version of SCAN example that might allow diagnostic check of the connection for device to be present
  5. Replies
    639
    Views
    322,928

    My use case wasn't as similar as I thought my...

    My use case wasn't as similar as I thought my experience might be to be useful.

    I found this thread Multiple-Devices-Over-I2C - seems this has been trouble for some time - bummer.

    I was...
  6. Replies
    639
    Views
    322,928

    'perhaps' . . . did you try the part before...

    'perhaps' . . . did you try the part before that?

    I've used onehorse MPU9050 units with i2c_t3?
  7. Replies
    639
    Views
    322,928

    incomplete answer before and perhaps again ......

    incomplete answer before and perhaps again ... short is time ... but I think WIRE.h doesn't support Wire1 - so that would go the other way around using 'i2c_t3 Wire1'.

    Perhaps have to just use...
  8. Replies
    639
    Views
    322,928

    Yes, that looks like a usable FrankB board to...

    Yes, that looks like a usable FrankB board to underside solder and pull out the bottom pins.

    I found the #define to work when using Adafruit as noted - BING pointed me to this post: K66-Beta-Test...
  9. Replies
    639
    Views
    322,928

    Yes, to get second bus you'd need those backside...

    Yes, to get second bus you'd need those backside pins on T_3.2. (there are OSH boards that let you bring those out nicely - FrankB made one - linked around)

    I've found something like "#define Wire...
  10. Replies
    639
    Views
    322,928

    Are they on the same i2c bus wires? Seems you'd...

    Are they on the same i2c bus wires? Seems you'd only want one library to perform operations at a time on those bus lines for all connected devices.

    If one device can be on alternate SDA/SCL i2c...
  11. Replies
    639
    Views
    322,928

    Those are some numbers! - Nice summary. 256...

    Those are some numbers! - Nice summary.
    256 bytes in DMA 1044 us looks like 245 KB or 1.96 Kbit/sec - just 4% slower to do it as an ISR.

    A 256 Byte broadcast to multiple slaves and pull 256 Bytes...
  12. Replies
    639
    Views
    322,928

    Cool - please post some numbers for what you find...

    Cool - please post some numbers for what you find to work.
  13. Replies
    639
    Views
    322,928

    Swap commented lines here:...

    Swap commented lines here: "I:\arduino-1.6.11\hardware\teensy\avr\cores\teensy3\kinetis.h"
  14. Replies
    639
    Views
    322,928

    I don't have history with or access to an LA or...

    I don't have history with or access to an LA or Scope. No doubt something is breaking the timing that otherwise works well - even at the 'same getClock()' value like in p#439.

    Very cool to see...
  15. Replies
    639
    Views
    322,928

    You know this way better than I do - the failure...

    You know this way better than I do - the failure to ACK is seen that fast?

    In any case for a well formed transaction this shows the device is not incapable of maintaining that 3 MHz speed. My...
  16. Replies
    639
    Views
    322,928

    I said it was HACKED . . . I assumed the USB...

    I said it was HACKED . . . I assumed the USB delay would be minimal and consistent - corrected here:: 8275

    BTW:: I am resetting speed multiple times in my test - but I have confirmed that with...
  17. Replies
    639
    Views
    322,928

    @onehorse: In your sample that fails I wonder if...

    @onehorse: In your sample that fails I wonder if you might see any time dilation like I do when the clock speed combo goes to not working?

    Can you set up a timer around a series of calls that...
  18. Replies
    639
    Views
    322,928

    @nox771 your summary above looks right . . . now...

    @nox771 your summary above looks right . . . now using the i2c_t3 from TD_1.31b1 - my sketchbook version didn't have getClock - I see the same effect - default compile of 180M with F_BUS==60M fails...
  19. Replies
    639
    Views
    322,928

    Nox771 - posted over here :...

    Nox771 - posted over here : How-to-minimize-CPU-overhead-of-I2C-128x64-display-Interrupts?

    I was noting the SSD1306 runs I2c at 2.4 MHz - but seems to fail with some bus speeds - is this just a...
  20. Replies
    639
    Views
    322,928

    Done :: Calling this "CPUspecs();" from setup...

    Done :: Calling this "CPUspecs();" from setup will show you compile time details on your Teensy

    opps >> ORIGINAL post had T_LC and T_3.0 swapped. :: CORRECTED above and T&T

    This line is also...
  21. Replies
    639
    Views
    322,928

    I wrote this to keep an eye on the T_3.5/3.6: ...

    I wrote this to keep an eye on the T_3.5/3.6:


    void CPUspecs() {
    Serial.println();
    #if defined(__MKL26Z64__)
    Serial.println( "CPU is T_LC");
    #elif defined(__MK20DX256__)
    ...
  22. Replies
    639
    Views
    322,928

    Good answer - With the larger number of 'bus' and...

    Good answer - With the larger number of 'bus' and the increased potential for 'RATE' control - makes sense to keep the design that worked before from getting bogged down. Will watch the K66 thread...
  23. Replies
    639
    Views
    322,928

    nox771 - I wouldn't know where in the code to...

    nox771 - I wouldn't know where in the code to look for what - other than my pass through the code to look at K66. Interesting the len grows by one - a finite # of times - maybe until the next...
  24. Replies
    639
    Views
    322,928

    The fact that the len is wrong - but covers the...

    The fact that the len is wrong - but covers the message - and then recovers for the next message - might show nox771 something

    Can you show the output produced using the "for(...<len...)" code -...
  25. Replies
    639
    Views
    322,928

    When the ReceiveEvent is called :: void...

    When the ReceiveEvent is called :: void receiveEvent(size_t len)

    The number of known bytes available is provided. There may be a problem - and this may just hide the symptom, but what do you get...
  26. Replies
    639
    Views
    322,928

    recent thread noted the spec says 35K +/- 20+?% -...

    recent thread noted the spec says 35K +/- 20+?% - - - something way too big to be usable - notes I've seen say use external resistors
  27. Replies
    639
    Views
    322,928

    Indications on the forum is that you cannot...

    Indications on the forum is that you cannot expect the internal pullups to work. Teensy 3.1/3.2 need external pullup on the line somewhere.
  28. Replies
    639
    Views
    322,928

    Nice - good detail - though I think you could...

    Nice - good detail - though I think you could safely add one of Paul's quotes for reference for 'if your I2C isn't working': "You do need two pullup resistors, one from SDA to 3.3V and one from SCL...
  29. Replies
    639
    Views
    322,928

    If something like this is in your sketch there is...

    If something like this is in your sketch there is no library mod? :
  30. Replies
    639
    Views
    322,928

    Just added this to WIKI list - I posted here on...

    Just added this to WIKI list - I posted here on the end of this thread - but never read the start - how to swap out WIRE for better i2c_t3.h is something I could have used already!

    The speed of...
  31. Replies
    639
    Views
    322,928

    You could move this 'text' to a new Thread and...

    You could move this 'text' to a new Thread and just leave behind a link to it here perhaps.

    Did you do pull-up resistors? I didn't search much, there may be other thread details out there.
    ...
  32. Replies
    639
    Views
    322,928

    Sounds like a good fix and that explains it not...

    Sounds like a good fix and that explains it not working on open pins. And with 3 sets shown on the 3.1/LC cards it would be easy to get into this state and nice to have it get resolved. I resorted...
  33. Replies
    639
    Views
    322,928

    Makes sense - the scanner started working with...

    Makes sense - the scanner started working with wire1 - ACK's "everywhere" 1-127 on the soldered board . . . now to go get a corrected sample to work. The scanner does just hang on the unpopulated...
  34. Replies
    639
    Views
    322,928

    I pulled the i2c_t3 from github and the...

    I pulled the i2c_t3 from github and the kriswiner/MPU-9250 was hanging on me, sometimes with no serial.print. Tried a few sketches there and confirmed other sketches work. Opened the...
Results 1 to 34 of 34