Hi All,
I am trying to implement McBSP as SPI on dm6437 EVM board. As a start, what i am trying is to communicate with a SPI EEPROM, ie read known data from the eeprom.
After initializing the mcbsp registers, I call GIO_create() to get the mcbsp handle as belowa;
mcbsphandle = GIO_create(Name, IOM_INOUT, &status, &chanparams, &gioAttrs); gioAttrs.timeout = 1000;
but handle returned is NULL and status is -10 (illegal arguments passed). But sometimes i do get a valid handle value (i dont know how i get it), but then on running the code the code just hangs at GIO_submit(). ie it does not return.
Can anybody please help me oout in this? its really urgent and i have already spent some time on htis but i am not making any headway.
if any more details is needed, please let me know. Thanks in advance.
Pradeep.