• AVR Freaks

Helpful ReplySetting up ADC10BIT Touch Screen Support in Harmony

Page: < 12 Showing page 2 of 2
Author
dhlii
New Member
  • Total Posts : 7
  • Reward points : 0
  • Joined: 2017/01/17 21:26:41
  • Location: 0
  • Status: offline
Re: Setting up ADC10BIT Touch Screen Support in Harmony 2017/02/01 15:08:45 (permalink)
0
Paul PortSol
Not sure if it affects you but HarmonyV202b with MHC2024 are available.
 
Also, if you have trouble with ADC in HarmonyV202b see post m971862:
http://www.microchip.com/...m971862.aspx?tree=true
 
Paul




Not using 2.02b. 
I beleive MCHP re-arranged graphics in that and I can not afford another complication. 
 
But I will look at you post. 
#21
dhlii
New Member
  • Total Posts : 7
  • Reward points : 0
  • Joined: 2017/01/17 21:26:41
  • Location: 0
  • Status: offline
Re: Setting up ADC10BIT Touch Screen Support in Harmony 2017/02/01 15:13:50 (permalink)
0
Netraver
 
Hope that helps.





Any change you could provide a project ?
#22
NKurzman
A Guy on the Net
  • Total Posts : 17939
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: online
Re: Setting up ADC10BIT Touch Screen Support in Harmony 2017/02/01 16:25:47 (permalink)
3 (1)
V1.10 should have the Fixes that V2.02b has.
You can compare the code between V1.10 and V2.02b and check.
#23
dhlii
New Member
  • Total Posts : 7
  • Reward points : 0
  • Joined: 2017/01/17 21:26:41
  • Location: 0
  • Status: offline
Re: Setting up ADC10BIT Touch Screen Support in Harmony 2017/02/01 23:06:28 (permalink)
0
NKurzman
V1.10 should have the Fixes that V2.02b has.
You can compare the code between V1.10 and V2.02b and check.


I tried just switching to 1.10. 
Enabled ADC Driver, switched touch to adc10bit etc. 
generate
clean/build
 
Builds without errors right out of the box. 
 
BUT when I go in an look at the code - it is still using the cap touch not 1dc10bit. 
 
I have tried from scratch twice. 
I have gone back into MHC and checked setting - all as I need them. 
 
But after generate the captouch is still what is in the code and the adc10bit is not. 
 
 
 
#24
MikeinAZ
Administrator
  • Total Posts : 320
  • Reward points : 0
  • Joined: 2014/06/03 07:25:32
  • Location: Chandler, AZ
  • Status: offline
Re: Setting up ADC10BIT Touch Screen Support in Harmony 2017/02/02 09:03:08 (permalink)
3 (1)
Hello,
 
Going back to your original goal, it seems you are trying to add the ADC resistive touch to a PIC32 MZ project.  Currently this is not possible, as the 10-bit ADC driver only supports PIC32 MX.  Yes it is possible to modify this, but due to differences in the ADC it turns out it is not trivial.
 
From the factory we are currently putting the finishing touches on a new driver for the TouchADC which will enable the PIC32 MZ.  Several customers are also asking for this.  This will likely be available during February.  While it works in unit testing, there may still be some calibration or other work remaining.  So it will be 'alpha' release for now.
 
I will let you decide if the timing and functions are relevant to your individual project.
#25
dhlii
New Member
  • Total Posts : 7
  • Reward points : 0
  • Joined: 2017/01/17 21:26:41
  • Location: 0
  • Status: offline
Re: Setting up ADC10BIT Touch Screen Support in Harmony 2017/02/02 20:52:57 (permalink)
3 (1)
Right now I need something for a demonstration yesterday. 
Alpha., barely working, anything better than what I am dealing with now. 
If it is possible to get a copy of what you have right now - please tell me how. 
Otherwise one way or the other I have to solve the problem now. 
 
Production is a ways off - so if the final is not ready that is OK. 
I can work out calibration issues. 
 
 
 
 
 
 
 
#26
dhlii
New Member
  • Total Posts : 7
  • Reward points : 0
  • Joined: 2017/01/17 21:26:41
  • Location: 0
  • Status: offline
Re: Setting up ADC10BIT Touch Screen Support in Harmony 2017/02/03 11:03:43 (permalink)
0
So the ADC driver is being setup as Interrupt driven not Polled ? Correct ?
 
I am currious - my reading of the way a resistive touch screen works is that everything starts when the digital state of XPLUS changes - wouldn't that mean this should all be triggered by a digital input interrupt ?
#27
jcandle
Super Member
  • Total Posts : 356
  • Reward points : 0
  • Joined: 2011/09/19 22:01:53
  • Location: Rockledge, FL
  • Status: offline
Re: Setting up ADC10BIT Touch Screen Support in Harmony 2017/11/05 20:02:34 (permalink)
0
making a BSB (save option in save configuration) for a custom board, or even a customized starter kit, appears to stop harmony from messing up customization that does not fit it's existing BSP.
#28
Page: < 12 Showing page 2 of 2
Jump to:
© 2019 APG vNext Commercial Version 4.5