I have three interfaces:
- RS422
- SPI
- Ethernet
I’m looking to generate and transmit a variable length message over the interfaces at rates up to 2KHz. I want to code checks to make sure that my output message length can be transmitted at the selected output rate for the settings of the transmission medium. I realise that this depends on the configuration of the different interfaces:
- RS422: baud rate
- SPI: clock
- Ethernet: 10Mbs or 100Mbps
As well as:
- Message length
- Transmission rate
Can anyone suggest how I can check for these fault conditions?