View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000814 | NetDCU9 | NSPI | public | 2011-10-14 12:20 | 2011-10-14 12:29 |
| Reporter | Keller | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | confirmed | Resolution | open | ||
| Product Version | V1.24 | ||||
| Target Version | V1.24 | ||||
| Summary | 0000814: IOCTL_NSPI_TRANSFER sends wrong data | ||||
| Description | When transmitting SPI data with IOCTL_NSPI_TRANSFER, wrong data is sent out over MOSI. However the received data from MISO is correct. As a workaround, IOCTL_NSPI_EXCHANGE can be used instead. | ||||
| Additional Information | In SPI_IOControl() the start of the buffer where the data to send is stored is computed wrongly. Two lines are in the reverse order. if (dwCode == IOCTL_NSPI_TRANSFER) { cSpiData.pchWriteBuf = pBufIn + cSpiData.dwCommandLen; cSpiData.dwCommandLen -= dwLenOut; } needs to be changed to: if (dwCode == IOCTL_NSPI_TRANSFER) { cSpiData.dwCommandLen -= dwLenOut; cSpiData.pchWriteBuf = pBufIn + cSpiData.dwCommandLen; } | ||||
| Forum Link | |||||
| Found Driver Version | Since NSPI V2.0 (always) | ||||
| Fixed Driver Version | |||||