Aug 16, 2013
12:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 16, 2013
12:19 PM
When using SPI001 [1.0.18] with the XMC4500, I find that the return value of a successful call to SPI001_Configure() returns SPI001_ERROR and an unsuccessful call results in SPI001_INVALID_PARAM.
There is no value in the SPI001_StatusType enum like SPI001_OK or similar name. It seems to me like a successfully completed function call should not return the enum value for an error. I'd like to suggest that the App developers address this in future versions of SPI001.
There is no value in the SPI001_StatusType enum like SPI001_OK or similar name. It seems to me like a successfully completed function call should not return the enum value for an error. I'd like to suggest that the App developers address this in future versions of SPI001.
1 Reply
Not applicable
Aug 21, 2013
01:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 21, 2013
01:32 AM
Hi zoompig,
Thank you very much for the feedback. The return value of a successful call to SPI001_Configure() [Status = (uint32_t)DAVEApp_SUCCESS] is missing in SPI001.c. The change request has been submitted [eTicket 55765629]. We will inform you once fixed.
Best regards,
Sophia
Thank you very much for the feedback. The return value of a successful call to SPI001_Configure() [Status = (uint32_t)DAVEApp_SUCCESS] is missing in SPI001.c. The change request has been submitted [eTicket 55765629]. We will inform you once fixed.
Best regards,
Sophia