Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • Tady's Avatar
    11-27-2017, 05:46 AM
    @btmcmahan may I ask why is this part of the code written like this: void T3SPI::rxtx16(volatile uint16_t *dataIN, volatile uint16_t *dataOUT, int length){ dataIN = SPI0_POPR; dataPointer++; if (dataPointer ==...
    47 replies | 24130 view(s)
  • Tady's Avatar
    11-26-2017, 08:30 PM
    What are those boards doing? Nice shields:) yeah... It would work only one way... But the teensy is returning actual position data... Rpi sends wanted position data and the teensy returns actual position :) besides...
    20 replies | 1815 view(s)
  • Tady's Avatar
    11-26-2017, 07:06 PM
    Man I really love you explanation but unfortunately i don' know what to do with the info :) i was reading some other threads and someone was explaning that there was a bug in the silicone... To me all this info seems...
    20 replies | 1815 view(s)
  • Tady's Avatar
    11-26-2017, 03:02 PM
    Hi I have tried multiple examples.... This code is from a user here one the forum named WMXZ and i had no luck with this one.. Alot of garbage if i tried copying the recieve buffer to another "holder" for further...
    20 replies | 1815 view(s)
  • Tady's Avatar
    11-24-2017, 10:41 PM
    Lower clock speeds improved the operation but even at 1MHz i had problems... can you give me an example for 8 bitDMA slave? I need it to recieve and send back ... data is 8bits and 20bytes long, if it's a problem i can...
    20 replies | 1815 view(s)
  • Tady's Avatar
    11-24-2017, 09:23 PM
    How do you mean entirely? I use the 8bit rxTx example.... I was looking at the source and to me it seems that interrupt is driven by the clock pulse. When the interrupt fires the ISR reads the popr register and the it...
    20 replies | 1815 view(s)
  • Tady's Avatar
    11-24-2017, 08:49 PM
    I'm already using this library. It works.. But its loosing sync.. Sometimes it works for half an hour sometimes more sometimes less... And always fails if i restart the teensy or RPI... It looks like the data from slave...
    20 replies | 1815 view(s)
  • Tady's Avatar
    11-24-2017, 06:12 AM
    Do you maybe have an example sketch for slave mode 8bit read/write? I'm trying to communicate with an raspberry pi and i got a library from one of the members of this forum but the comm is not reliable. Somtimes I...
    20 replies | 1815 view(s)
No More Results
About Tady

Basic Information

Statistics


Total Posts
Total Posts
66
Posts Per Day
0.16
Last Post
Teensy 3.0 as SPI Slave 11-27-2017 05:46 AM
General Information
Last Activity
12-25-2017 04:27 PM
Join Date
11-28-2016