Home > other >  Multiple DSP communication problems
Multiple DSP communication problems

Time:10-30

Recently, do you want to be a DSP as main control, the other two DSP or STM32 as from control, realize the function from control to the master data, could you tell me how to achieve? Check data is said to use 485 bus and the Modbus protocol, is that right?

CodePudding user response:

With the 485 bus, can use the modbus communication protocol, can also custom communication protocol

CodePudding user response:

485 bus can achieve a host from the machine with multiple communication (communication protocol can use standard MODBUS, of course), but the 485 bus communication must follow the way of question and answer - bus at a time only allows a device to send data, if multiple devices to send data together will result in data loss, so want to use more than 485 bus implementation machine communications have to consider timing and good communication mechanism,
More recommend you use CAN to realize the owner from the communications,

CodePudding user response:

Simply open the master thread polling, the data is sent from the machine
  • Related