How to enable the USB ISO transfer on KL26 MCU?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to enable the USB ISO transfer on KL26 MCU?

1,209件の閲覧回数
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.

ラベル(1)
0 件の賞賛
返信
1 返信

1,150件の閲覧回数
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 件の賞賛
返信