Search results

  1. M

    TCA 8418 freezing after input, i2c problem

    I am trying to make key matrix using TCA8418. So far I have managed to set the chip up, I am able to read, but whenever I press button, which is part of the matrix the chip freezes. The interupti is not aserted and I recieve NACK when I try to talk to it. I am includig the code and schematics. I...
  2. M

    I2C problem

    Thanks for the advices. Now it is working well, bur I have different problem. the problem is that whenever I press a button that is in the key matrix the chip wont respond to any messeges. the wire.endTransmission returns 2. #include <Wire.h> #include <WireKinetis.h> #include "Wire.h"...
  3. M

    TCA 8418 sending NACK after pressing a button, I2C problem

    So, I am trying to make a keypad. I have managed to set s´the chip up, but whenever I press a button and then try to read which button was pressed I recieve NACK on adress. #include <Wire.h> #include <WireKinetis.h> #include "Wire.h" #define adress 0x34 void setup() { pinMode(11...
  4. M

    I2C problem

    Thanks for the advice. Now it is not hanging on the endTransmission, but it is returning 2 and that means NACK on adress, but I am sure that the adress is right.
  5. M

    I2C problem

    Yes, it finds the chip
  6. M

    I2C problem

    I am using the same code, that I have posted earlier. And there is a foto of the circuit and the chip that I am using is TCA 8418.
  7. M

    I2C problem

    Hi, I resoldered the pins. Teensy can find the chip and start a transmission, but it hangs when I end the transmission. Do you have any ideas what icould caus the hang?
  8. M

    I2C problem

    Thanks for the ideas, the connection between the pins and teensy is good. The program suddenly started working I dont know what I have done, but now it works. However I have another problem. I am playing with TCA 8418. But as soon as I try to end transmission the program wont contiunue...
  9. M

    I2C problem

    Hi, I have a problem with I2C. I am running default Wire.h slave sender master reciever codes but the slave wont answer to master. and I am using 2K resistors.
  10. M

    Connecting two PCBs together

    I want to have a separate teensy with three usb connectors one for regular usb and onther twos for i2c to connect it to other modules, they wont be far a way from each other. And I want on the teensy some kind of connector with which i could interconnect the theensy with a 10 by 10 cm board on...
  11. M

    Connecting two PCBs together

    Hi, currently I am working on a project in which I will have multiple modules. And I want to make my own teensy 3.2 on separate PCB with usb and i2C connection for connecting to the difference modules. But I encountered a problem with interconnecting these two PCBs together. Could you please...
Back
Top