2012-09-13 10:10 AM
I apologize
right now
for my English
.I purchased a
STM32VLDISCOVERY
and
unsteval
-
mki0+2
v2
both
st
microelectronics.
I tried the
program
that is given
with the second
component, and
seemed very
nice.
Wanted
hours
interfacing the
STEVAL
-
mki062v2with
the
STM32VLDISCOVERY
so that
,for
example
,if the
sensor has a
temeprature
of
more than 30
degrees
turns on
an LED
,if
not
remains off
.How do I do
or where I can
find material
with explanations
?Thanks
for your help
#c++-programming-st32-tutorial2012-09-13 03:04 PM
The STEVAL comes with an on board F103 processor and LED. Will that serve your purpose ?
If you really want to use the Discovery, investigate an SPI to SPI interface between STEVAL and Discovery. Cheers, Hal2012-09-14 07:22 AM
I noticed that the
STEVAL
already
mounted
an LED.
But I
'd like to dowith the
discovery.
So could you
tell me
the guides
to get started?
And what is it SPI to SPI?2012-09-14 11:49 AM
You are trying to connect two independent ST products. Look through the iNEMO forum posts, perhaps someone has done something like this already.
Failing that, first read the STEVAL user manual. I believe it describes an SPI interface connector on the board you can wire to an SPI on the Discovery. Then read the STM32F103 Reference Manual on how to use the SPI interface. A simpler approach might be to use just one of the SPI pins in GPIO mode wired to a GPIO pin on the Discovery. If controlling a LED is all you want to do, that will be sufficient. But is you wish to do more and need to transfer data between the two, SPI can do that. Then read the Discovery user manual to pick an available SPI or GPIO connection, and the Discovery processor reference manual on SPI or GPIO on how to sense the signal(s) from the EVAL. Then you need to code two applications, one in the EVAL F103 processor to sense temperature and send a signal to Discovery, and one in the Discovery processor to sense the signal and illuminate the LED. And you may have to figure out how to troubleshoot communication between the two processors. Simple, no ? Cheers, Hal2012-09-15 06:16 AM
Look
I'm not very
expert on
microcontrollers (
Arduinoare
practical
only
).I
need
that when
the
STEVAL
we
measure
a
temperatra
greater than 20
degrees
face
turn on
an LED on the
discovery
.
Otherwise
they
let us
accandere
another.
Could you tell me
where I can find
the
manual
STEVAL
?
2012-09-15 08:15 AM
On the same page where you select the STM32 Discovery forum, there is a list of public forums on the right. Click on the Microcontrollers arrow to expand the menu, then select iNEMO MEMS. This will take you to a page with links to all STEVAL information.
Cheers, Hal