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

RS485 Direction Drive Pin Issue #15

Closed
pldrobot opened this issue Oct 12, 2022 · 1 comment
Closed

RS485 Direction Drive Pin Issue #15

pldrobot opened this issue Oct 12, 2022 · 1 comment

Comments

@pldrobot
Copy link

I have tried to communicate VFD via RS485 with the MAX485 chip. But unfortunately, the controller failed to communicate with the controller due RS485 direction driver pin issue. After several testing, I found a fix. Please review and update the repo.

file lib/grblHAL_Due/src/serial.c

line 402 needs to change as,
return BUFCOUNT(tx2buf.head, tail, TX_BUFFER_SIZE) + !(SERIAL2_PERIPH->US_CSR & US_CSR_TXEMPTY);

@terjeio
Copy link
Contributor

terjeio commented Oct 29, 2022

Fixed recently.

@terjeio terjeio closed this as completed Oct 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants