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

Search:

Type: Posts; User: luni

Search: Search took 0.00 seconds.

  1. Don't know, I just exported the csv from the LA...

    Don't know, I just exported the csv from the LA app.

    Zooming in at t=1s shows nothing unusual in the recording:

    30275

    Ok, I assume this is in your original program? So, anything else...
  2. Here a recording of about 200 seconds with the...

    Here a recording of about 200 seconds with the minmal / maximal positive and negative pulse widths.

    30272

    Zoomed in for better reading:
    30273

    This all looks perfectly normal to me

    Here...
  3. Actually I started using my logic analyzer. But...

    Actually I started using my logic analyzer. But since I didn't see anything and it is quite tedious to scan through the recording I switched to printing out the values. I can let it run for a time...
  4. I personally would rather write the data in a...

    I personally would rather write the data in a ringbuffer in the ISR and do the serial writing in the foreground code. This would make handling connection losses, slow PCs etc much easier. One could...
  5. I had a look at your test case and, since I don't...

    I had a look at your test case and, since I don't want to mess with python, I adapted the code to print the measured periods and pulsewidths directly into a serial monitor.



    #pragma once
    ...
  6. Best is to provide a minimal and complete example...

    Best is to provide a minimal and complete example showing the effect.



    Starting/stopping/triggering the timers of course needs some time. But once a periodic (hardware) timer runs, it should...
Results 1 to 6 of 6