2290 views|4 replies

3

Posts

0

Resources
The OP
 

MFC opens the serial port, and the stm32 microcontroller stops running [Copy link]

I wrote a program that sends data to the serial port after pressing a stm32 button, and uses MFC to read the serial port data; but when MFC opens the serial port connected to the microcontroller, the microcontroller stops running (the indicator light is on during normal operation, but it goes out when the serial port is opened, and it will recover after turning off the mfc). Is there any expert who can point out the reason or possible error direction? Thank you very much
This post is from stm32/stm8

Latest reply

Unplug it and try again. I've encountered this before.  Details Published on 2017-12-12 21:48
 

151

Posts

0

Resources
2
 
There is no interrupt function defined. Is there any data sent when MFC is turned on?
This post is from stm32/stm8
 
 

3

Posts

0

Resources
3
 
jeansonm posted on 2017-12-12 17:28 There is no interrupt function defined. Is there data sent when MFC is turned on?
The microcontroller has an interrupt function, but it is just an add function. In order to facilitate debugging
This post is from stm32/stm8
 
 

1

Posts

1

Resources
4
 
Unplug it and try again. I've encountered this before.
This post is from stm32/stm8
 
 
 

3

Posts

0

Resources
5
 
There are two possible reasons: 1. Handshake protocol; 2. USB serial port power supply. I am trying it. Thanks for your answers.
This post is from stm32/stm8
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list