Home > other >  Beg kangkang I, a serial port to send can send something, but don't get the corresponding infor
Beg kangkang I, a serial port to send can send something, but don't get the corresponding infor

Time:09-25

Stc15w408as, the code is the inside of the course, software baud rate have tried no, don't get what you want, what could be going on

CodePudding user response:

Don't get what you want is to receive, but the data is wrong? If the data is not just to see what the data is the data, is ASCII? Or a zero?

CodePudding user response:

Receiving interrupt configuration? Kangkang post code

CodePudding user response:

Software checked no problem, try the oscilloscope communication waveform and determine the data sent into single chip microcomputer with consistent data, are better sure why again (software or hardware),

CodePudding user response:

Find the problem is a MCU clock, are not allowed to own the code
  • Related