About MPC8248 USB hardware interrupt

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

About MPC8248 USB hardware interrupt

1,360 次查看
AndrewChou
Contributor I
Hi,
We use the MPC8248 usb controller as a usb host. But I don't know what are the pre-conditions for the usb hardware interrupt to occur.
Firstly,I clear the SIPNR_L[USB] and set the the SIMR_L[USB].And I set he MSR[EE].

Secondly,I set some needed bits(for example,IDLE,RESET,SOF,TXB,TXE1)in USBMR.

Althrough at this time, I haven't registered the ISR with the interruper vector(0b00_1011).

When the borad brings up,and the above conditions are also meet, I think that,if a usb flash disk is inserted to the board, the system should set the SIPNR_L[USB] automatically. Am I true?

If I'm wrong,the software should do something else to let the system set the SIPNR_L[USB].Could you tell me ?

Thanks!
标签 (1)
0 项奖励
回复
1 回复

758 次查看
SimonMarsden_de
Contributor II
Hi Andrew

I think you may have posted your question in the wrong place.

This is a discussion forum about the ColdFire microprocessor range. Your question relates to a PowerPC processor, so you may not find anyone here that can help you.
0 项奖励
回复