Hi,
How can I see if there is an read or write error to SPI Interface :?:
Br,
Rainer
Hi Aj,
I use the SPI register.
Br,
Rainer
Hilscher Gesellschaft fuer Systemautomation mbH
Hi Rainer,
then is the Forum rcX the wrong place.
In that case you have to take care about the error handling. Please see the data sheet of the used SPI device.
Hilscher Gesellschaft für Systemautomation mbH
If you expect to get a transfer error from the SPI core in case of a transmission / reception error on the line, you are mistaken. The only thing which can be signalled is a FIFO overflow/underrun error but no transmission error.
There is no such thing as Error check / transmission control on SPI lines. SPI is a simple three wire interface which does not have any additional protocol for checking data transmission. If you need to check if the data has correctly transferred you will need to place checksum, etc. inside your transferred data.
Regards
MT
Andreas Jacob
Hilscher Gesellschaft fuer Systemautomation mbH
Hi Rainer,
you will receive an error message from the rcX driver function.