can ACK package make a interrupt in MC9S08JM60 USB?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

can ACK package make a interrupt in MC9S08JM60 USB?

跳至解决方案
904 次查看
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 解答
751 次查看
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 回复数
752 次查看
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 项奖励
751 次查看
wangbaode
Contributor IV

Hi Vicente,

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

bye

0 项奖励