A
A
Alexander Gusev2015-06-25 19:42:10
Arduino
Alexander Gusev, 2015-06-25 19:42:10

Working with ADC cygnal c8051f320?

Faced the need to work with cygnal c8051f320. The question arose: how to make this device read the value from the ADC into a variable (in C)?
I looked at the examples from the kit, but something did not reach me. For some reason, frequencies, interruptions are set, in the end I got confused. :(
On an arduino, this can be done in 5 minutes, but then the head is already exploding. :(
Several modes of operation of the ADC at once, the need to set reference voltages, the choice of outputs for reference voltages, as I understand it in the hexadecimal system O_o ...
In general, if possible write down what's what or maybe someone has good links / chewed examples.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Emil, 2015-06-26
@Sanchogus

As far as I remember, Silabs has a wizard-program that produces blanks in C. That is, if you want an ADC - check the box, you need to interrupt - check the box, if you want an external support - check the box, etc. At the end, the program will issue a blank of your program.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question