STR711 ARM question

Im looking for a device that is capable of generating a pwm signal and is able to accept new values from the usb port.

What I need to do is send a new set of values to the board over a usb connection when the user changes the values. When new values are not coming from the pc, I need the controller to generate the same pwm signal every 20ms.

Will the STR711 header board do this? Will I be able to set it to generate the signal on the controller or would I have to control this with software?

Thanks for the help!

Phil

I found an examples from ST microelectronics. they have solution for acessing SFR, but it is little bit complicated:

you have tree files 71x_conf.h, 71x_map.h and 71x_lib.h

in “conf” file you decoment definitions of names of register blocks, in “lib” file

this definitions is tested like this:

#ifdef _block_of_sfr_you_want_to_use

#include “_file_with_sfr_structures.h”

#endif

finally in “map” file you place structures and vectors on their location in address space. Finally accesing registers is solved by calling functions :shock: :shock: :shock: :shock:

This manner looks to me bit stupid as well str911 have classical definition of registers in single file as other arm CPUs in IAREW.

Have anyone idea what is wrong with str711, that IAR is using this style, or have anyone iodefine of str711 registers in normal way-for example “iostr711.h” ??

Thank You in advance!

Best regards,

Marek