Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: Jacob.Schultz

Search: Search took 0.00 seconds.

  1. Replies
    19
    Views
    592

    I found a Teensy 3.6 in my drawer and made a...

    I found a Teensy 3.6 in my drawer and made a test. The result is the same as before i got exactly 30.000.004 lines every time in the output file, no data loss. I had floating input under the test and...
  2. Replies
    19
    Views
    592

    If you are doing 300k samples/sec you are on the...

    If you are doing 300k samples/sec you are on the limit of available bandwidth. You also have a CR and LF character for every sample. With 5 bytes pr sample (only 3 digits) you are on the limit of a...
  3. Replies
    19
    Views
    592

    The ringbuffer speed is not bad at all, you can't...

    The ringbuffer speed is not bad at all, you can't get it much faster. I compared these two and the speed is identical on ARM. On Intel the ADC circular buffer is 10% faster witch surprised me.


    ...
  4. Replies
    19
    Views
    592

    Remember to set your interrupt priorities on the...

    Remember to set your interrupt priorities on the ADC it's important. It makes your first example work without problems. It should be lower than the usb.

    NVIC_SET_PRIORITY(IRQ_ADC0, 30);
  5. Replies
    19
    Views
    592

    I done some fast testing and you cannot blame the...

    I done some fast testing and you cannot blame the USB. The Ringbuffer is certainly not efficient the default size is only 8 bytes (in my version) witch is useless.
    I can recommend a look at...
  6. Replies
    19
    Views
    592

    I modified a program for a test and i am able to...

    I modified a program for a test and i am able to send 628571 bytes/sec over USB without any data loss. It only uses 17.8% cpu on a Teensy3.2 at 72Mhz. It's a quite big program i used and it has some...
Results 1 to 6 of 6