Skip to main content
Arduino

Timeline for Multiple SPIs on one Arduino [SOLVED]

Current License: CC BY-SA 3.0

15 events
when toggle format what by license comment
Jan 18, 2018 at 10:51 vote accept Michel Keijzers
Sep 6, 2017 at 0:25 comment added gre_gor You mark the question as answered by accepting an answer not adding [SOLVED] to the title.
Sep 5, 2017 at 23:22 history bumped Community Bot This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Aug 6, 2017 at 22:21 history edited Michel Keijzers CC BY-SA 3.0
edited title
Aug 6, 2017 at 22:19 answer added Michel Keijzers timeline score: 1
Aug 4, 2017 at 20:52 comment added Michel Keijzers (later it will be more complicated when there will be multiple Arduinos transmitting, but I try to solve this problem first for making it more complicated.
Aug 4, 2017 at 20:51 comment added Michel Keijzers @CodeGorilla Thanks (I guess) ... I don't synchronize to be honest. Since sending is only done by two RFs (on two different Arduino's) and two different frequency ranges, I don't expect any collisions. It's like a two lane highway (or street), bidirectional. I am planning to implement my own acknowledgement system (since I want to send data along with the ack signal with data that might not readily be available).
Aug 4, 2017 at 19:58 comment added Code Gorilla Brilliant. So how do you synchronise the transmissions on A with the receive on B? I think what might be happening is A is transmitting before B is receiving and that is why you are loosing packets. Does that sound reasonable?
Aug 4, 2017 at 19:22 comment added Michel Keijzers @CodeGorilla I added the full code (for the slave, which is similar to the controller), and yes two Arduinos (slave/controller) talk to each other, both arduinos have 2 RFs, one transmitting only and one receiving only. THey have different frequencies and different SPI SlaveSelect pins.
Aug 4, 2017 at 19:21 history edited Michel Keijzers CC BY-SA 3.0
added 2775 characters in body
Aug 4, 2017 at 11:54 comment added Code Gorilla "A complete minimal verifiable example" :) Am I right in assuming response and prevresponse are longs? Am not quite sure if you are doing what I think is this one Arduino talking to itself or two Arduinos talking to each other? If its the latter how do you know that the when you are transmitting from Ard.A the Ard.B is receiving? (Not familiar with these radios, so it might be a stupid question)
Aug 4, 2017 at 9:05 history edited Michel Keijzers CC BY-SA 3.0
added 224 characters in body
Aug 4, 2017 at 8:26 history edited Michel Keijzers CC BY-SA 3.0
added 250 characters in body
Aug 4, 2017 at 0:49 history edited Michel Keijzers CC BY-SA 3.0
added 437 characters in body
Aug 4, 2017 at 0:04 history asked Michel Keijzers CC BY-SA 3.0

AltStyle によって変換されたページ (->オリジナル) /