Git Product home page Git Product logo

Comments (4)

aster94 avatar aster94 commented on May 31, 2024

Hi @jscottb feel free to improve the LA as you wish! just, if you made any changes in one of the board in Microcontroller_Code please bring the same changes also to the other boards, otherwise it will be incompatible!

Edit: the only change I am not completely sure is the one about the baudrate, some board may have problems, which speed was you considering?

from logic-analyzer.

jscottb avatar jscottb commented on May 31, 2024

Sure will. I will be adding a board as well. The GD32V Risc-V. I'm using the LilyGo GD32V board for now, but I think I'll make a dedicated LA board for it at some point. The controller changes should be easy to roll in. I will clone the repo sometime soon and do that.

The baudrate change... Sorry I did not explain that well at all.
The way it will work is: The GUI and the LA board will connect at the standard 115k base. The GUI will query the LA for it's info and that will include the running rate that the board wants to do sampling at. This can be lower, higher, or the same as the start baudrate. If the queried rate is different than the starting rate, then the LA board disconnects and reconnects at the rate it wants and the GUI does the same. It took a little code restructuring and handshaking, but I have this working in the new GUI with the Giga 32 board. It asks for a 230400 rate. This can be used for raising or lowering from the standard 115k.

Thanks.

from logic-analyzer.

aster94 avatar aster94 commented on May 31, 2024

The way it will work is: The GUI and the LA board will connect at the standard 115k base. The GUI will query the LA for it's info and that will include the running rate that the board wants to do sampling at. This can be lower, higher, or the same as the start baudrate. If the queried rate is different than the starting rate, then the LA board disconnects and reconnects at the rate it wants and the GUI does the same. It took a little code restructuring and handshaking, but I have this working in the new GUI with the Giga 32 board. It asks for a 230400 rate. This can be used for raising or lowering from the standard 115k.

Still I don't think that the improvements will pay for the code complexity, but it's your choise, but it will surely pay off if you are planning to make a new "mode" in which the LA works in real time

actually if I had time to come back to this project the first things I would like to change is the selection of the serial port directly from processing, choosing it from the code is quite cumberstone

btw: which core are you using for your GD32 board?

from logic-analyzer.

jscottb avatar jscottb commented on May 31, 2024

I have added it to a button that can wheel through the list returned from Serial.list() This is only if it can't find the one set in the code. I may add some code to save settings, including the serial port last used, and start with it as the default port.

I'm using the Giga devices GD32V framework.

from logic-analyzer.

Related Issues (9)

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.