Giter VIP home page Giter VIP logo

Comments (4)

mbuesch avatar mbuesch commented on August 19, 2024

Hi. Thanks for your question.

The RX error probably points to a physical problem with the bus, or a baud rate mismatch.

If I remember correctly, then the Raspberry Pi serial can't physically do 45450 Baud.
I would suggest to check the physical baud rate emitted by your Raspberry with an oscilloscope.

Can you reduce the coupler's baud rate to 19200?

from pyprofibus.

Kaz040 avatar Kaz040 commented on August 19, 2024

Hello,

Thank you for your swift reply. I really appreciate it. The pi suuports baudrate higher 45450, I have triend it with pyserial project before and it wokred fine. I think the problem might be from my transceiver. I read somewhere that raspberry pi serial supports only 3.3v but my transceiver is a TTL5v, maybe the pi is reading the data wrongly..... I am checking online on the right tranceiver to buy (for pi and for windows PC). Perhaps if you know of any or have usd any before, please i would be glad if you can suggest them to me.

The coupler only work 45450 baud as a coupler option.
to add. I am interested in the acyclic task, that would be after I get my coulpler working and read the PA device cyclically.

Regards.

from pyprofibus.

mbuesch avatar mbuesch commented on August 19, 2024

Yes, the Raspberry Pi supports baud rates higher than 45450. But it doesn't support 45450 exactly.
That was at least the case last time I tested it a couple of years ago with a Pi 2.
Things might have changed since, though.

from pyprofibus.

Kaz040 avatar Kaz040 commented on August 19, 2024

Thank you for this eye opener, I think you might be right on what you mentioned. I have tried to see if can get an oscilloscope to measure this signal baud but i cannot get any for now. seems my job for now is to be looking to find a way to work this with another device and also find an oscilloscope to read the rpi baud.

I will keep you posted once I get something.

Thank you so much for the response and tips.

from pyprofibus.

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.