can ACK package make a interrupt in MC9S08JM60 USB?

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

can ACK package make a interrupt in MC9S08JM60 USB?

ソリューションへジャンプ
859件の閲覧回数
wangbaode
Contributor IV

hi everyone,

I'm using USB module of Mc9S08JM60 .I have two questions.

1, if Host send an ACK package,does device make a interrupt ?

2, How to send an ACK package to host in MC9S08JM60?

ラベル(1)
タグ(4)
0 件の賞賛
1 解決策
706件の閲覧回数
vicentegomez
NXP TechSupport
NXP TechSupport

Hi Wang

I found that you have asked here, I know that you already sold the problem, but I want to document it, so here is my answer

The ACK is handled by SIE of USB and it does not need the intervention of firmware.

Bit TOKDNEF in Interrupt Status Register(INTSTAT) will be set when the current transaction is completed.

And an interrupt is generated if TOKDNE is set. Then the firmware can read the STAT register to determine the endpoint and BD information.


Have a great day,
Vicente

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
707件の閲覧回数
vicentegomez
NXP TechSupport
NXP TechSupport

Hi Wang

I found that you have asked here, I know that you already sold the problem, but I want to document it, so here is my answer

The ACK is handled by SIE of USB and it does not need the intervention of firmware.

Bit TOKDNEF in Interrupt Status Register(INTSTAT) will be set when the current transaction is completed.

And an interrupt is generated if TOKDNE is set. Then the firmware can read the STAT register to determine the endpoint and BD information.


Have a great day,
Vicente

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
706件の閲覧回数
wangbaode
Contributor IV

Hi Vicente,

Thank you . According to the document, It's not a problem for me.

bye

0 件の賞賛