You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in my last project using this lib I have a lot of trouble with SPI and have to manage outside of the lib to make sure that the SPI would work as master: set_bit(DDRB, PB2);, and it doesn't seems very polite at first glance.
So it would be nice to document that if the PB2 pin is floating, than it could have a noise in it that cause the SPI to initialize as slave instead master and the microcontroller' SPI wouldn't clock.
Or maybe modify the library to make (at spi_init() function?) the SS pin as output.
What do you think?
The text was updated successfully, but these errors were encountered:
Hi,
in my last project using this lib I have a lot of trouble with SPI and have to manage outside of the lib to make sure that the SPI would work as master:
set_bit(DDRB, PB2);
, and it doesn't seems very polite at first glance.So it would be nice to document that if the PB2 pin is floating, than it could have a noise in it that cause the SPI to initialize as slave instead master and the microcontroller' SPI wouldn't clock.
Or maybe modify the library to make (at spi_init() function?) the SS pin as output.
What do you think?
The text was updated successfully, but these errors were encountered: