Según altos estándares industriales

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

por
Thean Ping Ang
en 21/5/20 17:24 486 vistas

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
asd, España
--Albert Prieto--
Albert Prieto
En 4/6/20 7:42

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.




Mantener informado

Acerca de esta comunidad

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. Lea los lineamientos

Herramientas de las preguntas

11 seguidor(es)

Estadísticas

Preguntado: 21/5/20 17:24
Visto: 486 veces
Última actualización: 4/6/20 7:42