Greetings,
I am new to I2C communication but am trying to use a teensy 4.1 as a master device. The teensy would then communicate with another teensy 4.1 which would function as the slave device. They are both connected via pins 16 and 17. I have downloaded the Teensy4 I2C library from Richard Gemmell's github account. At this point I am simply trying to get his example codes to work (wire/master_reader uploaded to the master teensy4.1; and wire/slave_sender uploaded to the slave teensy4.1). Unfortunately, I am having no luck establishing any communication.
In other devices, it looks like the SDA and SCL are connected to a Vcc through a resistor? I have not done this as I am getting conflicting information as to whether or not this is required on the teensy. Could this be my issue? Links to the example code are below. Thanks in advance for your help!
https://github.com/Richard-Gemmell/...r/examples/wire/slave_sender/slave_sender.ino
https://github.com/Richard-Gemmell/...examples/wire/master_reader/master_reader.ino
Kind Regards,
Kenneth D. Hoadley
I am new to I2C communication but am trying to use a teensy 4.1 as a master device. The teensy would then communicate with another teensy 4.1 which would function as the slave device. They are both connected via pins 16 and 17. I have downloaded the Teensy4 I2C library from Richard Gemmell's github account. At this point I am simply trying to get his example codes to work (wire/master_reader uploaded to the master teensy4.1; and wire/slave_sender uploaded to the slave teensy4.1). Unfortunately, I am having no luck establishing any communication.
In other devices, it looks like the SDA and SCL are connected to a Vcc through a resistor? I have not done this as I am getting conflicting information as to whether or not this is required on the teensy. Could this be my issue? Links to the example code are below. Thanks in advance for your help!
https://github.com/Richard-Gemmell/...r/examples/wire/slave_sender/slave_sender.ino
https://github.com/Richard-Gemmell/...examples/wire/master_reader/master_reader.ino
Kind Regards,
Kenneth D. Hoadley