[En-Nut-Discussion] Analog Input

Andre Riesberg andre at riesberg-net.de
Thu Sep 10 16:13:40 CEST 2009


Daniel wrote:

>Andre Riesberg schrieb:
>  
>
>>[Snap]
>>
>>  
>>    
>>
>>>Hi André,
>>>
>>>Each of the values under "ADC Driver" and "ADC Driver" itself are enabled.
>>>
>>>Daniel
>>>_______________________________________________
>>>http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>>>
>>>
>>> 
>>>
>>>    
>>>      
>>>
>>Hi Daniel,
>>
>>I have set:
>>Buffer Size = 16
>>Inital Channel = ADC0
>>Initial Reference = AVCC
>>Initial  Mode = FREE_RUNNING
>>Initial Prescale = ADC_PRESCALE_DIV128
>>
>>and it works fine. (I use your sample program)
>>
>>I use AT90CAN128, but I think this is not a big difference.
>>
>>So, try my settings first.
>>I know you have shorten pin 1 and 2 of connector J6. Please check the 
>>AREF Pin (62) at the CPU. Here you must have +5V.
>>Next check PortF is define as input.
>>Doublecheck the generated code form Nut/OS Configurtator: Up to date? 
>>correct CPU?
>>
>>Greeting
>>Andre
>>
>>
>>_______________________________________________
>>http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>>
>>  
>>    
>>
>Hi Andre,
>
>Thanks for the info. As I wrote in the last mail I made it work fine 
>with the default settings.
>I only used the false pins at the onboard-connector due to the datasheet 
>is a little bit confusing to me.
>
>Daniel
>_______________________________________________
>http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>
>
>  
>
Hi Daniel,

perfect!

Greetings
André



More information about the En-Nut-Discussion mailing list