Other Parts Discussed in Thread: OMAPL138, SYSBIOS
Hi,
THis should be a simple thing but I have completely failed to find out how to do it: I simply want to start SYS/BIOS Hwi thread from a peripheral interrupt (actually the SPI interrupt, but that is by the by). The manual (spruex3h, page 2-16) says to use the following in the configuration script:
Program.global.hwi0 = Hwi.create(id, '&hwiFunc', hwiParams);
And it says that "id is the interrupt number being defined". That is great, but how do I find out what the interrupt number is for the peripheral I want to use? I tried 43, because this is listed as the interrupt number for SPI1 in the data sheet. This failed to compile because 43 was "out of range". I tried 1, because this is mentioned in the SPI user guide. This failed to compile because "Hwi 1 is already in use".
What am I missing?
Cheers,
John.