Hi All
I have a strange problem here in ADS1298 ; please guide me to know what is going on .
I am using the ,nternal master clock .
I set sampling rate with high resolution mode to 8ksps; but I get 16ksps!
I can set CONFIG 1 to 0x82 ; I read back with ID it is all ok .
I set a counter in the interrupt to counter DRY pulses I get 16000 pulse !
void EXTI0_IRQHandler(void)
{
static unsigned int i,k=0;
if(EXTI_GetITStatus(EXTI_Line0) != RESET)
{
i++;
if(i==16000)/// to toggel the led for 1 second !
{
i=0;
toggle_led_1();
}
/* Clear the EXTI line 0 pending bit */
EXTI_ClearITPendingBit(EXTI_Line0);
}
}
Thank you in advanced
Hector