View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002788 | FSiMX6 | NI2C | public | 2015-11-01 15:51 | 2015-11-02 11:38 |
Reporter | froelich | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Product Version | V1.60 | ||||
Target Version | V1.70 | Fixed in Version | V1.70 | ||
Summary | 0002788: Function I2CBusCheck and ClkToggleNumber not working | ||||
Description | Both function uses wrong index in array m_NI2CDevArray[]. | ||||
Additional Information | static BOOL ToggleClock(PNI2CDeviceBuffer pDev, DWORD* pdwRes, DWORD dwLowTime) { TNI2CDevice NI2CDev = m_NI2CDevArray[pDev->dwDevAryIndex]; // NOK TNI2CDevice NI2CDev = m_NI2CDevArray[pDev->dwDevAryIndex-1]; // OK static BOOL CheckI2CLines(PNI2CDeviceBuffer pDev) { DWORD dwRes; DWORD dwSDAState; WORD wCounter; BOOL bRetVal = TRUE; TNI2CDevice NI2CDev = m_NI2CDevArray[pDev->dwDevAryIndex]; // NOK TNI2CDevice NI2CDev = m_NI2CDevArray[pDev->dwDevAryIndex-1]; // OK | ||||
Forum Link | |||||
Found Driver Version | 0.1 | ||||
Fixed Driver Version | 0.2 | ||||