Project: SPI_MSTransfer

Going to reinstall after diner and try again.. Maybe I screwed something up .. but I remember I zipped the old files and then copied and pasted - hope I opened the right zip though.
 
Ok. Got the 3.2 to respond at least. But heres the deal:
if ( millis() - _timer >= 1000 )
and
teensy_gpio.events(50000);
I get a response but slave fires once for
if ( millis() - _timer >= 4000 )
and
teensy_gpio.events(50000);
It gets to close to 1 for 1. I tested at 2500 but loop as to be on the order of 1 sec.

Don't know if the issue is that you just can't use the 3.5/3.2 combo which is disappointing or something else.

BTW: I did test the sketches on two 3.5s and they are firing in a blur. :)
 
did u try modifying MHZ, or added delay to “slowdown” in H file? remember we set > 12mhz no delay?

theres a setting somewhere u dont have setup i think
 
still blasting here at 4745 Hz f&f’s :)

even if you got the 3.2 working at 1sec delay, thats a good starting point to tweak the different timing areas to see where it crashes
 
Mike, maybe ill find time later today to rip my setup apart, solder pins to one of my t3.2’s, and hook up a 3.5 to a 3.2 for testing on my setup. maybe this way i can finally see the issues your describing with 3.2’s, although at least its good you got your dual 3.5’s working :)
 
Thanks for your help Tony. To be honest, I forgot about the delay in the .h file. Its been awhile since I played with it. Think I had it 1 originally when I was playing with the 3.2. I will give it a try.

Mike
--------------------------------------------------------------------------------
UPDATE: Ok changing the delay did help. The transfers to the slave occur in bunches of 24 messages, consistently, vs a smooth transfer.

Here are the settings I am using as a baseline.
  • CB dimension = 8x200 (thought maybe the 16 x 400 might affect it, not really)
  • delay in the .cpp file = 500 minimum
  • SPI_SPEED 48000000 (30000000 works as well)
  • if ( millis() - _timer >= 10 ) {
  • teensy_gpio.events(750);

Ok as I was writing this all the slave prints occur after this line fires its transfer:
Code:
    if ( __countB % 25 )
      teensy_gpio.transfer16((uint16_t *)MST_PrintVals, sizeof(MST_PrintVals) / 2, 60, 1); // DEBUGHACK output
 
Last edited:
Just letting you know im home now, before i dismantle everything in the setup
its still running 4745Hz with 0 OT on T3.5/T3.6, :)

Code:
35552.00, #, #, #, #, #, #, #, #, #, #, #,275635072,58226 [4744 ,10
35564.00, #, #, #, #, #, #, #, #, #, #, #,275635073,58226 [4744 ,10
35576.00, #, #, #, #, #, #, #, #, #, #, #,275635074,58226 [4744 ,10
35588.00, #, #, #, #, #, #, #, #, #, #, #,275635075,58226 [4744 ,10
35600.00, #, #, #, #, #, #, #, #, #, #, #,275635076,58226 [4744 ,10
35612.00, #, #, #, #, #, #, #, #, #, #, #,275635077,58226 [4744 ,10
35624.00, #, #, #, #, #, #, #, #, #, #, #,275635078,58226 [4744 ,10
35636.000000,    0.0356,    0.0356,2041964.125000,2042021.500000,35641.0000,  188.7909,  188.7935,  188.7962,35645.0000,35646.0000,35647.0000
35648.00, #, #, #, #, #, #, #, #, #, #, #,275635079,58226 [4744 ,10
35660.00, #, #, #, #, #, #, #, #, #, #, #,275635080,58226 [4744 ,10
35672.00, #, #, #, #, #, #, #, #, #, #, #,275635081,58226 [4744 ,10
35684.00, #, #, #, #, #, #, #, #, #, #, #,275635082,58226 [4744 ,10

Code:
 _time==50
F&F (OT=0) OT_CALC==100  micros() _time==50
F&F (OT=0) OT_CALC==100  micros() _time==50
F&F (OT=0) OT_CALC==100  micros() _time==50
F&F (OT=0) OT_CALC==100  micros() _time==50
F&F (OT=0) OT_CALC==100  micros() _time==50
F&F (OT=0) OT_CALC==100  micros() _time==50
F&F (OT=0) OT_CALC==100  micros() _time==50
F&F (OT=0) OT_CALC==100  micros() _time==50
F&F (OT=0) OT_CALC==100  micros() _time==50
F&F (OT=0) OT_CALC==100  micros() _time==50
F&F (OT=0) OT_CALC==100  micros() _time==50
F&F (OT=0) OT_CALC==100  micros() _time==50
F&F (OT=0) OT_CALC==100  micros() _time==50
F&F (OT=0) OT_CALC==100  micros() _time==51
F&F (OT=0) OT_CALC==100  micros() _time==50
F&F (OT=0) OT_CALC==100  micros() _time==50
F&F (OT=0) OT_CALC==100  micros() _time==50
F&F (OT=0) OT_CALC==100  micros() _time==50
F&F (OT=0) OT_CALC==100  micros() _time==50
F&F (OT=0) OT_CALC==100  micros() _time==50
F&F (OT=0) OT_CALC==100  micros() _time==50
F&F (OT=0) OT_CALC==100  micros() _time==51
F&F (OT=0) OT_CALC==100  micros() _time==50
F&F (OT=0) OT_CALC==100  micros() _time==51
 
Guess I am the trouble maker. At least I made some progress. Anyway, its just interesting that the 3.5/3.2 combo is such an issue with the new updates. I thought we had it working with the GitHub version. I will have to do a double check for that configuration.
 
I hope I find it, im warming up the solder gun, and after dismantling everything, so no more 3.6+3.5 setup after this lol

would be nice if tim could report the latest thread copy working against 2 of his 3.6's, since my tests were with a 3.5 slave..
 
Sorry - yeah yeah, beat you go back to the 3.6/3.5 combo :).

My guess is that if I am not having an issue with the 3.5's Tim won't have any with the 3.6/3.6. Just based on past comments.

BTW just got a Teensy LC in - will eventually have to try that one out - not now - too many other things to do.
 
Ok, Im getting close, let me work on it, i just got it running at least, ill tweak it out and let you know, the LC ill work on later, to add it's SPI registers as they are different, hopefully we can get those online on MST as well..
 
note, im getting this btw:

Code:
19600.00, #, #, #, #, #, #, #, #, #, #, #,12357,24 [950 ,10
19612.00, #, #, #, #, #, #, #, #, #, #, #,12358,24 [950 ,10
19624.00, #, #, #, #, #, #, #, #, #, #, #,12359,24 [950 ,10
19636.00, #, #, #, #, #, #, #, #, #, #, #,12360,24 [950 ,10
19648.00, #, #, #, #, #, #, #, #, #, #, #,12361,24 [950 ,10
19660.00, #, #, #, #, #, #, #, #, #, #, #,12362,24 [950 ,10
19672.00, #, #, #, #, #, #, #, #, #, #, #,12363,24 [950 ,10
19684.00, #, #, #, #, #, #, #, #, #, #, #,12364,24 [950 ,10
19696.00, #, #, #, #, #, #, #, #, #, #, #,12365,24 [950 ,10
19708.00, #, #, #, #, #, #, #, #, #, #, #,12366,24 [950 ,10
19720.00, #, #, #, #, #, #, #, #, #, #, #,12367,24 [950 ,10
19732.00, #, #, #, #, #, #, #, #, #, #, #,12368,24 [950 ,10
19744.00, #, #, #, #, #, #, #, #, #, #, #,12369,24 [950 ,10
19756.00, #, #, #, #, #, #, #, #, #, #, #,12370,24 [950 ,10
19768.00, #, #, #, #, #, #, #, #, #, #, #,12371,24 [950 ,10
19780.00, #, #, #, #, #, #, #, #, #, #, #,12372,24 [950 ,10
19792.00, #, #, #, #, #, #, #, #, #, #, #,12373,24 [950 ,10
19804.00, #, #, #, #, #, #, #, #, #, #, #,12374,24 [950 ,10
19816.000000,    0.0198,    0.0198,1135545.000000,1135602.250000,19821.0000,  140.7906,  140.7942,  140.7977,19825.0000,19826.0000,19827.0000
19828.00, #, #, #, #, #, #, #, #, #, #, #,12375,24 [950 ,10
19840.00, #, #, #, #, #, #, #, #, #, #, #,12376,24 [950 ,10
19852.00, #, #, #, #, #, #, #, #, #, #, #,12377,24 [950 ,10
19864.00, #, #, #, #, #, #, #, #, #, #, #,12378,24 [950 ,10
19876.00, #, #, #, #, #, #, #, #, #, #, #,12379,24 [950 ,10
19888.00, #, #, #, #, #, #, #, #, #, #, #,12380,24 [950 ,10
19900.00, #, #, #, #, #, #, #, #, #, #, #,12381,24 [950 ,10
19912.00, #, #, #, #, #, #, #, #, #, #, #,12382,24 [950 ,10
19924.00, #, #, #, #, #, #, #, #, #, #, #,12383,24 [950 ,10
19936.00, #, #, #, #, #, #, #, #, #, #, #,12384,24 [950 ,10
19948.00, #, #, #, #, #, #, #, #, #, #, #,12385,24 [950 ,10
19960.00, #, #, #, #, #, #, #, #, #, #, #,12386,24 [950 ,10
19972.00, #, #, #, #, #, #, #, #, #, #, #,12387,24 [950 ,10
19984.00, #, #, #, #, #, #, #, #, #, #, #,12388,24 [950 ,10
19996.00, #, #, #, #, #, #, #, #, #, #, #,12389,24 [950 ,10
20008.00, #, #, #, #, #, #, #, #, #, #, #,12390,24 [950 ,10
20020.00, #, #, #, #, #, #, #, #, #, #, #,12391,24 [950 ,10
20032.00, #, #, #, #, #, #, #, #, #, #, #,12392,24 [950 ,10
20044.00, #, #, #, #, #, #, #, #, #, #, #,12393,24 [950 ,10
20056.00, #, #, #, #, #, #, #, #, #, #, #,12394,24 [950 ,10
20068.00, #, #, #, #, #, #, #, #, #, #, #,12395,24 [950 ,10
20080.00, #, #, #, #, #, #, #, #, #, #, #,12396,24 [950 ,10
20092.00, #, #, #, #, #, #, #, #, #, #, #,12397,24 [950 ,10
20104.00, #, #, #, #, #, #, #, #, #, #, #,12398,24 [950 ,10
20116.000000,    0.0201,    0.0201,1152733.750000,1152791.000000,20121.0000,  141.8520,  141.8556,  141.8591,20125.0000,20126.0000,20127.0000
20128.00, #, #, #, #, #, #, #, #, #, #, #,12399,24 [950 ,10
20140.00, #, #, #, #, #, #, #, #, #, #, #,12400,24 [950 ,10
20152.00, #, #, #, #, #, #, #, #, #, #, #,12401,24 [950 ,10
20164.00, #, #, #, #, #, #, #, #, #, #, #,12402,24 [950 ,10
20176.00, #, #, #, #, #, #, #, #, #, #, #,12403,24 [950 ,10
20188.00, #, #, #, #, #, #, #, #, #, #, #,12404,24 [950 ,10
20200.00, #, #, #, #, #, #, #, #, #, #, #,12405,24 [950 ,10
20212.00, #, #, #, #, #, #, #, #, #, #, #,12406,24 [950 ,10
20224.00, #, #, #, #, #, #, #, #, #, #, #,12407,24 [950 ,10
20236.00, #, #, #, #, #, #, #, #, #, #, #,12408,24 [950 ,10
20248.00, #, #, #, #, #, #, #, #, #, #, #,12409,24 [950 ,10
20260.00, #, #, #, #, #, #, #, #, #, #, #,12410,24 [950 ,10
20272.00, #, #, #, #, #, #, #, #, #, #, #,12411,24 [950 ,10
20284.00, #, #, #, #, #, #, #, #, #, #, #,12412,24 [950 ,10
20296.00, #, #, #, #, #, #, #, #, #, #, #,12413,24 [950 ,10
20308.00, #, #, #, #, #, #, #, #, #, #, #,12414,24 [950 ,10
20320.00, #, #, #, #, #, #, #, #, #, #, #,12415,24 [950 ,10
20332.00, #, #, #, #, #, #, #, #, #, #, #,12416,24 [950 ,10
20344.00, #, #, #, #, #, #, #, #, #, #, #,12417,24 [950 ,10
20356.00, #, #, #, #, #, #, #, #, #, #, #,12418,24 [950 ,10
20368.00, #, #, #, #, #, #, #, #, #, #, #,12419,24 [950 ,10
20380.00, #, #, #, #, #, #, #, #, #, #, #,12420,24 [950 ,10
20392.00, #, #, #, #, #, #, #, #, #, #, #,12421,24 [950 ,10

ill find a sweet spot and report back to you for testing..
 
Hey look where im at now:
Code:
47436.00, #, #, #, #, #, #, #, #, #, #, #,80771,25 [2365 ,10
47448.00, #, #, #, #, #, #, #, #, #, #, #,80772,25 [2365 ,10
47460.00, #, #, #, #, #, #, #, #, #, #, #,80773,25 [2365 ,10
47472.00, #, #, #, #, #, #, #, #, #, #, #,80774,25 [2365 ,10
47484.00, #, #, #, #, #, #, #, #, #, #, #,80775,25 [2365 ,10
47496.00, #, #, #, #, #, #, #, #, #, #, #,80776,25 [2365 ,10
47508.00, #, #, #, #, #, #, #, #, #, #, #,80777,25 [2365 ,10
47520.00, #, #, #, #, #, #, #, #, #, #, #,80778,25 [2365 ,10
47532.00, #, #, #, #, #, #, #, #, #, #, #,80779,25 [2365 ,10
47544.00, #, #, #, #, #, #, #, #, #, #, #,80780,25 [2365 ,10
47556.00, #, #, #, #, #, #, #, #, #, #, #,80781,25 [2365 ,10
47568.00, #, #, #, #, #, #, #, #, #, #, #,80782,25 [2365 ,10
47580.000000,    0.0476,    0.0476,2726305.000000,2726362.250000,47585.0000,  218.1422,  218.1445,  218.1467,47589.0000,47590.0000,47591.0000
47592.00, #, #, #, #, #, #, #, #, #, #, #,80783,25 [2365 ,10
47604.00, #, #, #, #, #, #, #, #, #, #, #,80784,25 [2365 ,10
47616.00, #, #, #, #, #, #, #, #, #, #, #,80785,25 [2365 ,10
47628.00, #, #, #, #, #, #, #, #, #, #, #,80786,25 [2365 ,10
47640.00, #, #, #, #, #, #, #, #, #, #, #,80787,25 [2365 ,10
47652.00, #, #, #, #, #, #, #, #, #, #, #,80788,25 [2365 ,10
47664.00, #, #, #, #, #, #, #, #, #, #, #,80789,25 [2365 ,10
47676.00, #, #, #, #, #, #, #, #, #, #, #,80790,25 [2365 ,10
47688.00, #, #, #, #, #, #, #, #, #, #, #,80791,25 [2365 ,10
47700.00, #, #, #, #, #, #, #, #, #, #, #,80792,25 [2365 ,10
47712.00, #, #, #, #, #, #, #, #, #, #, #,80793,25 [2365 ,10
47724.00, #, #, #, #, #, #, #, #, #, #, #,80794,25 [2365 ,10
477
 
Mike, main issue, its not the library
Select 24000000, the T3.5/T3.2 cant do 30 it seems!
I'm tweaking the millis code in loop now, but above post stands working without any library mods..
 
Alright mike, try this
use 24000000, NOT 30000000
then try this:
Code:
uint32_t OverTime = 0;
void loop() {
  static uint32_t _timer = millis();
  teensy_gpio.events([COLOR="#FF0000"]500[/COLOR]);
  if ( !(millis() % 100) )  {
    teensy_gpio.pinToggle(LED_BUILTIN);
    Serial.print("^LT");
    delay(1);
  }
  if ( [COLOR="#FF0000"]micros()[/COLOR] - _timer >= [COLOR="#FF0000"]300[/COLOR] ) {

You SHOULD get this:
Code:
188.00, #, #, #, #, #, #, #, #, #, #, #,803428,21261 [3113 ,10
200.00, #, #, #, #, #, #, #, #, #, #, #,803429,21261 [3113 ,10
212.00, #, #, #, #, #, #, #, #, #, #, #,803430,21261 [3113 ,10
224.00, #, #, #, #, #, #, #, #, #, #, #,803431,21261 [3113 ,10
236.00, #, #, #, #, #, #, #, #, #, #, #,803432,21261 [3113 ,10
248.00, #, #, #, #, #, #, #, #, #, #, #,803433,21261 [3113 ,10
260.00, #, #, #, #, #, #, #, #, #, #, #,803434,21261 [3113 ,10
272.00, #, #, #, #, #, #, #, #, #, #, #,803435,21261 [3113 ,10
284.00, #, #, #, #, #, #, #, #, #, #, #,803436,21261 [3113 ,10
296.00, #, #, #, #, #, #, #, #, #, #, #,803437,21261 [3113 ,10
308.00, #, #, #, #, #, #, #, #, #, #, #,803438,21261 [3113 ,10
320.00, #, #, #, #, #, #, #, #, #, #, #,803439,21261 [3113 ,10
332.00, #, #, #, #, #, #, #, #, #, #, #,803440,21261 [3113 ,10
344.00, #, #, #, #, #, #, #, #, #, #, #,803441,21261 [3113 ,10
356.00, #, #, #, #, #, #, #, #, #, #, #,803442,21261 [3113 ,10
368.00, #, #, #, #, #, #, #, #, #, #, #,803443,21261 [3113 ,10
380.00, #, #, #, #, #, #, #, #, #, #, #,803444,21261 [3113 ,10
392.00, #, #, #, #, #, #, #, #, #, #, #,803445,21261 [3113 ,10
404.00, #, #, #, #, #, #, #, #, #, #, #,803446,21261 [3113 ,10
416.00, #, #, #, #, #, #, #, #, #, #, #,803447,21261 [3113 ,10
428.00, #, #, #, #, #, #, #, #, #, #, #,803448,21261 [3113 ,10
440.00, #, #, #, #, #, #, #, #, #, #, #,803449,21261 [3113 ,10
452.000000,    0.0005,    0.0005,26069.578125,26126.875000,  457.0000,   21.4009,   21.4243,   21.4476,  461.0000,  462.0000,  463.0000
464.00, #, #, #, #, #, #, #, #, #, #, #,803450,21261 [3113 ,10
476.00, #, #, #, #, #, #, #, #, #, #, #,803451,21261 [3113 ,10
488.00, #, #, #, #, #, #, #, #, #, #, #,803452,21261 [3113 ,10
500.00, #, #, #, #, #, #, #, #, #, #, #,803453,21261 [3113 ,10
512.00, #, #, #, #, #, #, #, #, #, #, #,803454,21261 [3113 ,10
524.00, #, #, #, #, #, #, #, #, #, #, #,803455,21261 [3113 ,10
536.00, #, #, #, #, #, #, #, #, #, #, #,803456,21261 [3113 ,10
548.00, #, #, #, #, #, #, #, #, #, #, #,803457,21261 [3113 ,10
560.00, #, #, #, #, #, #, #, #, #, #, #,803458,21261 [3113 ,10
572.00, #, #, #, #, #, #, #, #, #, #, #,803459,21261 [3113 ,10
584.00, #, #, #, #, #, #, #, #, #, #, #,803460,21261 [3113 ,10
596.00, #, #, #, #, #, #, #, #, #, #, #,803461,21261 [3113 ,10
608.00, #, #, #, #, #, #, #, #, #, #, #,803462,21261 [3113 ,10
620.00, #, #, #, #, #, #, #, #, #, #, #,803463,21261 [3113 ,10

3113Hz @ overload 1 !!!

looks like 500uS is a safe default for events().
 
I'm pretty sure Tim could prolly pass 5K Hz in his setup if im able to reach 4745 with a T3.5 :p, and 3110 Hz with a 3.2 :p
 
Hi tony. Just got back in. Thanks for checking - didn't think about reducing the SPI. Last time I had to increase it. Oh boy. I will give it a try and play around some more.

Love your setup in the video. :)
 
T3.6 host, T3.5 slave, T3.2 slave, 24 mhz all round :)

i tried different speeds between both but one slave gives up data flow unless the speeds match
Weird..
but both set at same speed work fine :)
 
ok. now I am frustrated. Using the same settings as you posted for the 3.5 and 3.2 and using the same cpu speed still not working right. Going to redo the wiring and if that doesn't work going to solder up another 3.2.

EDIT: WIRING PROBLEM> FIXED AND IS WORKING. GOING TO PLAY WITH SETTINGS.
 
Ok Tony. All is well and right with the world. BTW here are the settings I am using
  • T3.5 at 168Mhz, T3.2 at 120Mhz
  • SPI_SPD 24000000 (your right 30 does not want to work for some reason, probably what we discussed before on SPI Speeds)
  • teensy_gpio.events(500);
  • if ( millis() - _timer >= 1 )

Master:
Code:
F&F (OT=6) OT_CALC==100  micros() _time==74
F&F (OT=6) OT_CALC==100  micros() _time==75
F&F (OT=6) OT_CALC==100  micros() _time==74
F&F (OT=6) OT_CALC==100  micros() _time==74
F&F (OT=6) OT_CALC==100  micros() _time==75

Slave
Code:
52708.000000,    0.0527,    0.0527,3020117.750000,3020175.000000,52713.0000,  229.5953,  229.5975,  229.5997,52717.0000,52718.0000,52719.0000
52720.00, #, #, #, #, #, #, #, #, #, #, #,156254,7 [960 ,0
52732.00, #, #, #, #, #, #, #, #, #, #, #,156255,7 [960 ,0
52744.00, #, #, #, #, #, #, #, #, #, #, #,156256,7 [960 ,0
52756.00, #, #, #, #, #, #, #, #, #, #, #,156257,7 [960 ,0
52768.00, #, #, #, #, #, #, #, #, #, #, #,156258,7 [960 ,0
52780.00, #, #, #, #, #, #, #, #, #, #, #,156259,7 [960 ,0
52792.00, #, #, #, #, #, #, #, #, #, #, #,156260,7 [960 ,0
52804.00, #, #, #, #, #, #, #, #, #, #, #,156261,7 [960 ,0
52816.00, #, #, #, #, #, #, #, #, #, #, #,156262,7 [960 ,0
52828.00, #, #, #, #, #, #, #, #, #, #, #,156263,7 [960 ,0
52840.00, #, #, #, #, #, #, #, #, #, #, #,156264,7 [960 ,0
52852.00, #, #, #, #, #, #, #, #, #, #, #,156265,7 [960 ,0
52864.00, #, #, #, #, #, #, #, #, #, #, #,156266,7 [960 ,0
52876.00, #, #, #, #, #, #, #, #, #, #, #,156267,7 [960 ,0
52888.00, #, #, #, #, #, #, #, #, #, #, #,156268,7 [960 ,0
52900.00, #, #, #, #, #, #, #, #, #, #, #,156269,7 [960 ,0
52912.00, #, #, #, #, #, #, #, #, #, #, #,156270,7 [960 ,0
52924.00, #, #, #, #, #, #, #, #, #, #, #,156271,7 [960 ,0
52936.00, #, #, #, #, #, #, #, #, #, #, #,156272,7 [960 ,0
52948.00, #, #, #, #, #, #, #, #, #, #, #,156273,7 [960 ,0
52960.00, #, #, #, #, #, #, #, #, #, #, #,156274,7 [960 ,0
52972.00, #, #, #, #, #, #, #, #, #, #, #,156275,7 [960 ,0
52984.00, #, #, #, #, #, #, #, #, #, #, #,156276,7 [960 ,0
52996.00, #, #, #, #, #, #, #, #, #, #, #,156277,7 [960 ,0
53008.000000,    0.0530,    0.0530,3037306.500000,3037363.750000,53013.0000,  230.2477,  230.2499,  230.2520,53017.0000,53018.0000,53019.0000
53020.00, #, #, #, #, #, #, #, #, #, #, #,156278,7 [960 ,0
53032.00, #, #, #, #, #, #, #, #, #, #, #,156279,7 [960 ,0
53044.00, #, #, #, #, #, #, #, #, #, #, #,156280,7 [960 ,0
53056.00, #, #, #, #, #, #, #, #, #, #, #,156281,7 [960 ,0
53068.00, #, #, #, #, #, #, #, #, #, #, #,156282,7 [960 ,0
53080.00, #, #, #, #, #, #, #, #, #, #, #,156283,7 [960 ,0
53092.00, #, #, #, #, #, #, #, #, #, #, #,156284,7 [960 ,0
53104.00, #, #, #, #, #, #, #, #, #, #, #,156285,7 [960 ,0
53116.00, #, #, #, #, #, #, #, #, #, #, #,156286,7 [960 ,0
53128.00, #, #, #, #, #, #, #, #, #, #, #,156287,7 [960 ,0
53140.00, #, #, #, #, #, #, #, #, #, #, #,156288,7 [960 ,0
53152.00, #, #, #, #, #, #, #, #, #, #, #,156289,7 [960 ,0
53164.00, #, #, #, #, #, #, #, #, #, #, #,156290,7 [960 ,0
53176.00, #, #, #, #, #, #, #, #, #, #, #,156291,7 [960 ,0
53188.00, #, #, #, #, #, #, #, #, #, #, #,156292,7 [960 ,0
53200.00, #, #, #, #, #, #, #, #, #, #, #,156293,7 [960 ,0
53212.00, #, #, #, #, #, #, #, #, #, #, #,156294,7 [960 ,0
53224.00, #, #, #, #, #, #, #, #, #, #, #,156295,7 [960 ,0
53236.00, #, #, #, #, #, #, #, #, #, #, #,156296,7 [960 ,0
53248.00, #, #, #, #, #, #, #, #, #, #, #,156297,7 [960 ,0
53260.00, #, #, #, #, #, #, #, #, #, #, #,156298,7 [960 ,0
53272.00, #, #, #, #, #, #, #, #, #, #, #,156299,7 [960 ,0
53284.00, #, #, #, #, #, #, #, #, #, #, #,156300,7 [960 ,0
53296.00, #, #, #, #, #, #, #, #, #, #, #,156301,7 [960 ,0
53308.000000,    0.0533,    0.0533,3054495.250000,3054552.500000,53313.0000,  230.8982,  230.9004,  230.9026,53317.0000,53318.0000,53319.0000
53320.00, #, #, #, #, #, #, #, #, #, #, #,156302,7 [960 ,0
 
here is what i noticed, changing the bus speed on the 3.2 only works within 20-24mhz, higher or lower breaks ...itself?
i commented out the 3.2 only transmissions, and changed speeds to any value, even 1mhz, and the T3.5 is very capable of all ranges. Could this be an issue with the hardware of the 3.2 or the SPI library handling of the 3.2??

just seeing this symptom only affect the 3.2 makes me wonder that this might be some other problem than we think

even with both outputs same time with the bus speed same on both, lets say 16mhz,
the 3.5 would respond, the 3.2 errored out, then 3.5 respond, etc etc so the dead weight of the chain was the 3.2...
 
I remember that I one time I had to so some CPU speed matching between the 3.5 and 3.2 to get them to transfer. But the later versions of the library fixed that. I also remember 1 test I did where I had the bus speed up to around 40M but can't remember exactly. When I did a search of this thread for T3.2 any combo nothing came back so I can't find those posts. I do know that the SPI bus speed is dependent on F_CPU and works for particular ranges - if you look in the SPI library you will find it.

PS> Still working on trying to get wire to work with the 3.5 and 3.2 but it seems to be a issue - going to try and change the bus speed to see what happens.

PSS> Transfer do work in threads just tried it with the 3.5 and 3.2 combo.
 
There is another issue changing polarity between devices - but with a fixed working polarity setup between the devices - those should not be issues here?

<edit> Unless the current polarity is not being compatible - due to chip errata - and it accidentally works only at a given set of speeds?
 
Back
Top