I tried to communicate between an RS-485 RTU-based Modbus master and slave, but I am getting the following error.
Using <2.50> user settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV11\FCD\PIC\batch\pic_xc8_comp.bat "C:\Program Files\Microchip\xc8\v2.50\pic\bin ...
Search found 242 matches
- Fri Aug 14, 2026 4:15 am
- Forum: General
- Topic: PIC18F57Q84 UART Error
- Replies: 12
- Views: 368
- Fri Aug 14, 2026 4:14 am
- Forum: General
- Topic: PIC18F57Q84 UART Error
- Replies: 12
- Views: 368
Re: PIC18F57Q84 UART Error
I tried to communicate between an RS-485 RTU-based Modbus master and slave, but I am getting the following error.
Using <2.50> user settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV11\FCD\PIC\batch\pic_xc8_comp.bat "C:\Program Files\Microchip\xc8\v2.50\pic\bin ...
Using <2.50> user settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV11\FCD\PIC\batch\pic_xc8_comp.bat "C:\Program Files\Microchip\xc8\v2.50\pic\bin ...
- Thu Aug 13, 2026 7:17 am
- Forum: General
- Topic: PIC18F57Q84 UART Error
- Replies: 12
- Views: 368
Re: PIC18F57Q84 UART Error
Communication works if the pull-up resistor is changed to 3 kiloohms. It is expected that this result is due to the threshold level. It appears that a pull-up resistor of about 2k ohms is necessary for stable communication.
The pink color is the waveform directly connected to the MCU, and the yellow ...
The pink color is the waveform directly connected to the MCU, and the yellow ...
- Thu Aug 13, 2026 6:09 am
- Forum: General
- Topic: PIC18F57Q84 UART Error
- Replies: 12
- Views: 368
Re: PIC18F57Q84 UART Error
This seems to be about RS-485 terminator resistors.
Of course, I tried attaching 4.7K Ohm and 10K Ohm pull-up resistors, but the result is a communication failure.
Of course, I tried attaching 4.7K Ohm and 10K Ohm pull-up resistors, but the result is a communication failure.
- Tue Aug 11, 2026 1:36 am
- Forum: General
- Topic: PIC18F57Q84 UART Error
- Replies: 12
- Views: 368
Re: PIC18F57Q84 UART Error
The pink waveform is the waveform outputting "Test" from the PIC18F57Q84.
The second yellow waveform is the waveform outputting "Test" from another device (PC USB-Serial).
The second yellow waveform is the waveform outputting "Test" from another device (PC USB-Serial).
- Mon Aug 10, 2026 9:29 am
- Forum: General
- Topic: PIC18F57Q84 UART Error
- Replies: 12
- Views: 368
PIC18F57Q84 UART Error
Hello.
I am trying to proceed with a project using the PIC18F57Q84. I had trouble because it wouldn't compile. After receiving advice on how to switch compilers, it now compiles successfully. However, UART communication is not working. When I checked with an oscilloscope, the waveform phase was ...
I am trying to proceed with a project using the PIC18F57Q84. I had trouble because it wouldn't compile. After receiving advice on how to switch compilers, it now compiles successfully. However, UART communication is not working. When I checked with an oscilloscope, the waveform phase was ...
- Fri Jun 12, 2026 7:22 am
- Forum: General
- Topic: Compiler ERROR PIC18F57Q84
- Replies: 19
- Views: 3550
Re: Compiler ERROR PIC18F57Q84
I don't have much time, so I decided to use a different MCU.
I will test it again later.
Thank you for your interest.
I will test it again later.
Thank you for your interest.
- Wed Jun 10, 2026 4:20 pm
- Forum: General
- Topic: Compiler ERROR PIC18F57Q84
- Replies: 19
- Views: 3550
Re: Compiler ERROR PIC18F57Q84
Here my file
Thank you
Thank you
- Wed Jun 10, 2026 1:34 am
- Forum: General
- Topic: Compiler ERROR PIC18F57Q84
- Replies: 19
- Views: 3550
Re: Compiler ERROR PIC18F57Q84
The MCLR signal is pulled up to 5V and connected to the MCU via a 100-ohm resistor.
I am uploading the hexadecimal file, which was compiled in FC11 and read from the downloaded file.
Thank you for your interest.
I am uploading the hexadecimal file, which was compiled in FC11 and read from the downloaded file.
Thank you for your interest.
- Tue Jun 09, 2026 6:37 pm
- Forum: General
- Topic: Compiler ERROR PIC18F57Q84
- Replies: 19
- Views: 3550
Re: Compiler ERROR PIC18F57Q84
Here my hexa file.