Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there an approach to connect ethernet (wchnet)? #11

Open
christopherkutzmann opened this issue Apr 25, 2024 · 3 comments
Open

Is there an approach to connect ethernet (wchnet)? #11

christopherkutzmann opened this issue Apr 25, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@christopherkutzmann
Copy link

Hello!
This project is awesome and must be driven forward. I have successfully port my interrupt switch logic from EmbeetleIDE (c) to this format and rust. It is much cleaner and it consumes less current. Now i am facing the final task: to send short mqtt messages from the ch32v307 (CH32V307V-R1-1v0). I already have it working in an Embeetle project in c, but now I want to use ethernet with rust and this embassy. I've already read a lot about embassy-net(-driver/-channel etc.), but haven't found the right solution for me.
I think I can also just include the wch-ethernet library and use it, but I'm really looking for the right way to do it.
Does anyone have an idea or even a solution?

Board: https://github.com/openwch/ch32v307/tree/main/SCHPCB/CH32V307V-R1-1v0
Ethernet example: https://github.com/openwch/ch32v307/tree/main/EVT/EXAM/ETH/MQTT
Ethernet Library: https://github.com/openwch/ch32v307/tree/main/EVT/EXAM/ETH/NetLib

Many thanks,
Chris

@andelf
Copy link
Contributor

andelf commented Apr 26, 2024

Thanks. Ethernet is not implemented yet.
And the EVT seems to have some close source code(the Net lib).
I'll check this after the DMA part is implemented.

@andelf andelf added the enhancement New feature or request label May 13, 2024
@christopherkutzmann
Copy link
Author

Dear @andelf,
I've just looked in again after a few weeks and see that the DMA is making progress.
What is the status of the ethernet example? Please inform us!
Regards, Chris

@jake-g00dwin
Copy link

If needed I can help on this one, I have the same ch32v307 dev board in my parts bin, but most the work I've done has been for the ch32v203 chips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants