Hi, everyone. I'm debugging the SPI, however, the return value of calling GIO_write() is -13. finally, we've found that -13 come from the return value of DDC_spiTransfer(). But we can't find what wrong the -13 means. So, Please tell me what causes the return value -13, and how to solve it? Thank you.
By the way, the pspdriver of SPI is pspdriver_1_10_09, and the program run correctly on the EVM board(DM648), it run wrongly on our custom board on the loopback_disable mode.
Please help me as soon as possible. Thanks.
Hi maoyang wu,
I guess you are using "pspdriver_1_10_00_09". Please confirm this.
The spi sample application does a read/write data transfer test to EEPROM. Is this working on your custom board?. Also, the spi driver is no where returning -13 and I am not sure how you are getting this error code. Could you probe into the driver and check from where exactly(inside DDC_spiTransfer()) it is returning.
And, are you calling GIO_write with "IOM_FLUSH" or "IOM_ABORT" commands? or using any of the Mini driver ctrl functions(Like IOCTL's)?
If you refer the BIOS Userguide, "SYS_ENOTIMPL" error code has a value 13 which means "An attempt was made to use an action that is not implemented".
Best Regards,
Raghavendra
Does this help with your question? If not, please send back more information. If it answers your question, please click the Verify Answer button below.