Forum : ARM
Original Post
Post Information | Post |
---|---|
May 1, 2008 - 11:30am
|
hi, GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; while(1) |
Forum : ARM
Post Information | Post |
---|---|
May 1, 2008 - 11:30am
|
hi, GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; while(1) |
I am not quite sure, but I believe that, for the STR50, you must probably configure the clock (there is something like a 'clock enable' gate for each peripheral, and each IO block).
See the SDC_STR750 example:
MRCC_PeripheralClockConfig(MRCC_Peripheral_ADC | MRCC_Peripheral_GPIO, ENABLE);
Hi,
I suggest you give a try at this example:
c:\program files\raisonance\ride\examples\ARM\TEST\testR7.rprj
This example, that makes the LEDs blink, works on all ARM REva boards. You just need to change the target to STR75... (by default it is configured for STM32) and recompile it.
Then you can duplicate the example and remove the #if's that are for other devices and you will have a good starting point for your application.
Best Regards,
Vincent