gopintj
Member level 4
- Joined
- Sep 1, 2010
- Messages
- 77
- Helped
- 4
- Reputation
- 8
- Reaction score
- 4
- Trophy points
- 1,298
- Activity points
- 1,953
Hi all.
I hope someone could clear my doubt.
I wrote a simple c program to determine an USB attach interrupt using PIC24FJ256DA206 microcontroller as host and an SD card reader as device. The real problem is, the program doesnt enter into the USB ISR.
I went through the microcontroller's family manual and C30 compiler manual(which i use to compile my program of the same microcontroller). There i found the below controversial aspects.
In uC manual, they have clearly mentioned that USB is one of the interrupt source. But in C30 compiler manual that too in Interrupt section, they dint give any interrupt vector name for USB interrupt source.
For eg. Interrupt vector number of UART1 Transmit interrupt is 12 which is also mentioned in C30 compiler manual's Interrupt section with its name "_U1TXInterrupt"
In the same way, Interrupt vector number of USB Interrupt is 86, which is also mentioned in C30 compiler manual Interrupt section, but the interrupt name is missing.
Would this be the problem that my microcontroller couldn't enter into Interrupt isr even if i connect a usb device?
I hope someone could clear my doubt.
I wrote a simple c program to determine an USB attach interrupt using PIC24FJ256DA206 microcontroller as host and an SD card reader as device. The real problem is, the program doesnt enter into the USB ISR.
I went through the microcontroller's family manual and C30 compiler manual(which i use to compile my program of the same microcontroller). There i found the below controversial aspects.
In uC manual, they have clearly mentioned that USB is one of the interrupt source. But in C30 compiler manual that too in Interrupt section, they dint give any interrupt vector name for USB interrupt source.
For eg. Interrupt vector number of UART1 Transmit interrupt is 12 which is also mentioned in C30 compiler manual's Interrupt section with its name "_U1TXInterrupt"
In the same way, Interrupt vector number of USB Interrupt is 86, which is also mentioned in C30 compiler manual Interrupt section, but the interrupt name is missing.
Would this be the problem that my microcontroller couldn't enter into Interrupt isr even if i connect a usb device?