Send a ECG signal to PIC18F4550 to computer using the USB and its receipt by the MATLAB online

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

hello

   

I'm using an appropriate protocol for USB send a signal to the computer to do. If the hex file the appropriate protocol (eg. Balk protocol) or you can provide me with your film? Thank you very much 

0 Likes
2 Replies
Anonymous
Not applicable

Hi,

   

The USB cannot send a signal to PC of its own. The PC is the master for USB and it should ask for data first (via Control Transfer i.e control request)

   

The PC should keep asking for data and the USB Device should send when it is has data or simply NAK.

   

Regards,

   

- Madhu Sudhan

0 Likes
Anonymous
Not applicable

For handling control requests, you can refer our example projects.

   

Regards,

   

- Madhu Sudhan

0 Likes