Search found 242 matches

by seokgi
Fri Aug 14, 2026 4:15 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 ...
by seokgi
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 ...
by seokgi
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 ...
by seokgi
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.
by seokgi
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.
PIC18F57Q84_Wave_Test.jpg
PIC18F57Q84_Wave_Test.jpg (118.28 KiB) Viewed 250 times

The second yellow waveform is the waveform outputting "Test" from another device (PC USB-Serial).
USB_Wave_Test.jpg
USB_Wave_Test.jpg (118.92 KiB) Viewed 249 times
260810-18F57Q84-1.fcfx
(18.74 KiB) Downloaded 33 times
by seokgi
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 ...
by seokgi
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.
by seokgi
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
by seokgi
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.
by seokgi
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.