Jump to content
43oh

Search the Community

Showing results for tags 'STM32F4'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • Announcements
    • Suggestions
    • New users say Hi!
  • Spotlight!
    • Sponsor Spotlight
    • Sponsor Giveaways
  • Energia
    • Energia - MSP
    • Energia - TivaC/CC3XXX
    • Energia - C2000
    • Energia Libraries
  • MSP Technical Forums
    • General
    • Compilers and IDEs
    • Development Kits
    • Programmers and Debuggers
    • Code vault
    • Projects
    • Booster Packs
    • Energia
  • Tiva-C, Hercules, CCXXXX ARM Technical Forums
    • General
    • SensorTag
    • Tiva-C, Hercules, CC3XXX Launchpad Booster Packs
    • Code Vault
    • Projects
    • Compilers and IDEs
    • Development Kits and Custom Boards
  • Beagle ARM Cortex A8 Technical Forums
    • General
    • Code Snippets and Scripts
    • Cases, Capes and Plugin Boards
    • Projects
  • General Electronics Forum
    • General Electronics
    • Other Microcontrollers
  • Connect
    • Embedded Systems/Test Equipment Deals
    • Buy, Trade and Sell
    • The 43oh Store
    • Community Projects
    • Fireside Chat
  • C2000 Technical Forums
    • General
    • Development Kits
    • Code Vault
    • Projects
    • BoosterPacks

Calendars

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Location


Interests


Sparkfun


Github

Found 21 results

  1. I'm looking to drive an 800x480 LCD using an STM32F429 and the STemWin graphics library, due to the other peripherals needed from the chip, the SDRAM will most likely be limited to 16-bit. Could this be a serious performance bottleneck? And are there examples of this setup working effectively?
  2. Dear Devs, I've been working with the STM32F4 Discovery board for a couple of weeks now. I've successfully used its USB Device library to connect the board into the PC by creating a custom class. In fact I modified a VCP example and made it a custom class. I used LibUSB to generate the host side application using MFC applications. I tried bulk transfers, interrupt transfers, basic setup transfers and they all worked perfectly. The issue came to me when I tried to make a bulk loop. That is within the firmware I will read the OUT packet and save the data in the Tx buffer and send it back
  3. Hello, I just started recently to test my stm32F4 with RX/TX communication. I tried for the first time the ChibiOS on it and the demo was a success. But now, I'm trying to use USART_SendData to send data, and here comes the problem: when I use Cutecom, I receive always some hex codes and not what I need to see (in my case: 'A'): Here are the hex codes I always receive : \0x1c\0xfc Here is a hint of my main.c /* USART Configuration */ USART_Configuration(); USART_SendData(USART2, '5'); I tried to change the ChibiOS exemple, and it succeeded: chprintf((BaseChannel *)&
  4. Hello, just want to know how many of you have the STM32 discovery kit. I currently have the STM32F0. Other than the floating point capability, what advantage does the F4 kit have over the F0?
  5. Hi, I have an STM32F4 Discover for about a month now, its the first microcontroller I ever used and I started to wonder if it was a good choice. For the money I payed (13€) it was definitely worth it, but I find it quite hard to program. I have a strong background in math and programming and I'm usually pretty good at figuring things out, but that nut is hard to crack for me. I got the summon-arm toolchain installed easily on linux, I got stlink working without a problem, but I didn't manage to configure eclipse to work with the ST Library. I tried several other things like libopencm3, chi
  6. Hello, I have the STM32F4 kit and was wondering if anybody has interfaced theirs to a smartcard.
  7. The board has micro-SD card, USB host, USB-OTG,all ports break out on connectors and ARDUINO platform connectors. MAPLE support for F4 is on the way, so this board will be one powerful Arduino alternative
  8. Well hello, this forum seems to be new (??) but you guys seem to be hanging out here quite a lot. I guess I am dumb... I have been trying to get my programming environment running for a .... long time by now. Each time i tried it did end up in frustration and I didnt touch it for a few month. I have got several STM32VLDISCOVERY - Bords and a STM32F4DISCOVERY - Board. My latest attemp was to setup eclipse with codesourcery, compile fof the SMT32F100 and debug with ST-Link (linux). Setting up codesourcery and eclipse is not a problem, but i never get the projects right. I end up havin
  9. I can now talk to my ADC on my discovery kit. Are there any examples out there to use DMA? I'll try coding it up, but any help is appreciated.
  10. 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
  11. I'm not sure why he used a bunch of adapters instead of a single USB micro-usb B to a Type A female. Here it is anyway.
  12. Looking to what to do with my Discovery kit( not forgetting my Stellaris kit), came across this nice design of using a master 8x8 rgb block to control similar blocks around it. It is driven by a STM32F4105 microcontroller. Below is another project inspired by it:
  13. Not much details on the code, but the very fact that it can do ~30fps on a 320x240 LCD is impressive. I'm not sure of the resolution of the lcd, but it sure looks like 320x240. Move plays through an sd card. More description at the guy's webpage here.
  14. 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
  15. #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) { } }
  16. /********************************************************************** 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 ********************************************************
  17. Thomas Jesperson's twitter account just popped this project up.He was kind enough to share his project when someone asked for it in the comments. The STM32F4 kit connects to the ENC28J60 via spi. More interesting reviews at Thomas' page.
  18. Found over at youtube. Backup of the code is below in case the site it's hosted on goes down.
  19. Found this in my STM32 adventures. Keeping it here if anyone finds it useful. He has some more cool stuff. Check out his site. USART_2_STM32F4_Discovery.txt
  20. Sorry guys, me again with my questions. According to my previous thread, i have eclipse and code sourcery compiling my led project fine. I installed gdbserver using steps from this link. When I click "Run external tools->gdbserver" I get the following. I'm close, yet far. . I'd be thankful for any help.
  21. Hello, I just finished creating an environment for my STM32F4 kit using code sourcery over eclipse using this tutorial. I however get the following error when I compile the LED blink project. main.c:68: undefined reference to `RCC_AHB1PeriphClockCmd' main.c:77: undefined reference to `GPIO_Init' main.c:78: undefined reference to `GPIO_Write' I made sure I included all the include files in the "path and symbols" section in eclipse. Am I missing anything? Thanks for reading.
×
×
  • Create New...