Member | Action | Date |
---|---|---|
![]() |
Posted
Help me!a problem about USB interrupt of C8051F34 on
Forum
In the "HIDtoUARTExample" ,I set the bit "OUT2E" to "0" to disable the interrupt of the Endpoint2 output ,as below : POLL_WRITE_BYTE (OUT1IE, 0x01);
But when there is data from Host through USB ,it can still enter into the ISR of OUT2 : if (bOut & rbOUT2) // Handle Out packet received, take { // data off endpoint 2 fifo Handle_Out2 (); }
Can anybody tell me the reason ? |
Oct 28 2017, 1:16 PM |
![]() |
Replied
to
Please help me ! The "HIDtoUART" can't work in C8051F34x
Hi, jmg, Thank you for your answer. |
Oct 28 2017, 1:16 PM |
![]() |
Replied
to
Please help me ! The "HIDtoUART" can't work in C8051F34x
Hi, erikm, I'm so sorry that I don't know "win7pro can't handle .rar". Could you please tell me which form of compressed files should I use ? I think you do not need to wade through 197kb of stuff. Just find out my fault in the code. Anyway, thank you all the same . |
Oct 28 2017, 1:16 PM |
![]() |
Replied
to
Please help me ! The "HIDtoUART" can't work in C8051F34x
Hi, delu, my project named "MyBlinkyExample.rar" is exactly modified from the AN249SW zip file .I'm sure that the original projects can work well respectivly .The only problem is the mistake which I have made in the course of modification from the original projects .But I can not find the mistake by myself . By the way ,the reason why I do this modification is that I need to implement the fuctions of "Frenquency" and "HID to UART" in one project . |
Oct 28 2017, 1:16 PM |
![]() |
Replied
to
Please help me ! The "HIDtoUART" can't work in C8051F34x
Hi,delu,thank you all the same . I'm using the chip of C8051F340 on my develop board and the IDE of KEIL .I find this example in AN249SW (AN249SW\C8051F34x) .So ,I believe the code is OK .But there are some mistakes when I modify the code from "HIDtoUARTExample" to "BlinkyExample" .But I don't know the position of the mistake . |
Oct 28 2017, 1:16 PM |
![]() |
Posted
Please help me ! The "HIDtoUART" can't work in C8051F34x on
Forum
using C8051F320DK Development Kit ,I want to do somethings about HID .So I start with the example named AN249 :Human Interface Device (HID) Tutorials ,which provided by SILABS .I moved the code of "HIDtoUARTExample" to the "BlinkyExample" ,compiled without error or warning .As a result ,the function of "BlinkyExample" can operate well ,but the function of "HIDtoUARTExample" can not work .
|
Oct 28 2017, 1:16 PM |
![]() |
Replied
to
Please help me ! The "HIDtoUART" can't work in C8051F34x
不好意思,我在“中文论坛”里发了一次,又在英文论坛里发了一遍。所以重复了。 期待你帮我解决问题,谢谢。 |
Oct 28 2017, 1:16 PM |
![]() |
Posted
Please help me ! The "HIDtoUART" can't work in C8051F34x on
Forum
using C8051F320DK Development Kit ,I want to do somethings about HID .So I start with the example named AN249 :Human Interface Device (HID) Tutorials ,which provided by SILABS .I moved the code of "HIDtoUARTExample" to the "BlinkyExample" ,compiled without error or warning .As a result ,the function of "BlinkyExample" can operate well ,but the function of "HIDtoUARTExample" can not work . Please help me to find the problem .I just know that the firmware can't enter the interrupt of ENDPOINT IN2 and OUT2 ,just like below : if (bIn & rbIN2) // Handle In Packet sent, put new data
But I don't know the reason .
|
Oct 28 2017, 1:16 PM |