Post Created date
LightWeightRingBuff.h
Hi,   Dean Camera chose to use the keyword static before any declaration of a function in its header file (like for example : static inline void...
Friday, 7 October 2016 - 12:45
A weird problem - Lost chars in USART
Sure, Also thanks to JohanEkdahl !!   JohanEkdahl wrote:Anyway.. That's about 25 K chars per second. At 8 MHz that gives you on average‚Äč 320 CPU clocks per...
Wednesday, 20 April 2016 - 13:15
A weird problem - Lost chars in USART
A good hint!  I used the breakpoint option "When hit..." then printf to the output.  That's exactly what you said to avoid of. thanks!
Wednesday, 20 April 2016 - 11:52
A weird problem - Lost chars in USART
dbrion0606 wrote:Well,  RingBuffer_Insert() is "called" (I verified it was inlined) from your ISR receive interrupt, and no other interrupt is allowed As I know, other...
Wednesday, 20 April 2016 - 10:15
A weird problem - Lost chars in USART
I fixed the problem with the code above.   I'm working with a 250000 bps. It was a sloppy mistake above :/ also checked other baudrates with error < 3% http://...
Wednesday, 20 April 2016 - 08:07
A weird problem - Lost chars in USART
I'm sorry for that, it's because my language is right to left and english is the oposite so everything mixed up. I'll fix it.
Tuesday, 19 April 2016 - 14:16
A weird problem - Lost chars in USART
forgot to mention that the baudrate is 250000 Kbps and the clock is 8Mhz --> 0% error.
Tuesday, 19 April 2016 - 13:33
Why to use a ringbuffer in usart peripheral (receiving) ?
No, it's not. I just wondered what are the advantages of it rather than just use it as a granted.   thanks! 
Sunday, 17 April 2016 - 14:08
LightWeightRingBuff.h
I thought a lil bit and go through a two-dimensional array requires me a massive code changing. So I chose to solve a simple problem for the beggining and hence to stay with a...
Tuesday, 12 April 2016 - 22:36
LightWeightRingBuff.h
netizen wrote:How/when do you check the ring buffer at the moment? Do you wait until it's full? What triggers the processing of available data? Now Im not dealing with a simple...
Wednesday, 6 April 2016 - 04:46
LightWeightRingBuff.h
?
Friday, 1 April 2016 - 11:31
LightWeightRingBuff.h
JohanEkdahl wrote: Assuming an 8 MHz clock. Yes, It has a 8 Mhz clock.   JohanEkdahl wrote: Tell us more about these data. Are all of them as simple as the example you gave...
Tuesday, 29 March 2016 - 21:51

Pages