I am new to MDuino products and am trying to use the Modbus TCP (ethernet) with SPI to communicate with slave device. from the Mduino 42+ manual 9.4. It say "As the Ethernet protocol uses the SPI to communicate with Arduino board, both behavior cannot happen at the same time as the Ethernet would not work" Is that mean that I can only use either Ethernet or SPI but not both at the same time? is there a way to configure or program the Arduino so I can use both? if yes, is there a example of guide on how to do it? Thanks!
Hi, you can see an example using for example SPI port using Ethernet and µSD socket which also uses SPI.
See an example on the link below:
As you can see it is necessary to choose another CS pin for the new SPI device. There are at least 2 pins (Pin2 and Pin3) on the MDuino but you can also use other pins from the MDuino communication board.
you can check the Arduino Ethernet PLCs on the product page.
About This Community
|Asked: 5/21/20, 5:24 PM|
|Seen: 450 times|
|Last updated: 6/4/20, 7:42 AM|