Attachments are accessible only for community members.
Anonymous
Not applicable
Oct 22, 2014
12:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 22, 2014
12:27 PM
Hi,
i would like to off-line-filter a sampled array using a FIR-filter, for this i worte a simple code:
Filter_1_Start();
// Enable the interrupt register bit to poll
// Value 1 for Channel A, Value 2 for Channel B
Filter_1_INT_CTRL_REG |= (1 << Filter_1_CHANNEL_A);
for(n=0; n < N_s; n++)
{
Filter_1_Write16(Filter_1_CHANNEL_A, ADC_res
while (Filter_1_IsInterruptChannelA() == 0) ;
ADC_FIR = Filter_1_Read16(Filter_1_CHANNEL_A);
}
But what i've got is a zero-array ADC_FIR = 0
anyone any idea why?
thanks in advance
Hosam
Ps. i attached the Project, see below
the problem is a task in a bigger project, i hoppe, the description is clear enough
Labels
- Labels:
-
PSoC 5LP
3 Replies