This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Dear TI,
I am trying to port the CC3000 driver to the Microblaze soft-core FPGA. I am using the MSP430 blocking driver from the home automation application as my starting point. I appreciate the driver porting guide and detailed information on the wiki site. My port is not working and I am thinking it is related to handling the IRQ line from the CC3000. In the following three instances, I was confused on how the IRQ was handled:
In SPI IRQ - I don't see the interrupt cleared, I don't see the interrupts disabled when entering the IRQ and then enabled when leaving the IRQ. Please advise what the steps for the handling of the interrupt are?
In sWlanInterruptEnable – Should I disable interrupts, clear pendings, then enable?
In sWlanInterruptDisable - Again should I clear pending then disable?
Any more insight you can provide on where and when to clear pending interrupts,enable interrupts, and disable interrupts would be appreciated.
Sincerely,
Jason
Hello Jason
First of all I would suggest you using the latest CC3000 Host DRiver from basic WiFi application (http://processors.wiki.ti.com/index.php/CC3000_Wi-Fi_Downloads#CC3000.2BMSP430_FRAM_Downloads).
On top of that the interrupts are cleared by entry into the ISR (this is MSP specific behavior).
Nesting is not possible also on MSP so no need to protect from interrupts.
Regarding hte clearing enabling/disabling interrupts it is implementation specific, but the rule of thumb is that you must not arrive to the situation where you miss an interrupt, so probably you would like to define the interrupt as level...
Regards
Igor