Search found 246 matches

by seokgi
Thu Sep 10, 2026 9:26 am
Forum: General
Topic: Digital Input read error
Replies: 2
Views: 71

Re: Digital Input read error

It works correctly with compiler version 2.10. With compiler version 2.50, it compiles successfully and the UART functions properly; however, the digital input fails to read values. I have not tested other functions.
by seokgi
Wed Sep 09, 2026 9:37 am
Forum: General
Topic: Digital Input read error
Replies: 2
Views: 71

Digital Input read error

The digital input isn't working. What might I have configured incorrectly?
Please help.
MCU: PIC18F47Q10
I am uploading the project.



Title:
Description:
Device: PIC.18F.18F47Q10
Generated by: Flowcode v11.0.2.17
Date: Wednesday, September 09, 2026 17:34:54
Users: 1
Registered to:
Licence key ...
by seokgi
Wed Sep 02, 2026 3:16 am
Forum: General
Topic: Question UART Pin Mapping
Replies: 3
Views: 1294

Re: Question UART Pin Mapping

Thank you for your interest.

I was unable to check.

Thank you.
by seokgi
Tue Sep 01, 2026 10:58 am
Forum: General
Topic: Question UART Pin Mapping
Replies: 3
Views: 1294

Question UART Pin Mapping

I have a question.

Is it impossible to use the RD7 as the UART RX on the PIC24FJ512GA606?

Thank you.
by seokgi
Fri Aug 14, 2026 4:15 am
Forum: General
Topic: PIC18F57Q84 UART Error
Replies: 12
Views: 2169

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: 2169

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: 2169

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: 2169

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: 2169

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 1202 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 1201 times
260810-18F57Q84-1.fcfx
(18.74 KiB) Downloaded 66 times
(view online)
by seokgi
Mon Aug 10, 2026 9:29 am
Forum: General
Topic: PIC18F57Q84 UART Error
Replies: 12
Views: 2169

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 ...