cancel
Showing results for 
Search instead for 
Did you mean: 

PWM motor with uClinux on STM3210E-EVAL

hervieux
Associate II
Posted on February 26, 2010 at 14:37

PWM motor with uClinux on STM3210E-EVAL

8 REPLIES 8
eagles8601
Associate II
Posted on May 17, 2011 at 13:41

Hello,

You will need to write a tiny char driver to access device from userland applications, to get access to registers definition and stm32 standard library functions you can include <asm/arch/stm32f10x_conf.h> header file.

good luck.

hervieux
Associate II
Posted on May 17, 2011 at 13:41

Hello,

Thank you for your reply abdelhamid.ghith

.

It confirms what I thought.

Now, if someone has already done the same thing I'm doing (on uClinux STM3120E_EVAL), he doesn't hesitate to make comments to me.

Thank you for everything!

hervieux
Associate II
Posted on May 17, 2011 at 13:41

Hi,

I'd like to inspire drivers previously created (the gpioFx for uClinux on this board). So, my question is :

where are these drivers ?

Also, we are forced to write a ''make file'' to send files on the board ?

Thank you for your help !

stream77
Associate II
Posted on May 17, 2011 at 13:41

Salut Cedric,

Je suis entrain de devolopper sur une carte d'evaluation STM3210C basee sur STM32F107VC. Je n'arrive pas a faire la config pour la CLK et les GPIO afin de faire flacher une LED sur le board! Peux-tu m'envoyer un example de configuration des CLKs et des GPIO?

Je te remercie d'avance.

Hal.

hervieux
Associate II
Posted on May 17, 2011 at 13:41

Salut Hal,

En gros, toutes les configurations sont à faire dans les fichiers de registres. Tu trouveras beaucoup plus d'informations en détail sur le manuel utilisateur (RM0008).

Je t'envoie tout de même un fichier comme exemple.

Bon courage et bonne change 😉

Petite traduction pour les autres :

Small translation for others:

Hi,

Basically, all configurations are done in the registry files.

You will find more detailed information on the user manual (RM0008).

I send you file as an example.

hervieux
Associate II
Posted on May 17, 2011 at 13:41

Hi,

If someone has already developed a driver (character mode) Linux (for the board STM3210E-eval or not), I would like information and / or advice.

Thank you in advance!

eagles8601
Associate II
Posted on May 17, 2011 at 13:41

Hello Cédric,

You can take a look at AN3012, section how to add a new device driver: 

http://www.st.com/stonline/products/literature/an/16051.pdf

.

>> ''we are forced to write a ''make file'' to send files on the board ?''

A Makefile is needed to build new sources files, you need to update current Makefiles.

Driver for gpioFx is under drivers/char folder.

Regards.

hervieux
Associate II
Posted on May 17, 2011 at 13:41

Hi,

This information will save valuable!

Thank you very much for your help.

Hervieux Cédric