Skip to content

Commit d365c52

Browse files
committed
Ensure WINC1500 INTN pin is input
Teensy does not default pins to input mode.
1 parent 78bb215 commit d365c52

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bsp/source/nm_bsp_arduino.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ static void init_chip_pins(void)
9292
pinMode(WINC1501_RESET_PIN, OUTPUT);
9393
digitalWrite(WINC1501_RESET_PIN, HIGH);
9494

95+
/* Configure INTN D7 pins as pinput. */
96+
pinMode(WINC1501_INTN_PIN, INPUT);
97+
9598
#if defined(WINC1501_CHIP_EN_PIN)
9699
/* Configure CHIP_EN as pull-up */
97100
pinMode(WINC1501_CHIP_EN_PIN, INPUT_PULLUP);

0 commit comments

Comments
 (0)