Maker Pro
Maker Pro

STM32 RS232

saripitu

Jul 12, 2011
26
Joined
Jul 12, 2011
Messages
26
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!
 

Digital_Angel_316

Oct 1, 2011
41
Joined
Oct 1, 2011
Messages
41
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!

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.
 
Top