How to enable the USB ISO transfer on KL26 MCU?

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

How to enable the USB ISO transfer on KL26 MCU?

510 Views
2743294708
Contributor I

I have crated a project of USB audio, and confued by a question.

The question is that the USB device can't receive the ISO data, while the control transfer works well.

Further debug, it is found that the deivce doesn't generate the interrupt(within the funtion 'USB_DeviceKhciInterruptTokenDone()') while the host send out the ISO data.

Would you show me the key design point about how to perform the ISO function? Such as:

1. check whether the usb config descriptor is correctly;

2. check whether the USB interrupt is enabled;

3. check whether the endpoint TX and RX interrupt enabled;

4. check whether the endpoint BDT is set correctly;

My project code is written based on the demo "FRDM-KL26Z_KEIL\usb_device_composite_hid_audio_lite".

Thanks.

Labels (1)
0 Kudos
1 Reply

451 Views
2743294708
Contributor I

Question resolved.

The reason is that the ISO endpoint is not initialized correctly.

The OWN bit of the ISO endpoint's BD should be set '1'. If not, the USB SIE can't update BD, and can't set the TOK_DNE interrut.

Thanks.

0 Kudos