Browse Source

Add pullup to USB interrupt line

- A pullup on the INT pin is required when the pin is level-active
pull/1/head
Marcio Teixeira 6 years ago
committed by Scott Lahteine
parent
commit
1a00d1bdaf
  1. 4
      Marlin/src/sd/usb_flashdrive/usb_host.cpp

4
Marlin/src/sd/usb_flashdrive/usb_host.cpp

@ -109,8 +109,8 @@ bool MAX3421e::reset() {
bool MAX3421e::start() {
// Initialize pins and SPI bus
SET_OUTPUT(SDSS);
SET_INPUT(USB_INTR_PIN);
SET_OUTPUT(USB_CS_PIN);
SET_INPUT_PULLUP(USB_INTR_PIN);
ncs();
spiBegin();

Loading…
Cancel
Save