Skip to main content
Visitor II
October 7, 2022
Question

Lost some data when send to PC with USB.

  • October 7, 2022
  • 1 reply
  • 756 views

HI all,

I need a sampling rate of 1K to collect the analog voltage.

My chip is :STM32F103C8T6.

I use Timer2's interrupt to enable collect and send data, after send disable.

I use a plus at 100Hz to verify, find it will lost some data:

0693W00000UnZyEQAV.png0693W00000Una0eQAB.pngThanks

Boone

    This topic has been closed for replies.

    1 reply

    BLu.1Author
    Visitor II
    December 1, 2022

    Where are the experts?

    Graduate II
    December 1, 2022

    Its a forum, there's no guarantee of any response.

    You kind of made a statement rather than asked a question.

    Are the 100 Hz and 1000 Hz synchronous ? Or do they come from two independent sources?