Ok so we are having trouble with SPI. Say we have a byte[] of size 3072 (so 
a huge amount of data) ready to be send with IOIO as Master. Obviously we 
need to split the data and in my case we split it in 48 bytes of data per 
time. However we are having problem at the slave. We are convinced that we 
are losing data however. <3072 of the bytes is being received. Since we 
have an FPGA without possibilty to read as slave here, we can't really 
check what's written in the RAM there. Well... I can but that means I have 
to check the RAM contents by sending it back in the MISO port.

THe problem with that is that I am also having this weird problem I need 
help with:
When for instance I have a global variable, meaning I have a variable for 
instance "private static int p = 0;" in the MainActivity(extends 
IOIOActivity), and I say in my loop() of Looper class (extends 
BaseIOIOLooper) that p should be 10 and then try to read p, it will always 
give me 0. Why is that? is that due to a wrong setting?
The compiler doesn't tell me it is wrong and I have absolutely no other 
function writing to p...


On Wednesday, June 4, 2014 1:01:22 AM UTC+2, Ytai wrote:
>
> You can use a PWM output to generate such a signal but that won't 
> synchronize other pins with the edges. SPI or Sequencer might do what you 
> want. If you can add more details in what you're actually trying to achieve 
> I might be able to point you in the right direction.
> On Jun 3, 2014 9:10 AM, "Sidharta Prahladsingh" <[email protected] 
> <javascript:>> wrote:
>
>> Small question. Is it possible to have a pin work like a clk pin. I need 
>> a constant clk as long as my android is connected so I was wondering if 
>> this was possible. If this is possible, is it possible to put a pin high at 
>> rising edge of earlier mentioned clk?
>>
>> Thank you for the answer beforehand.
>>
>> Sid
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "ioio-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/ioio-users.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to