Hi code wizards (or warriors), I still haven't got my GPIO interrupt sorted using the 56F805EVM board and CW. I use the code below but I must miss something as it is not doing what I expect. I expect it to end up in the routine dirISR but it never gets there. I have tried using the software interrupt but got the same sad result. Any help would be appreciated. Many thanks, Manfred gpioPortB = open(BSP_DEVICE_NAME_GPIO_B, NULL); archInstallISR(&(pArchInterrupts->MpioB), dirISR); ioctl(gpioPortB, GPIO_SETAS_GPIO, gpioPin(B,4)); ioctl(gpioPortB, GPIO_SETAS_INPUT, gpioPin(B,4)); ioctl(gpioPortB, GPIO_INTERRUPT_ENABLE, gpioPin(B,4)); |
|
GPIO interrupts: still no fun
RE: [motoroladsp] GPIO interrupts: still no fun
Did you try going to appconfig.h and raising the interrupt priority level above 0??? Jerry. -----Original Message-----
Hi code wizards (or warriors),
Any help would be appreciated. Many thanks,
gpioPortB = open(BSP_DEVICE_NAME_GPIO_B, NULL); archInstallISR(&(pArchInterrupts->MpioB), dirISR); ioctl(gpioPortB, GPIO_SETAS_GPIO, gpioPin(B,4));
_____________________________________
_____________________________________
To Join: m...@yahoogroups.com To Post: m...@yahoogroups.com To Leave: m...@yahoogroups.com Archives: http://www.yahoogroups.com/group/motoroladsp More Groups: http://www.dsprelated.com/groups.php3
" TARGET="_blank">http://docs.yahoo.com/info/terms/ ________________________________________________________________________
________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information visit http://www.messagelabs.com ________________________________________________________________________ |