Welcome!

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

0

MDuino 42+ Ethernet and SPI

By
Thean Ping Ang
on 5/21/20, 5:24 PM 268 views

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!


0
Industrial Shields Forum user

Albert Prieto

--Albert Prieto--

1000000029
| 0 0 0
España
--Albert Prieto--
Albert Prieto
On 6/4/20, 7:42 AM

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:

https://www.industrialshields.com/es_ES/technical-features-industrial-m-duino-plc-arduino-ethernet-42-ios-analog-digital-plus#special

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.




Keep Informed

About This Community

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together. Read Guidelines

Question tools

11 follower(s)

Stats

Asked: 5/21/20, 5:24 PM
Seen: 268 times
Last updated: 6/4/20, 7:42 AM