Connect with us

STM32 RS232

Discussion in 'Microcontrollers, Programming and IoT' started by saripitu, Aug 12, 2011.

Scroll to continue with content
  1. saripitu

    saripitu

    26
    0
    Jul 12, 2011
    Hello, I finally got my STM32-P103 running but I want to make a code that detects where there is some data coming in from the RS232 port or not, so the idea is to make the LED flash any time there is a message coming in.
    At the moment Im just re-writing the main.c file from the example file that make the LED flash.

    Any help would be welcome! thanks!
     
  2. Digital_Angel_316

    Digital_Angel_316

    41
    0
    Oct 1, 2011
    This looks like a nice development/prototype board. I found the documentation
    on the board (and the processor) at:
    http://www.olimex.com/dev/pdf/ARM/ST/STM32-P103.pdf
    http://pdf1.alldatasheet.com/datasheet-pdf/view/201599/STMICROELECTRONICS/STM32F103RBT6.html

    I believe the WKUP and other related I/O pins are software programmable to
    interrupt on edge detection. This interrupt would alert the software to respond,
    and the Interrupt Service Routine (ISR) could blink the LED.
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-