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

Search:

Type: Posts; User: toto_brico

Search: Search took 0.00 seconds.

  1. Thank a lot for your replies and your help. It...

    Thank a lot for your replies and your help.
    It seems that many of my issues was due to the fact I forgot that OctoWs8211 is an blocking library...

    Also did you know there is a way to use I2C in...
  2. I need a loop executed between 10 and 100...

    I need a loop executed between 10 and 100 times/sec (I need make tests).

    The main loop manage the LEDs animations and take into account informations received by I2C to change strip's colors.
    How...
  3. Teensy 3.2 - How to use timer with OctoWS2811 lib

    Hi all,

    I need to execute my program with a precis timing, and for that I used to use "IntervalTimer" functionality and librarie.
    But it doesn't work if I use OctoWS2811 to drive RGB leds. This...
  4. Well, now I can detected and managed the SCL...

    Well, now I can detected and managed the SCL staying low with the registers I2C0_SLTH and I2C0_SLTL registers it seems that the I2C reset freeze the Teensy or have no effets.
    In this fact, I decied...
  5. Shame on me... :eek: Even if it didn't solve my...

    Shame on me... :eek:
    Even if it didn't solve my problem, here is the correct setup of registers I2C0_SLTH and I2C0_SLTL

    l_TempTimeout = F_BUS / 64;
    l_TempTimeout = 1000000000 /...
  6. @defragster : thank again for our discussion,...

    @defragster : thank again for our discussion, even if my issue isn't solve, it make me feel not alone :)

    Well, I did test as described below :

    uncomment ligne #define I2C_AUTO_RETRY
    put...
  7. I will uncomment this line and made test, and...

    I will uncomment this line and made test, and also use the Build-in Led to check.

    But for me there is something strange with that way of reset.
    Because, for me, in a slave mode an I2C device...
  8. @defragster : thanks for your time, and ideas ...

    @defragster : thanks for your time, and ideas

    My I2C network runs at 100kHz

    Wire.begin(I2C_SLAVE, adresse_I2C_TEENSY, I2C_PINS_18_19, I2C_PULLUP_EXT, 100000); // Setup for Slave mode,...
  9. Also, after the finding of this issue, I begining...

    Also, after the finding of this issue, I begining to investigate in detail and made many test.
    First of all I read the K20 microcontroller's datasheet.
    And especially chapter 46 - Inter-Integrated...
  10. Teensy 3.2 in I2C slave mode - Some times SCL stay low

    Dear all

    Since few days (and weeks) I try to managed by myself with an I2C issue, but I now freezed.
    I made an 5V I2C network with one master and many slaves : some PCF8574 devices and one Teensy...
  11. Slave received: '' ; char[0] : ' 1' ; char[1] :...

    Slave received: '' ; char[0] : ' 1' ; char[1] : ' 0' , received : 2, index : 75
    No I2C message, statut : 'C' , index : 76
    Slave received: '' ; char[0] : ' 1' ; char[1] : ' 0' , received : 2,...
  12. @Theremingenieur thanks for time and idea. I...

    @Theremingenieur thanks for time and idea.

    I made the change, there are know 2.2k pull-up resistors beetwen level shifter and the Teensy.

    It's the same issue.... it's seem to be worth, issue...
  13. I2C issues in slave mode, sometime stay in I2C_SLAVE_RX state

    Hello all,

    I'm need your help.
    I use to write softwares on an MEGA2560 which talk with an I2C bus to other devices base on PCF8574 (write and read) but this is my first time I connect an Teensy....
Results 1 to 13 of 13