Search found 27 matches

by mit2003
Wed Oct 04, 2023 10:54 am
Forum: Feature Requests
Topic: looking for PIC18F46K42 and dsPIC33EP128GM710 ADC -Vref pin configuration
Replies: 13
Views: 10759

Re: looking for PIC18F46K42 and dsPIC33EP128GM710 ADC -Vref pin configuration

Dear Chipfryer, Thanks for your support. Even though i have configured -Vref and got the response as intended, I failed to fulfil my objective of getting higher resolution of measured parameter for better accuracy. In my case always processed (Voltage divider network R1&R2) signal voltages varies fr...
by mit2003
Thu Sep 28, 2023 1:20 pm
Forum: Feature Requests
Topic: looking for PIC18F46K42 and dsPIC33EP128GM710 ADC -Vref pin configuration
Replies: 13
Views: 10759

Re: looking for PIC18F46K42 and dsPIC33EP128GM710 ADC -Vref pin configuration

Hi Friends, I have not received dsPIC33EP128GM710 which i ordered. I can able to test while i receive, assemble, configure and then only I will try & update above modification impact. If any one of you already having this hardware setup, kindly try to test and update the result which can be either g...
by mit2003
Thu Sep 28, 2023 1:07 pm
Forum: Feature Requests
Topic: looking for PIC18F46K42 and dsPIC33EP128GM710 ADC -Vref pin configuration
Replies: 13
Views: 10759

Re: looking for PIC18F46K42 and dsPIC33EP128GM710 ADC -Vref pin configuration

Hi Friends, I found the key factor and modified as well as tested. Now i got proper result with -Vref. :D In the "PIC_CAL_ADC.c" file @ C:\ProgramData\MatrixTSL\FlowcodeV8\CAL\PIC ADREF = Vref; If modified this as ADREF = 0X10; SOLUTION.jpg Now PIC18F46K42 working with negative reference voltage. No...
by mit2003
Thu Sep 28, 2023 10:54 am
Forum: Feature Requests
Topic: looking for PIC18F46K42 and dsPIC33EP128GM710 ADC -Vref pin configuration
Replies: 13
Views: 10759

Re: looking for PIC18F46K42 and dsPIC33EP128GM710 ADC -Vref pin configuration

Hi friends,
If any other part macro provide -Vref assignments for ADC, Kindly let me know :!:
by mit2003
Thu Sep 28, 2023 10:51 am
Forum: Feature Requests
Topic: looking for PIC18F46K42 and dsPIC33EP128GM710 ADC -Vref pin configuration
Replies: 13
Views: 10759

Re: looking for PIC18F46K42 and dsPIC33EP128GM710 ADC -Vref pin configuration

HI,
Potentiometer (Slider) used for development.
POT.jpg
POT.jpg (102.17 KiB) Viewed 10693 times
by mit2003
Thu Sep 28, 2023 10:31 am
Forum: Feature Requests
Topic: looking for PIC18F46K42 and dsPIC33EP128GM710 ADC -Vref pin configuration
Replies: 13
Views: 10759

Re: looking for PIC18F46K42 and dsPIC33EP128GM710 ADC -Vref pin configuration

Hi,
I have checked with my test routine but no impact in the result.
ADREF_CONFIG.jpg
ADREF_CONFIG.jpg (22.1 KiB) Viewed 10700 times
by mit2003
Thu Sep 28, 2023 6:38 am
Forum: Feature Requests
Topic: looking for PIC18F46K42 and dsPIC33EP128GM710 ADC -Vref pin configuration
Replies: 13
Views: 10759

Re: looking for PIC18F46K42 and dsPIC33EP128GM710 ADC -Vref pin configuration

Hi Friend, Thanks for your reply. 1. In the page 296 i found Peripheral Module Disable register only. PAGE_296.jpg 2. ADCON1 having only pre-configuration for ADC Precharge controls ADCON1.jpg 3. ADREF register at page 622 of datasheet having that configuration. But don't know how to insert this pie...
by mit2003
Wed Sep 27, 2023 9:22 am
Forum: Feature Requests
Topic: looking for PIC18F46K42 and dsPIC33EP128GM710 ADC -Vref pin configuration
Replies: 13
Views: 10759

looking for PIC18F46K42 and dsPIC33EP128GM710 ADC -Vref pin configuration

Dear friends, I can't able to enable configuration (or) not familiar to configuration of -Vref in PIC18F46K42 as well as dsPIC33EP128GM710 to increase measurement resolution by means of setting negative reference voltage from default system reference (0V) to 2.3V. Eventhough i insert the command "AD...
by mit2003
Fri Apr 16, 2021 5:25 am
Forum: Bug Reports
Topic: Re: Help regarding compilation error and existing mistakes in my MODBUS programming
Replies: -1
Views: 4257

Re: Help regarding compilation error and existing mistakes in my MODBUS programming

Hi Martin and Benj, After update to current version, Yes compiled successfully. Thank you very much Martin and Benj. Modbus example projects are not accessible. Kindly provide those files in accessible manner which will help me, how to implement my expected task efficiently. I am not sure that my fl...
by mit2003
Wed Apr 14, 2021 10:52 am
Forum: Bug Reports
Topic: Re: Help regarding compilation error and existing mistakes in my MODBUS programming
Replies: -1
Views: 4257

Re: Help regarding compilation error and existing mistakes in my MODBUS programming

Actually i got error message, that is why tried these many times.
by mit2003
Wed Apr 14, 2021 10:29 am
Forum: Bug Reports
Topic: Re: Help regarding compilation error and existing mistakes in my MODBUS programming
Replies: -1
Views: 4257

Re: Help regarding compilation error and existing mistakes in my MODBUS programming

Thank you so much Martin.

One more favor please, shall my approach in the design is okay for communication between Master and Slaves? If not kindly help me to get the right one.

I will update and get back.
by mit2003
Wed Apr 14, 2021 10:29 am
Forum: Bug Reports
Topic: Re: Help regarding compilation error and existing mistakes in my MODBUS programming
Replies: -1
Views: 4257

Re: Help regarding compilation error and existing mistakes in my MODBUS programming

Thank you so much Martin.

One more favor please, shall my approach in the design is okay for communication between Master and Slaves? If not kindly help me to get the right one.

I will update and get back.
by mit2003
Wed Apr 14, 2021 8:05 am
Forum: Bug Reports
Topic: Re: Help regarding compilation error and existing mistakes in my MODBUS programming
Replies: -1
Views: 4257

Help regarding compilation error and existing mistakes in my MODBUS programming

Hi friends, Looking for help regarding compilation error and idea / existing mistakes in MODBUS programming. Thanks in advance. I am trying to test Master slave communication for past one month. Tried with UART (RS232) but failed and Working with RS485 Multinode method but not reliable. Realized MOD...
by mit2003
Wed Apr 07, 2021 8:30 am
Forum: Bug Reports
Topic: PIC18F46K42 ISSUE WITH PWM
Replies: 0
Views: 47553

PIC18F46K42 ISSUE WITH PWM

Hi friends,

PWM working while simulate but not working in realtime (PIC18F46K42 and tested with PB0, PB1, PC0 and PC1).

But same logic working fine in PIC16F877A (PC1 and PC2).
by mit2003
Thu Dec 24, 2020 6:04 am
Forum: Bug Reports
Topic: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT
Replies: 19
Views: 10625

Re: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT

Hi Benj,
Thanks a lot. Regret for delayed reply.
by mit2003
Tue Nov 24, 2020 10:01 am
Forum: Bug Reports
Topic: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT
Replies: 19
Views: 10625

Re: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT

Hi medelec,

Really nice, you fixed the bug. Now 12-Bit ADC resolution accessed.
Great :!: :!: :!:
by mit2003
Tue Nov 24, 2020 8:08 am
Forum: Bug Reports
Topic: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT
Replies: 19
Views: 10625

Re: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT

Hi medelec,

Thanks a lot for your effort and glad to see your participation in this post. I go through the forum and really impressed about efforts.
I will check and let you today evening.
by mit2003
Mon Nov 23, 2020 5:28 am
Forum: Bug Reports
Topic: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT
Replies: 19
Views: 10625

Re: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT

Hi Friends,

If any other easiest option available, kindly guide us.
by mit2003
Sun Nov 22, 2020 3:17 pm
Forum: Bug Reports
Topic: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT
Replies: 19
Views: 10625

Re: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT

Hi Abhi, Hear is a solution for utilizing 12-bit resolution. 1. Allow flowcode coding to initiate and finish ADC conversion (1st block in the flowcode image) 2. Create variables NEW_ADRESH & NEW_ADRESL FOR GETTING 12-BIT RESULT (variable declaration in flowcode image) 3. To access real ADC result, m...
by mit2003
Fri Nov 20, 2020 4:07 pm
Forum: Bug Reports
Topic: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT
Replies: 19
Views: 10625

Re: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT

Hi Friends, For analyzing purpose i have introduced single line C-code 'ADC_INT[15] = (ADRESH * 256)+ ADRESL;' after ADC component and realized below factors. Now i got 0 for 0V and 65520 for 5V. 1. PIC18F46K42 ADC component linked with 10Bit ADC calculations (That is why got 1023 for 5V) 2. Flow co...
by mit2003
Fri Nov 20, 2020 1:45 pm
Forum: Bug Reports
Topic: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT
Replies: 19
Views: 10625

Re: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT

Hi Stefan,

Actually planned to process 15 signals. I have selected 15th signal initially for testing resolution and repeatability.

VC15: and V are strings for representation of 15th signal through UART (5V_Real.jpg).
by mit2003
Fri Nov 20, 2020 1:36 pm
Forum: Bug Reports
Topic: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT
Replies: 19
Views: 10625

Re: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT

Hi Stefan, Thanks for reply. Actually i am expecting 12bit ADC output only from PIC18F46K42. In simulation got expected 12bit result as expected. Practically (PIC18F46K42, PDIP 40Pins, 5V) got 10bit result only and seems to be strange. How can i get 12bit result in practice for getting better resolu...
by mit2003
Fri Nov 20, 2020 6:53 am
Forum: Bug Reports
Topic: PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT
Replies: 19
Views: 10625

PIC18F46K42 ISSUE WITH 12 BIT ADC RESULT

Hi Friends, Project with PIC18F46K42 ADC and UART for measuring voltage with 12 bit resolution and display result in computer virtual terminal. There is no issues during simulation (0v to 5v), compilation and program flashing. While programed PIC18F46K42 tested, got 10 bit resolution only instead of...
by mit2003
Thu Oct 15, 2020 6:49 am
Forum: Bug Reports
Topic: PIC18F25K42 UART issue
Replies: 3
Views: 3540

Re: PIC18F25K42 UART issue

Hi Benj,
Right now compiling without any error message.

Thanks a lot.