x
This website is using cookies. We use cookies to ensure that we give you the best experience on our website. More info. That's Fine
HPC:Factor Logo 
 
Latest Forum Activity

Implementation of DeviceIoControl API in SPI driver

vikram998861 Page Icon Posted 2008-11-24 7:31 AM
#
Avatar image of vikram998861
H/PC Newbie

Posts:
2
Status:
Hi everyone,
Am a winCE beginner and am working on device driver development.
Am using winCE 6.0 and ARM Cortex A8 processor.

The Processor has 4 separate SPI modules with SPI 1 supporting 4 channels, SPI 2 and SPI 3 supports 2 channels each and SPI 4 supporting only 1 channel..

The display type my evaluation board having is a touch screen type and SPI 1 is interfaced between Touch screen controller and processor....

Now, i need to use SPI 2 for interfacing processor with DAC.

The SPI driver that i got along with the bsp is a full fledged one but configured for touch screen controller.

There's a ".h" file which has functions that opens SPI1, sends IOCTL's using DeviceIoControl and reads/writes....

Touch screen driver in turn uses these functions ....

Now, disabled the touch screen and trying to open SPI 2....but its failing at DeviceIoControl....I don't know the correct reason....Pls help to debug this....


Again i have used a separate GUID in the DeviceIoControl but no use.....can anybosy help me......pls
 Top of the page
Jump to forum:
Seconds to generate: 0.140 - Cached queries : 58 - Executed queries : 9