Jump to content

need help with programming skr mini e3 v1.2


Recommended Posts

Hi,

I'm trying to reprogram a skr mini e3 v1.2 for a university project. I want to try to reuse this board for a robot. Having some experience with arm based microcontrollers from NXP i thought this would be quite straight forward, however this is not the case. As a start i tried to turn on the status led on the board. 

#include "stm32f10x.h"


int main(void){


RCC->APB2ENR |= (1<<2);
GPIOA->CRH |= (1<<28);

	while(1){
	
		GPIOA->BSRR = (1UL<<15);


	}	



}




is use the ARM Keil Uvision IDE for programming together with a st-link v2. i am able to upload this code but it does not doe with i want it to do. am i doing something wrong?

 

Thomas

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...