Coder Social home page Coder Social logo

Comments (11)

stevstrong avatar stevstrong commented on July 26, 2024

I am investigating the issue.

from arduino_stm32.

xtream123 avatar xtream123 commented on July 26, 2024

Thank you.

from arduino_stm32.

stevstrong avatar stevstrong commented on July 26, 2024

I just tried Serial and Serial 1, I switched back to Arduino 1.8.9. but the issue remained.
So it seems that it is something core related and not Arduino (board or platform settings) related.

What I have observed is:

  • the first bytes is transferred to the TDR register, but no TXE flag is set at the end
  • the voltage level on the Tx pin is 1V, this is really strange

from arduino_stm32.

xtream123 avatar xtream123 commented on July 26, 2024

I just also want to add that in the official core (from ST) only up to Serial3 is working when I tested on it but in your core all serial is working(as I have mentioned in the forum).
I will test now in 1.8.9 using Serial and Serial1 only to see if its also happening on me.

For your observation:

  1. I don't have any idea on this since I do not go very deep in the registers.
  2. When does it happen?while the mcu hang? I will check on this voltage level.

from arduino_stm32.

xtream123 avatar xtream123 commented on July 26, 2024

I tried serial and serial1 in 1.8.9 and it worked for me.

the voltage level on TX pin (PA9 is 3.27V)

from arduino_stm32.

stevstrong avatar stevstrong commented on July 26, 2024

Can you please share your working BIN file? I may have a faulty board.

from arduino_stm32.

xtream123 avatar xtream123 commented on July 26, 2024

ok I will upload it.

from arduino_stm32.

xtream123 avatar xtream123 commented on July 26, 2024

allSerialTest.ino.txt

Serial and Serial1 is working on that file.
Note change the file extension to ".bin"

from arduino_stm32.

stevstrong avatar stevstrong commented on July 26, 2024

I just pushed the commit ecd8e7d which should resolve the issue, please check out the whole repo again.

from arduino_stm32.

xtream123 avatar xtream123 commented on July 26, 2024

Thanks. I will take a look at it later and send some feedback on you.

from arduino_stm32.

xtream123 avatar xtream123 commented on July 26, 2024

hi @stevstrong , I tested your core and it worked(Serial1 to Serial6 and USB Serial at the same time) with 1.8.9 and 1.8.10 perfectly. Thank you very much.

from arduino_stm32.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.