electrodarkness
Member level 1
- Joined
- May 2, 2010
- Messages
- 39
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Location
- Ganesti, Transylvania, Romania
- Activity points
- 1,649
Hello everyone! I'm designing a guitar multi-effect processor with pic32mx460f512l uC in XC32. I'm using AD7476 SPI ADC and MCP4921 SPI DAC. I managed to read and write some values so far from the main program, but when I'm using an interrupt routine for SPI, inside the routine the ADC data exists, outside it is 0. I've tried everything I could think of ( declaring the global volatile, etc.) with no luck so far. This problem is killing me, so any help would be really appreciated!
(I've attached the project files).
(I've attached the project files).