Search found 74 matches

by patrick schoon
Thu Apr 18, 2019 1:19 pm
Forum: 8-Bit PIC
Topic: ADC error
Replies: 3
Views: 5133

Re: ADC error

Hi,

I Send it to you personal..
by patrick schoon
Thu Apr 18, 2019 12:41 pm
Forum: 8-Bit PIC
Topic: ADC error
Replies: 3
Views: 5133

ADC error

Hi, I got several errors with using a second adc component. See listng: C:\Program Files (x86)\Flowcode 7\CAL\PIC\PIC_CAL_ADC.c: FC_CAL_ADC_Enable() 4786: ADREF = 0x00; ^ (192) undefined identifier "ADREF" 4801: ADPCH = 0x01; ^ (192) undefined identifier "ADPCH" 5038: ADCLK = Conv_Speed & 0x3F; ^ (1...
by patrick schoon
Sat Dec 29, 2018 3:02 pm
Forum: User Components
Topic: ENC28J60 component remap does not work with PIC24FJ64GA
Replies: 1
Views: 4784

ENC28J60 component remap does not work with PIC24FJ64GA

Hi, I tried to use the TCP/IP ENC28J60 component in my PIC24FJ64GA (44pin) project. According to the PIC datasheet all SPI I/O is remappable. For the first channel I/O is fixed on port-B, except Reset and CS. The second channel is remappable but when selecting a pin the select tree is empty. Softwar...
by patrick schoon
Thu Dec 27, 2018 9:58 pm
Forum: Bug reports
Topic: PIC16F15355 Uart and ADC problem
Replies: 13
Views: 9125

Re: PIC16F15355 Uart and ADC problem

Sorry,

No results.

Attached my test file for check.
Test.fcfx
(24.23 KiB) Downloaded 265 times
Regards,

Patrick
by patrick schoon
Thu Dec 27, 2018 8:40 pm
Forum: Bug reports
Topic: PIC16F15355 Uart and ADC problem
Replies: 13
Views: 9125

Re: PIC16F15355 Uart and ADC problem

Hi Martin,

I did a quick test but no working results.
To be sure i deleted all timer2 components and reselected a new pwm component.
But no working output. Compiling does work..

Regards,

Patrick
by patrick schoon
Thu Dec 27, 2018 4:56 pm
Forum: Bug reports
Topic: PIC16F15355 Uart and ADC problem
Replies: 13
Views: 9125

Re: PIC16F15355 Uart and ADC problem

Hi Martin,

Many thanks in such short notice. :D

Both timers do compile and work on their own.
When used both (TMR1 and 2) they disturb each other, I get interupted pulses.. Proberly swatped some code...
Timer0 is ok.


Simple example in the attachment.
Test.fcfx
(22.84 KiB) Downloaded 287 times
Great help, thanks.

Patrick
by patrick schoon
Wed Dec 26, 2018 3:09 pm
Forum: Bug reports
Topic: PIC16F15355 Uart and ADC problem
Replies: 13
Views: 9125

Re: PIC16F15355 Uart and ADC problem

Hi Martin, All thumbs up. :D The ADC and both hardware uarts are working now. I still get compiling errors when using timer 1 and 2, timer 0 is working well. Proberly this is also the issue why the pwm is not working. Pwm is only using timer2. Pwm ch 1 and 2 can be compiled but no working results, 3...
by patrick schoon
Sun Dec 23, 2018 5:36 pm
Forum: Bug reports
Topic: PIC16F15355 Uart and ADC problem
Replies: 13
Views: 9125

Re: PIC16F15355 Uart and ADC problem

Hi Martin,

Thanks for the quick support.

I Can't find the latest 7.3.0.7 online!
But you may send me the two patch files.
I know how it works.

Thanks.
by patrick schoon
Thu Dec 20, 2018 7:54 pm
Forum: Bug reports
Topic: PIC16F15355 Uart and ADC problem
Replies: 13
Views: 9125

PIC16F15355 Uart and ADC problem

Hi, My project with PIC16F15355 has a problem with the Hardware uart. I get an undefined identifier error at compiling the project. Title: Description: Device: PIC.16F.16F15355 Generated by: Flowcode v7.3.0.5 Date: Thursday, December 20, 2018 19:34:08 Users: 1 Registered to: ps Licence key: X7-- htt...
by patrick schoon
Tue Sep 11, 2018 10:24 pm
Forum: Bug reports
Topic: I2C2 not fully working on PIC24EP512GU810
Replies: 1
Views: 4518

I2C2 not fully working on PIC24EP512GU810

Hey guys, In my FC6 project i use I2C1 port as well the I2C2 port. I2C1 (channel1) port is working well, I2C2 not. When Initializing the I2C2 (channel2) port at startup It blocks the alternative outputs ASCL2 and ASDA2 and no data from the Main SCL2/SDA2 port. Experimenting with the fuse bit setting...
by patrick schoon
Wed Jun 20, 2018 7:16 pm
Forum: Bug reports
Topic: Compiler error PIC24FJ128GA204 and 24EP512GU810
Replies: 3
Views: 5434

Re: Compiler error PIC24FJ128GA204 and 24EP512GU810

Guys,

Thanks for the quick help.

The workaround of re-installing and the register modification did work. All fine now. :D
by patrick schoon
Tue Jun 19, 2018 8:30 pm
Forum: Bug reports
Topic: Compiler error PIC24FJ128GA204 and 24EP512GU810
Replies: 3
Views: 5434

Compiler error PIC24FJ128GA204 and 24EP512GU810

Hi, Please check the compiler support for the PIC128GA204 and PIC24EP512GU810. On both i get an error. No complex data writen, just a blinking led in a loop.. Launching the compiler... C:\Program Files (x86)\Flowcode 7\compilers\pic16\batchfiles\pic16_C30_comp.bat "test" "D:\ELECTR~1\Flowcode\MACROS...
by patrick schoon
Thu Jun 14, 2018 4:49 pm
Forum: 16-Bit PIC
Topic: Compiler Issue with PIC24F Series
Replies: 2
Views: 6278

Re: Compiler Issue with PIC24F Series

He Guys, Same problem here. Latest FC7 Using PIC24FJ128GA204 Launching the compiler... C:\Program Files (x86)\Flowcode 7\compilers\pic16\batchfiles\pic16_C30_comp.bat "BaseOne" "D:\PROJEC~1\COMMAI~1\Projects\BaseOne\Flowcode\" "24FJ128GA204" Launching compiler... D:\PROJEC~1\COMMAI~1\Projects\BaseOn...
by patrick schoon
Wed Oct 18, 2017 6:55 pm
Forum: 32-Bit PIC
Topic: Compiling error when ADC used
Replies: 2
Views: 5790

Re: Compiling error when ADC used

Hi Ben, Compile errors are solved but i do not get any value from the adc. I tested several inputs and ADC component settings but no output value. It also locks my program depending on its settings. For now i solved it in C code. //AD1PCFG = 0xFFFB; // all PORTB = Digital; RB2 = analog, NOT PIC32MX ...
by patrick schoon
Tue Sep 26, 2017 8:09 pm
Forum: 32-Bit PIC
Topic: Compiling error when ADC used
Replies: 2
Views: 5790

Compiling error when ADC used

Hello, I tried to use ADC in my project but this gives an error when compiling. De compiler wordt gestart... C:\Program Files (x86)\Flowcode 7\compilers\pic32\bin\xc32-gcc.exe -mprocessor=32MX550F256H -O1 -o "D:\PROJEC~1\METALT~1\240C\24C789~1\Flowcode\201709~1\ModBus_Slave_PIC32MX550_0926.elf" "D:\...
by patrick schoon
Sat Aug 05, 2017 11:58 am
Forum: 32-Bit PIC
Topic: Development Board
Replies: 5
Views: 11221

Re: Development Board

Hi Guys, Last year I bought two Microchip Explorer-16/32 board for a special introduction price at Microchip Direct. For hardware developers who can spend some more, approx Euro 70,- this is an excelent starting point for 16 and 32 bit mcu's projects. The board has no fixed mcu. you can order severa...
by patrick schoon
Wed Jul 26, 2017 9:13 pm
Forum: 32-Bit PIC
Topic: Compiling error with Modbus/PIC32MX550 project
Replies: 19
Views: 18771

Re: Compiling error with Modbus/PIC32MX550 project

Hi Ben, Do you own a Microchip Explorer board? I ordered a MX570 PIM to double check this out on my explorer kit. I can send you my kit if needed. About my hardware. I send the schematics to you by personal mail. As told earlier on the forum I checked my own designed hardware with the UART component...
by patrick schoon
Wed Jul 19, 2017 6:22 pm
Forum: 32-Bit PIC
Topic: Compiling error with Modbus/PIC32MX550 project
Replies: 19
Views: 18771

Re: Compiling error with Modbus/PIC32MX550 project

Hi Ben,

I was curious if you did put some investigation in the modbus slave isue?

For your information. The main loop holds on the CheckForIncoming macro..

Regards,

Patrick
by patrick schoon
Sat Jul 01, 2017 1:36 pm
Forum: Bug reports
Topic: GUI 2nd screen compiler window border
Replies: 0
Views: 4659

GUI 2nd screen compiler window border

Hi,

I use two screens.

When compiling my project the compiler message screen is shown on the second screen.
Only when compiling to chip after cloasing this window it leaves a white outside border.
When compiling to c or hex this does not occur.

regards,

PS
by patrick schoon
Tue Jun 27, 2017 9:04 pm
Forum: 32-Bit PIC
Topic: Compiling error with Modbus/PIC32MX550 project
Replies: 19
Views: 18771

Re: Compiling error with Modbus/PIC32MX550 project

Hi Ben, I tested your UART example on my MX550 and that works well. My 550 is a revision A0. Now with my modbus slave pgm it is still not working.. I monitored the "check for incoming" and this is not reacting on incomming data. BenJ_PIC32UartTests.fcfx ModBus_Slave_PIC32MX550.fcfx As told before, w...
by patrick schoon
Wed Jun 21, 2017 7:02 pm
Forum: 32-Bit PIC
Topic: Compiling error with Modbus/PIC32MX550 project
Replies: 19
Views: 18771

Re: Compiling error with Modbus/PIC32MX550 project

Hi Ben,

No results wit this CAL file.

Can i change the priority level in the code to test?

Patrick
by patrick schoon
Tue Jun 20, 2017 8:25 pm
Forum: 32-Bit PIC
Topic: Compiling error with Modbus/PIC32MX550 project
Replies: 19
Views: 18771

Re: Compiling error with Modbus/PIC32MX550 project

Hi Ben, Sorry, no results on this. I tried to be sure UART 1-3 but none of them is working. I also have put an indication to the modbus checkforincomming macro. No reaction here, so receiving data from the Uart Rx is not workig. Hope you wil put some effort in this for me. Keep in mind that when com...
by patrick schoon
Mon Jun 19, 2017 9:35 pm
Forum: 32-Bit PIC
Topic: Compiling error with Modbus/PIC32MX550 project
Replies: 19
Views: 18771

Re: Compiling error with Modbus/PIC32MX550 project

Hi,

I use the PIC32MX550F256H controler.

I tested Uart1 wih UART interupt and FIFO, Seems this works well.
PIC32MX Uart Test.fcfx
(14.02 KiB) Downloaded 415 times
by patrick schoon
Sun Jun 18, 2017 7:58 pm
Forum: 32-Bit PIC
Topic: Compiling error with Modbus/PIC32MX550 project
Replies: 19
Views: 18771

Re: Compiling error with Modbus/PIC32MX550 project

Hi Ben,

Sorry, this is not working.

I tested my setup just with an UART and that is working. So no hardware issues.

This example is tested on my e-block (pic18F4580) and is working fine.
When compiled to PIC32MX the communication is dead.
ModBus_Slave.fcfx
Example Modbus Slave
(16.09 KiB) Downloaded 407 times

Please check.

Regards,

Patrick
by patrick schoon
Sun Jun 11, 2017 2:13 pm
Forum: 32-Bit PIC
Topic: Compiling error with Modbus/PIC32MX550 project
Replies: 19
Views: 18771

Compiling error with Modbus/PIC32MX550 project

Hi, I get this compiling error trying compiling a Modbus project into a PIC32MX550. It seems thare is a variable definition problem within the matrix code. Target folder: D:\PROJEC~1 Source name: D:\Projecten\PIC32MX550_Modbus.fcfx Title: Description: Device: PIC32.32MX.32MX550F256H Generated by: Fl...