Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 5 of 5

Thread: Pin 30 not working on Teensy 3.2

  1. #1
    Junior Member
    Join Date
    Aug 2019
    Posts
    3

    Pin 30 not working on Teensy 3.2

    So, I bought Teensy 3.2 and everything works fine except for pin 30. Digital write does nothing and analog read gives me values like anything isn't connected. Why is this a problem? Any help would be appreciated.

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,459
    I can't say why it's not working for you, but I can confirm it does indeed work if you run this code and connect a LED+resistor.

    Code:
    void setup() {
      pinMode(30, OUTPUT);
    }
    
    void loop() {
      digitalWrite(30, HIGH);
      delay(1000);
      digitalWrite(30, LOW);
      delay(100);
    }
    The LED definitely does blink. Here's a photo.

    Click image for larger version. 

Name:	DSC_0571_web.jpg 
Views:	7 
Size:	147.2 KB 
ID:	17194

  3. #3
    Junior Member
    Join Date
    Aug 2019
    Posts
    3
    I've tried and it's simply dead all surrounding pin do indeed seem to work.

  4. #4
    Senior Member
    Join Date
    Oct 2012
    Location
    Portland OR
    Posts
    660
    I suspect it's possible to kill a single pin with the rest of the chip still OK, by destroying that pin's output buffer, for example by a large enough ESD hit.

    EDIT: You can also get the same effect with one bad solder joint on the chip's pin, which you could confirm if you have steady hands and a fine enough probe.
    Last edited by JBeale; 08-22-2019 at 06:56 PM.

  5. #5
    Junior Member
    Join Date
    Aug 2019
    Posts
    3
    I guess you are right but it could be also bad solder joint at that pin on chip.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •