paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Trouble with TWOG as SPI-master


From: Thomas Wuensche
Subject: Re: [Paparazzi-devel] Trouble with TWOG as SPI-master
Date: Thu, 17 Mar 2011 23:50:28 +0100
User-agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100328)

>   last_send_packet.iCmdID  = 0x12;
>   last_send_packet.iDummy1 = 0x13;
>   last_send_packet.iDummy2 = 0x14;
>   last_send_packet.iDummy1 = 0x15;
>   last_send_packet.iDummy2 = 0x16;
>   last_send_packet.iDummy1 = 0x17;
>   last_send_packet.iDummy2 = 0x18;

Maybe you would like to write also to other bytes, in this
text you write three times to iDummy1 and iDummy2. Looks
like a copy/paste problem ;)

> If I change the number of bytes, the pattern changes, most of the time at 
> least the first byte fits. I'm pretty sure the arduino-slave works (I'm using 
> just an ISR to print the received bytes.) Currently the ins_periodic_task() 
> is called once a second...
> 
> Can anybody help? I did not found anything in the archive concerning such 
> problems - or at least I did not find the right keywords ;-)

Hope that helped,

Thomas
-- 
EMS Dr. Thomas Wuensche e.K.
Sonnenhang 3
85304 Ilmmuenster
HRA Neuburg a.d. Donau, HR-Nr. 70.106
Phone: +49-8441-490260
Fax  : +49-8441-81860
http://www.ems-wuensche.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]