USB CDC Class Data transfer to host

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB CDC Class Data transfer to host

609 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by saraswathi on Mon Jun 17 07:44:15 MST 2013
[LEFT]Hi,

I have a LPC11U24 device connected to a linux host.This device works in USB CDC class. Once the data is sent from device to host using [SIZE=2][SIZE=3][B]VCOM_bulk_in_hdlr,[/B] will the device wait for ACK from the host?[/SIZE][/SIZE]
[SIZE=2][SIZE=3][/SIZE][/SIZE]
[SIZE=2][SIZE=3]I have a situation where for the first read request from the host, the data is sent and received at the host. Immedietly if I send the second read request from the host, no operation happens at device. Also, if I try to generate interrupts from other IOs no interrupts get generated after first data transfer to host. [/SIZE][/SIZE]
[SIZE=2][SIZE=3][/SIZE][/SIZE]
[SIZE=2][SIZE=3]Can anyone please inform me does USB CDC mode operation of LPC11U24 requires ACK from host? If yes, what is the ACK format for linux.[/SIZE][/SIZE]
[SIZE=2][SIZE=3][/SIZE][/SIZE]
[SIZE=2][SIZE=3]Thanks in advance.[/SIZE][/SIZE]
[SIZE=2][SIZE=3][/SIZE][/SIZE]
[SIZE=2][SIZE=3]with regards[/SIZE][/SIZE]
[SIZE=2][SIZE=3]Saraswathi C[/SIZE]
[/SIZE] [/LEFT]
0 Kudos
Reply
1 Reply

559 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by saraswathi on Thu Jun 20 04:05:01 MST 2013
I solved the problem.
The interrupt was genearted automtically but not handled at device side. Hence Hardfault was occuring. Hence device was not working after first data transmission.
0 Kudos
Reply