New answers tagged

1 vote

Can Arduino UNO/MEGA master assert SPI SS LOW on multiple slaves at once if Full Duplex is unnecessary?

The electronic circuit of an SPI work this way, when a slave device is not been selected (i.e. its CS pin is not asserted), its MISO line will be in tri-state output, i.e. it is in a high impedance ...
hcheung's user avatar
  • 1,257
1 vote

Can Arduino UNO/MEGA master assert SPI SS LOW on multiple slaves at once if Full Duplex is unnecessary?

What is wrong with this idea? Nothing, this is perfectly possible. The main advantage is the avoidance of multiple SS lines, reducing pin count and/or decoding hardware. The SPI main device does not ...
the busybee's user avatar
  • 1,713
0 votes

SPI with DMA in a Arduino Due

#include <dmac.h> #include <SPI.h> #include <Arduino.h> #include <sam.h> uint8_t sourceBuffer[256]; void setup() { SPI.begin(); SPI.setClockDivider(21); // 4MHz clock (...
b1n3t's user avatar
  • 276
1 vote
Accepted

ESP32 TTGO T-Call connect to SX1276

The issue seems to be arising from the pin definitions and the fact that the SIM800 and the SX1276 LoRa chip on the board might be competing for the same pins, causing interference First, let's ...
b1n3t's user avatar
  • 276

Top 50 recent answers are included