Configuring ADCs and DACs in Arduino Due.

10 años 5 meses antes - 10 años 4 meses antes #22 por JR

Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Por favor, Identificarse para unirse a la conversación.

7 años 5 meses antes #636 por BowDown
Can you offer some more documentation on this code?
For expressions like ADC -> ADC_CDR , we have a pointer to a class object. The class members are ADC_ MR, ADC_CDR, ADC_ISR, ADC_CR, ADC_CHER..

But no matter how long i searched on the internet, i didn't find any information for these class members.
Is there a resource or documentation on this class and in general in the arduino Due ADC handling?

The official arduino due documentation page details the handling of the ADC via analogWriteResolution() and analogWrite(). This is the only thing i could find.

In addition to that can you offer some documentation or link for the dacc_set_channel_selection() and write_conversion_data() functions?

Thanks a lot!

Por favor, Identificarse para unirse a la conversación.

7 años 5 meses antes - 7 años 5 meses antes #637 por Ray
Respuesta de Ray sobre el tema Configuring ADCs and DACs in Arduino Due.
If you want more info about the ADC_ MR, ADC_CDR, ADC_ISR, ADC_CR, ADC_CHER registers, you can have a look to the ATSAM3X8E datasheet , it is a very detailed document (1459 pages) and all these registers are explained there.


In addition to that can you offer some documentation or link for the dacc_set_channel_selection() and write_conversion_data() functions?

There are all explained in the atmel website:
asf.atmel.com/docs/latest/sam.drivers.da...rs__dacc__group.html

Por favor, Identificarse para unirse a la conversación.

Tiempo de carga de la página: 0.107 segundos