more than likely the problem is 4-bit mode… my tests show that after each command it sends, it gets back a status byte, and sometimes the two 4-bit nibbles are in the wrong order, so depending on the cursor address, MIOS thinks it stays busy until a timeout is reached.
I’ve written a custom LCD driver that uses 8-bit mode by using two pins on port E to replace the two pins being used by the CAN… you’ll need to add wires and ensure D0 and D1 are still connected to port B pins, and D2 and D3 connect to port E1 and E2.
Thank you Wilba. You known that I asked you for this driver, but not directly.
When I see (one minute after I post my problem) that you read this, I get relax.
OK- now I will check, I hope no more “questions” will be - only “thanks”…
… after 3 hours tryings, of course with removed gound on D0-D3, and done all needed connections. Unfortunatelly the effect is the same.
I will try to change driver, if you give me a link for datasheet of your pled Wilba then I will compare differences - maybe it “give me some inspiration” - like said T.K oneday.
My vfd sometimes work for 3 seconds intensive with changing patches fast for egz., sometimes initialize failure… I feel that it is possible to get it work, but I can`t find where is problem.