- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello community,
I´m using a CY8C29466 to read some analog signals, communicate via UART and SPI and make a timer.
I´m using interrupt for the Uart´s, SPI and timer. Everithing work fine, until I enable the AD. If it execute the commands:
AD_14bits_Start(AD_14bits_HIGHPOWER);
AD_14bits_StartAD();
none of the interrupts work. Has someone experienced something like this? Could it be some configuration?
I would appreciate some help.
Regards,
Michel
- Labels:
-
PSoC 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Michel,
This may shed some light on your problem.
www.planetpsoc.com/component/content/article/57-psoc-1-adcs--the-five-golden-rules.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all,
Thanks for the link Terrence.
I´ve found the problem, but it seems a little strange to me. I´ve made a mistake and called a ISR from the delta_sigmaINT.asm.
The ISR is of another module, and when I enabled the AD, everything stopped working. I suppose the interrupt calling was breaking my program. I hadn´t enable the AD interrupt, so I found this behavior strange. Is it coherent?
Thanks,
Michel