Jump to content
43oh

atomsoft

Members
  • Content Count

    15
  • Joined

  • Last visited

  • Days Won

    1
  1. No problem. I have a F0 board as well. Ill try with that one. I use the CP2102 for USB to UART... its cheaper and works just as good if not better I know this doesnt apply here but since its apart of the GRBL: http://www.indiegogo.com/AtomCNC?a=776492&i=wdgi
  2. great question. I was waiting for someone to ask that. Its just controlling the AVR... but i do have plans to port the GRBL to this ARM board.
  3. More info will be posted here. Its basically a control for a cnc machine using GRBL as the controller. http://www.shapeoko....70&p=2960#p2960
  4. Yeah, ive been using Dorkbot through email for months already... first time using the site ...
  5. Ah ok i had to make sure. Yeah i do dabble in it but very little. I have a raspberry pi coming in soon too! So expect me to post on that also
  6. Looks pretty cool but only 48MHz i like the STM32F4 since it can reach 168MHz
  7. Yeah, but i ordered about 2 weeks ago and got 1 set out of 2 in the mail today slower than usual.
  8. Thanks guys, 1st... liter.. you are 100% right Best quality for price 2nd... bluehash... ill be sure to add the links... just been going nuts back and forth...then lunch ... BB is BeagleBoard ?
  9. void ConfigUSART2(uint32_t BAUD, uint32_t apbclock) { uint32_t tmpreg = 0x00; uint32_t integerdivider = 0x00; uint32_t fractionaldivider = 0x00; RCC->APB1ENR = (1 << 17); //Enable USART2 Clock GPIOD->MODER |= (2 << 10); //Setup TX pin for Alternate Function GPIOD->MODER |= (2 << 12); //Setup RX pin for Alternate Function GPIOD->AFR[0] |= (7 << 20); //Setup TX as the Alternate Function GPIOD->AFR[0] |= (7 << 24); //Setup RX as the Alternate Function USART2->CR1 |= (1 << 13); //Enable USART integerdivider = ((25 * apbclock) / (2 * (BAUD))); t
  10. #include <stm32f4xx.h> #define ALL_GPIO 0x1FF #define LED 15 void main(void) { RCC->AHB1ENR = ALL_GPIO; GPIOD->MODER |= (1 << (LED * 2));//OUTPUT GPIOD->OSPEEDR |= (0x02 << (LED * 2));//50MHz GPIOD->PUPDR &= (0x03 << (LED * 2)); //Set it for NO PUPD GPIOD->BSRRL |= (1<<LED); while(1) { } }
  11. /********************************************************************** GPIO Mode Register - GPIOx->MODER 00 = INPUT 01 = OUTPUT 10 = ALTERNATE FUNCTION 11 = ANALOG Example: Make LED pin output **********************************************************************/ #define LED 3 GPIOx->MODER |= (1 << (LED * 2)); //Set to Output /********************************************************************** GPIO Type Register - GPIOx->OTYPER 0 = PUSH-PULL (default) 1 = Open Drain Example: Make LED pin push-pull type ********************************************************
  12. Hi everyone, the names Jason aka AtomSoft. I have a blog: http://atomsoft.wordpress.com I also have a online shop: http://atomsofttech.com I originally found this forum because someone linked to my site from here. While im not a professional at all i do know a ton of stuff and hope to learn more. While here i plan to learn (ask questions) and help out (answer questions). I know a but about everything from... ARM, PIC, (very little AVR) For ARM i only use C... for PIC i use ASM & C, AVR (C only) So just dropping in to say hello and introduce myself
  13. Thanks for linking to my site and the comment This forum looks cool so far. Im going to be here more often i suspect
×
×
  • Create New...