We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I am using STC15W408AS, code downloading from STC-ISP working fine everytime, but in my project's code UART1 never transmit or receive single byte, I tried several examples/chips but same failure occurs. Is there is any solution. Code is [at:] (https://electronics.stackexchange.com/questions/736307/stc15w408as-uart1-not-sending-receiving-data?noredirect=1#comment1958985_736307) I think this is problem in chips.
The text was updated successfully, but these errors were encountered:
The reason is the same as here: #105 (comment). Try to replace these lines
TL1 = (65536 - (FOSC/4/BAUD)); TH1 = (65536 - (FOSC/4/BAUD))>>8; TR1 = 1;
to
T2L = (65536 - (FOSC/4/BAUD)); T2H = (65536 - (FOSC/4/BAUD))>>8; AUXR |= 0x15; // T2R, T2x12 and S1ST2
Sorry, something went wrong.
Thank you very much for your kind help, I didn't find anyone for help except you.
No branches or pull requests
Hello,
I am using STC15W408AS, code downloading from STC-ISP working fine everytime, but in my project's code UART1 never transmit or receive single byte, I tried several examples/chips but same failure occurs.
Is there is any solution. Code is [at:]
(https://electronics.stackexchange.com/questions/736307/stc15w408as-uart1-not-sending-receiving-data?noredirect=1#comment1958985_736307)
I think this is problem in chips.
The text was updated successfully, but these errors were encountered: