Add pullup to USB interrupt line
- A pullup on the INT pin is required when the pin is level-active
This commit is contained in:
parent
a07ac6312f
commit
1a00d1bdaf
|
@ -109,8 +109,8 @@ bool MAX3421e::reset() {
|
||||||
bool MAX3421e::start() {
|
bool MAX3421e::start() {
|
||||||
// Initialize pins and SPI bus
|
// Initialize pins and SPI bus
|
||||||
|
|
||||||
SET_OUTPUT(SDSS);
|
SET_OUTPUT(USB_CS_PIN);
|
||||||
SET_INPUT(USB_INTR_PIN);
|
SET_INPUT_PULLUP(USB_INTR_PIN);
|
||||||
ncs();
|
ncs();
|
||||||
spiBegin();
|
spiBegin();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue