Timeline for Missing buffers with serial communication
Current License: CC BY-SA 4.0
24 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 22, 2022 at 3:04 | 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. | |
Sep 24, 2021 at 2:01 | 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. | |
Oct 26, 2020 at 16:01 | 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. | |
Jun 28, 2020 at 15:08 | 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. | |
Feb 29, 2020 at 15:02 | 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. | |
S Jan 30, 2020 at 14:45 | history | suggested | Greg_B | CC BY-SA 4.0 |
Solution found
|
Jan 30, 2020 at 10:16 | review | Suggested edits | |||
S Jan 30, 2020 at 14:45 | |||||
Jan 29, 2020 at 9:33 | comment | added | VE7JRO | @Greg_B - You have 2 accounts with the same name, but 2 different IDs. If you can't comment, please edit the question with new information. | |
Jan 29, 2020 at 8:45 | comment | added | Greg_B | @EdgarBonet I am trying to 'add a comment' to your comment to your comment but I can't. it tells me : 'You need to have 50 reputation to comment'. How can I handle this situation to answer your comment and not creating stupid answers all the time ?... Sorry for this answer ... | |
Jan 28, 2020 at 17:32 | comment | added | the busybee | StackExchange sites are not forums. You don't post answers below answers, and so on, please take the tour (again). -- If you need some clarification, comment below the question or the answer that is unclear. -- If you have new information after reading a comment or an answer, edit your question. There is that little link on the left below your question. | |
S Jan 28, 2020 at 16:53 | history | suggested | Greg_B | CC BY-SA 4.0 |
Redefine the problem
|
Jan 28, 2020 at 16:24 | comment | added | Greg_B | @EdgarBonet Sorry for creating a new answer but I can't aswer to your pevious one. I can edit it but can't answer to it... Weird... So, for your answer 2. Writing passes to true in acpfalling ISR, after i = 0. 3. Thanks to have seen this. I am making a test to see if this is the problem... Hope it will resolve 4. I will have a look, thanks! 5. Using char *buff = change_buffer ? buff1 : buff2; won't take useless time ? I mean, if it just a matter of reading. Because, as far as I know, ISRs have to be as short as possible. | |
Jan 28, 2020 at 16:09 | review | Suggested edits | |||
S Jan 28, 2020 at 16:53 | |||||
Jan 28, 2020 at 15:57 | answer | added | Edgar Bonet | timeline score: 1 | |
Jan 28, 2020 at 14:57 | comment | added | Edgar Bonet | What do you mean by "a part and other buffers are not transmitted"? Do you continue to receive data? Is the received data different from what you expect? If so, in what way is it different? Also, what is the typical frequency of the ACP signal? | |
Jan 28, 2020 at 14:54 | comment | added | Edgar Bonet |
@SimSon: main() does indeed call loop() repeatedly.
|
|
Jan 28, 2020 at 14:50 | comment | added | Sim Son |
@EdgarBonet good to know! Will it be like while(1) loop(); in the end?
|
|
Jan 28, 2020 at 14:47 | comment | added | Edgar Bonet |
@SimSon: 1. attachInterrupt() does no memory allocation. 2. loop() is not main() : returning from loop() is perfectly fine, and expected.
|
|
Jan 28, 2020 at 14:44 | comment | added | Sim Son | Also you should not return from the main (loop) function on a uC. I don‘t know if it‘s legal, but it doesn‘t make much sense | |
Jan 28, 2020 at 14:42 | comment | added | Sim Son |
You attach interrupts quite often which I’d say is uncommon at least. I don‘t know what attachInterrupt() does in the background, but if it uses dynamic memory allocation I could imagine that calling it frequently might lead to problems.
|
|
S Jan 28, 2020 at 14:28 | history | edited | Edgar Bonet | CC BY-SA 4.0 |
Code formatting.
|
Jan 28, 2020 at 14:24 | review | Suggested edits | |||
S Jan 28, 2020 at 14:28 | |||||
Jan 28, 2020 at 14:15 | review | First posts | |||
Jan 28, 2020 at 15:11 | |||||
Jan 28, 2020 at 14:12 | history | asked | Greg_B | CC BY-SA 4.0 |