<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Pic Microcontrollers Forum - Recent Threads</title><link>https://community.element14.com/technologies/embedded/f/pic-micro-forum</link><description>Discuss the PIC Microcontroller</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><lastBuildDate>Thu, 07 Nov 2024 06:39:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://community.element14.com/technologies/embedded/f/pic-micro-forum" /><item><title>Wrong operation when using internally generated negative voltage reference for A/D converter on PIC16F18877</title><link>https://community.element14.com/thread/54031?ContentTypeID=0</link><pubDate>Tue, 28 Nov 2023 23:41:38 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:7206d644-635f-479c-8745-ceff68ba6019</guid><dc:creator>Mila_G</dc:creator><slash:comments>5</slash:comments><comments>https://community.element14.com/thread/54031?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/54031/wrong-operation-when-using-internally-generated-negative-voltage-reference-for-a-d-converter-on-pic16f18877/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;please can you help me with the wrong operation when using internally generated negative voltage reference for A/D converter on PIC16F18877?&lt;br /&gt;&lt;br /&gt;I would like to use ADC with references 0.416 V and Vdd (5 V).&lt;br /&gt;It works perfectly when I connect 0.416 V to the Vref- pin (RA2) from an external source.&lt;br /&gt;&lt;br /&gt;Then I generate 0.416 V on RA2 from FVR and D/A converter as follows:&lt;br /&gt;&amp;nbsp; FVRCON = 0x84;&lt;br /&gt;&amp;nbsp; DAC1CON0 = 0xA8;&lt;br /&gt;&amp;nbsp; DAC1CON1 = 0x0D;&lt;br /&gt;The DAC also works perfectly and there is about 0.416 V on the Vref- pin (RA2).&lt;br /&gt;&lt;br /&gt;But now ADC works only if the negative reference is Gnd. If I switch this from Gnd to Vref- (just by changing ADREF from 0 to 0x10), a failure occurs. The voltage on the RA2 pin changes to 2.1 V (and of course the A/D gives bad results).&lt;br /&gt;&lt;br /&gt;Workaround attempts:&lt;br /&gt;- 0.416 V output from DAC to RB7, directly conneted to RA2 via a wire, works just as badly as above.&lt;br /&gt;- After interconnecting via an op amp voltage follower instead of the wire, the A/D starts to work properly.&lt;br /&gt;&lt;br /&gt;I assumed the PIC analog circuits were designed for internal connections from the VRef- pin, without any external workaround. Please, advise.&lt;br /&gt;&lt;br /&gt;Many thanks.&lt;br /&gt;&lt;br /&gt;Mila.&lt;/p&gt;</description></item><item><title>RE: Wrong operation when using internally generated negative voltage reference for A/D converter on PIC16F18877</title><link>https://community.element14.com/thread/225164?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2024 06:39:53 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:829a70fd-9547-47c6-9dce-1768c95d3161</guid><dc:creator>James123</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/225164?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/54031/wrong-operation-when-using-internally-generated-negative-voltage-reference-for-a-d-converter-on-pic16f18877/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;span&gt;ADC input signals are really sensitive to source impedance, and it&amp;#39;s generally recommended to keep the maximum impedance of your analog signal source around&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;strong&gt;10 k&amp;Omega;&lt;/strong&gt;&lt;/span&gt;&lt;span&gt;. If the source impedance is too high, it can lead to longer sampling times, which may mess up your conversion results. This could be one of the issues you&amp;#39;re facing when using an internally generated negative voltage reference.&lt;br /&gt;&lt;/span&gt;&lt;span class="mt-md block"&gt;&lt;/span&gt;&lt;span&gt;To avoid problems, make sure your circuit design doesn&amp;#39;t introduce extra impedance that could affect the ADC&amp;#39;s performance. For more detailed information, check out the&amp;nbsp;&lt;a href="https://www.jakelectronics.com/pdf/datasheets/microchiptechnology-pic16f18877tipt-datasheets-2305?product=microchiptechnology-pic16f18877ipt-4815601" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;&lt;strong&gt;PIC16F18877&lt;/strong&gt;&amp;nbsp;datasheet&lt;/a&gt;&lt;/span&gt;&lt;span&gt;, especially the sections on ADC configuration and operation.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MAX96717F is not recognized by the GMSL SerDes Gui</title><link>https://community.element14.com/thread/55102?ContentTypeID=0</link><pubDate>Wed, 18 Sep 2024 09:23:25 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:e154a05c-8637-4ae4-b46a-6775f654ed8d</guid><dc:creator>bugtech</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/55102?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/55102/max96717f-is-not-recognized-by-the-gmsl-serdes-gui/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Hi.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am using MAX96717F for a task. It worked fine for a week but now suddenly the device is not getting identified by the GMSL SerDes Gui. Although when i configure the CFG Pin, it shows that Serializer Detected.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1: Tried with different firmware (4.55, 4.56, 4.59)&lt;/p&gt;
&lt;p&gt;2: Tried with connections (Complete setup, camera to serializer, serializer to deserializer, deserializer to RPi4)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3: Tried without the connection (Only serializer connected by the USB)&lt;/p&gt;
&lt;p&gt;4: Tried reninstalling the GUI multiple times. No help!&lt;/p&gt;
&lt;p&gt;5: Tried on a different PC. No help!&lt;/p&gt;
&lt;p&gt;Stuck here. Unable to understand what can be the issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Any help here?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>RE: MAX96717F is not recognized by the GMSL SerDes Gui</title><link>https://community.element14.com/thread/225074?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2024 02:06:21 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:e8bb4706-0130-48f0-9b34-50ef428c39ef</guid><dc:creator>James123</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/225074?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/55102/max96717f-is-not-recognized-by-the-gmsl-serdes-gui/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;span&gt;It seems like there might be a problem with the MAX96717F hardware itself.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>PIC18F452 with GPS NEO6M UART</title><link>https://community.element14.com/thread/54103?ContentTypeID=0</link><pubDate>Sun, 10 Dec 2023 14:02:14 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:77154078-2a48-47df-b6e6-c6b8cb158c1b</guid><dc:creator>ArthurHEL</dc:creator><slash:comments>2</slash:comments><comments>https://community.element14.com/thread/54103?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/54103/pic18f452-with-gps-neo6m-uart/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m an electronics student and for my final project I&amp;#39;m trying to display data from a GPS (nemo 6m) operating via RS232 communication on an LCD screen with my PIC18F452. I had made a code for the LCD without a library, which worked without a hitch and which I used in this code.&lt;/p&gt;
&lt;p&gt;The code for displaying data from an RS232 communication is relatively simple and works very well with a TTL to USB card.&lt;/p&gt;
&lt;p&gt;The code below for displaying GPS data on the LCD works, but only once. When I run the program, it displays the time correctly, but I have to press the reset button to refresh. It seems that the code is stuck somewhere....&lt;/p&gt;
&lt;p&gt;After many tests, I don&amp;#39;t understand why and that&amp;#39;s why I&amp;#39;m coming to you. &lt;br /&gt;Thanks in advance for taking a look.&lt;/p&gt;
&lt;p&gt;Technical specification: &lt;br /&gt;16MHz quartz&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:9e23c30e-6a3c-4a0d-b52a-fdddefe1750c:type=text&amp;text=%2F%2F%20Pour%20les%20commandes%20du%20LCD%20%3A%20https%3A%2F%2Fbinaryupdates.com%2Finterface-lcd-with-lpc2148-arm7%2Fjhd162a-lcd-command-codes%2F%0D%0A%2F%2F%20Voir%20datasheet%20p174%20et%20p176%20%3A%20https%3A%2F%2Fww1.microchip.com%2Fdownloads%2FaemDocuments%2Fdocuments%2FMCU08%2FProductDocuments%2FDataSheets%2F39564c.pdf%0D%0A%23include%20%3Cp18f452.h%3E%20%0D%0A%23include%20%3Cdelays.h%3E%0D%0A%23include%20%3Cstdio.h%3E%0D%0A%20%0D%0A%23pragma%20config%20OSC%20%3D%20HS%20%20%20%2F%2F%20Travailler%20%C3%A0%2016MHz%0D%0A%23pragma%20config%20PWRT%20%3D%20ON%20%0D%0A%23pragma%20config%20BOR%20%3D%20OFF%20%0D%0A%23pragma%20config%20WDT%20%3D%20OFF%20%20%0D%0A%23pragma%20config%20LVP%20%3D%20OFF%20%20%0D%0A%20%0D%0A%0D%0A%2F%2F%20%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%20D%C3%A9clarations%20des%20PINs%20de%20sortie%20%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%0D%0A%2F%2F%20%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%20Output%20PIN%20declarations%20%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%0D%0A%0D%0A%2F%2F%20D%C3%A9finition%20pour%20broches%20en%20sortie%0D%0A%2F%2F%20Definition%20for%20output%20pins%0D%0A%23define%20data4DEF%20TRISBbits.TRISB4%0D%0A%23define%20data5DEF%20TRISBbits.TRISB5%0D%0A%23define%20data6DEF%20TRISBbits.TRISB6%0D%0A%23define%20data7DEF%20TRISBbits.TRISB7%0D%0A%23define%20RSDEF%20TRISCbits.TRISC0%0D%0A%23define%20RWDEF%20TRISCbits.TRISC1%0D%0A%23define%20EDEF%20TRISCbits.TRISC2%0D%0A%0D%0A%2F%2F%20D%C3%A9finition%20pour%20l%27%C3%A9tat%20des%20broches%20%28m%C3%AAme%20que%20pour%20TRIS%29%0D%0A%2F%2F%20Definition%20of%20pin%20status%20%28same%20as%20TRIS%29%0D%0A%23define%20data4%20PORTBbits.RB4%0D%0A%23define%20data5%20PORTBbits.RB5%0D%0A%23define%20data6%20PORTBbits.RB6%0D%0A%23define%20data7%20PORTBbits.RB7%0D%0A%23define%20RS%20PORTCbits.RC0%0D%0A%23define%20RW%20PORTCbits.RC1%0D%0A%23define%20E%20PORTCbits.RC2%0D%0A%0D%0A%2F%2F%20Param%C3%A8tre%20interne%20%28pas%20toucher%29%0D%0A%2F%2F%20Internal%20parameter%20%28do%20not%20touch%29%0D%0Aint%20delai%20%3D%201%3B%0D%0A%0D%0A%0D%0A%2F%2F%20%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%20Toutes%20les%20fonctions%20%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%0D%0A%0D%0A%0D%0Avoid%20LCD_Cmnd%20%28unsigned%20char%20cmnd%29%0D%0A%7B%0D%0A%20%20%20%20%2F%2F%20Permet%20d%27appliquer%20les%20bits%20de%20la%20commande%20sur%20les%20bonnes%20PINs%20de%20sortie%20%28en%20fonction%20des%20define%29%0D%0A%20%20%20%20%2F%2F%20Enables%20command%20bits%20to%20be%20applied%20to%20the%20correct%20output%20PINs%20%28depending%20on%20define%29%0D%0A%20%20%20%20data4%20%3D%20%28cmnd%20%26%200x10%29%20%3E%3E%204%3B%0D%0A%20%20%20%20data5%20%3D%20%28cmnd%20%26%200x20%29%20%3E%3E%205%3B%0D%0A%20%20%20%20data6%20%3D%20%28cmnd%20%26%200x40%29%20%3E%3E%206%3B%0D%0A%20%20%20%20data7%20%3D%20%28cmnd%20%26%200x80%29%20%3E%3E%207%3B%0D%0A%20%20%20%20%0D%0A%20%20%20%20RS%20%3D%200%3B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20Mode%20commande%0D%0A%20%20%20%20E%20%3D%201%3B%0D%0A%20%20%20%20Delay10KTCYx%20%28delai%29%3B%0D%0A%20%20%20%20E%20%3D%200%3B%0D%0A%20%20%20%20%0D%0A%20%20%20%20data4%20%3D%20cmnd%20%26%200x01%3B%0D%0A%20%20%20%20data5%20%3D%20%28cmnd%20%26%200x02%29%20%3E%3E%201%3B%0D%0A%20%20%20%20data6%20%3D%20%28cmnd%20%26%200x04%29%20%3E%3E%202%3B%0D%0A%20%20%20%20data7%20%3D%20%28cmnd%20%26%200x08%29%20%3E%3E%203%3B%0D%0A%20%20%20%20%0D%0A%20%20%20%20E%20%3D%201%3B%0D%0A%20%20%20%20Delay10KTCYx%20%28delai%29%3B%0D%0A%20%20%20%20E%20%3D%200%3B%0D%0A%7D%0D%0A%0D%0Avoid%20LCD_Charact%20%28unsigned%20char%20charact%29%0D%0A%7B%0D%0A%20%20%20%20%2F%2F%20Permet%20d%27appliquer%20les%20bits%20du%20caract%C3%A8re%20sur%20les%20bonnes%20PINs%20de%20sortie%20%28en%20fonction%20des%20define%29%0D%0A%20%20%20%20%2F%2F%20Enables%20character%20bits%20to%20be%20applied%20to%20the%20correct%20output%20PINs%20%28depending%20on%20define%29%0D%0A%20%20%20%20data4%20%3D%20%28charact%20%26%200x10%29%20%3E%3E%204%3B%0D%0A%20%20%20%20data5%20%3D%20%28charact%20%26%200x20%29%20%3E%3E%205%3B%0D%0A%20%20%20%20data6%20%3D%20%28charact%20%26%200x40%29%20%3E%3E%206%3B%0D%0A%20%20%20%20data7%20%3D%20%28charact%20%26%200x80%29%20%3E%3E%207%3B%0D%0A%20%20%20%20%0D%0A%20%20%20%20RS%20%3D%201%3B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20mode%20caract%C3%A8re%0D%0A%20%20%20%20E%20%3D%201%3B%0D%0A%20%20%20%20Delay10KTCYx%20%28delai%29%3B%20%0D%0A%20%20%20%20E%20%3D%200%3B%0D%0A%20%20%20%20%0D%0A%20%20%20%20data4%20%3D%20charact%20%26%200x01%3B%0D%0A%20%20%20%20data5%20%3D%20%28charact%20%26%200x02%29%20%3E%3E%201%3B%0D%0A%20%20%20%20data6%20%3D%20%28charact%20%26%200x04%29%20%3E%3E%202%3B%0D%0A%20%20%20%20data7%20%3D%20%28charact%20%26%200x08%29%20%3E%3E%203%3B%0D%0A%20%20%20%20%0D%0A%20%20%20%20E%20%3D%201%3B%0D%0A%20%20%20%20Delay10KTCYx%20%28delai%29%3B%20%0D%0A%20%20%20%20E%20%3D%200%3B%0D%0A%7D%0D%0A%0D%0A%0D%0Avoid%20init_LCD%20%28void%29%0D%0A%7B%0D%0A%20%20%20%20%2F%2F%20Mise%20en%20sortie%20des%20PINs%20choisis%20en%20sortie%0D%0A%20%20%20%20%2F%2F%20Output%20selected%20PINs%0D%0A%20%20%20%20data4DEF%20%3D%200%3B%0D%0A%20%20%20%20data5DEF%20%3D%200%3B%0D%0A%20%20%20%20data6DEF%20%3D%200%3B%0D%0A%20%20%20%20data7DEF%20%3D%200%3B%0D%0A%20%20%20%20RSDEF%20%3D%200%3B%0D%0A%20%20%20%20RWDEF%20%3D%200%3B%0D%0A%20%20%20%20EDEF%20%3D%200%3B%0D%0A%20%20%20%20RW%20%3D%200%3B%0D%0A%20%20%20%20LCD_Cmnd%280x28%29%3B%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20Mode%204bits%2C%202%20lignes%20%0D%0A%20%20%20%20LCD_Cmnd%280x01%29%3B%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20Clear%20l%27%C3%A9cran%0D%0A%20%20%20%20LCD_Cmnd%280x0C%29%3B%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20Display%20on%2C%20cursor%20off%20%280x0F%20-%20Display%20on%2C%20cursor%20clignotant%29%0D%0A%7D%0D%0A%0D%0Avoid%20init_UART%28void%29%20%7B%0D%0A%20%20%20%20SPBRG%20%3D%2025%3B%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2F%2F%20Bas%C3%A9%20sur%20la%20formule%20%28%28%284000000%2F9600%29%2F64%29-1%29%20%2F%2FMettre%20la%20trensmition%20sur%202400%20si%20SPBRG%3D25%0D%0A%20%20%20%20TXSTAbits.SYNC%20%3D%200%3B%20%20%20%20%20%20%20%20%20%2F%2F%20Mode%20asynchrone%0D%0A%20%20%20%20TXSTAbits.BRGH%20%3D%200%3B%20%20%20%20%20%20%20%20%20%2F%2F%20Mode%20low%20speed%0D%0A%20%20%20%20RCSTAbits.SPEN%20%3D%201%3B%20%20%20%20%20%20%20%20%20%2F%2F%20Activer%20le%20port%20s%C3%A9rie%20%28TX%20et%20RX%29%0D%0A%20%20%20%20RCSTAbits.CREN%20%3D%201%3B%20%20%20%20%20%20%20%20%20%2F%2F%20Activer%20la%20r%C3%A9ception%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%0D%0A%7D%0D%0A%0D%0A%0D%0A%0D%0A%2F%2F%20%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%20Code%20Principal%20%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%0D%0A%0D%0Avoid%20main%20%28void%29%20%0D%0A%7B%20%20%0D%0A%20%20%20%20char%20tabGPS%5B100%5D%3B%0D%0A%20%20%20%20int%20i%3B%0D%0A%20%20%20%20int%20y%3B%0D%0A%20%20%20%20%0D%0A%20%20%20%20init_UART%28%29%3B%0D%0A%20%20%20%20init_LCD%28%29%3B%0D%0A%20%20%20%20%0D%0A%20%20%20%20while%20%281%29%7B%0D%0A%20%20%20%20%20%20%20%20%0D%0A%20%20%20%20%20%20%20%20%2F%2F%20Charger%20le%20tableau%20avec%20les%20donn%C3%A9es%20du%20GPS%0D%0A%20%20%20%20%20%20%20%20%2F%2F%20Load%20table%20with%20GPS%20data%0D%0A%20%20%20%20%20%20%20%20for%20%28i%3D0%3Bi%3C100%3Bi%2B%2B%29%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20while%20%28PIR1bits.RCIF%20%3D%3D%200%29%3B%20%20%20%20%20%20%20%20%20%2F%2F%20Attendre%20qu%27un%20caract%C3%A8re%20soit%20re%C3%A7u%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20tabGPS%5Bi%5D%3D%20RCREG%3B%20%0D%0A%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%0D%0A%20%20%20%20%20%20%20%20%2F%2F%20Parcouir%20le%20tableau%20et%20afficher%20ce%20qui%20nous%20interesse%20%0D%0A%20%20%20%20%20%20%20%20%2F%2F%20Browse%20the%20table%20and%20display%20what%20interests%20us%20%0D%0A%20%20%20%20%20%20%20%20for%20%28y%3D0%3By%3C100%3By%2B%2B%29%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20if%20%28tabGPS%5By%5D%20%3D%3D%20%27G%27%20%26%26%20tabGPS%5By%2B1%5D%20%3D%3D%20%27P%27%20%26%26%20tabGPS%5By%2B2%5D%20%3D%3D%20%27R%27%26%26%20tabGPS%5By%2B3%5D%20%3D%3D%20%27M%27%26%26%20tabGPS%5By%2B4%5D%20%3D%3D%20%27C%27%29%7B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20LCD_Cmnd%280x80%29%3B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20LCD_Charact%28tabGPS%5By%2B6%5D%29%3B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20LCD_Charact%28tabGPS%5By%2B7%5D%29%3B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20LCD_Charact%28%27%3A%27%29%3B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20LCD_Charact%28tabGPS%5By%2B8%5D%29%3B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20LCD_Charact%28tabGPS%5By%2B9%5D%29%3B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20LCD_Charact%28%27%3A%27%29%3B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20LCD_Charact%28tabGPS%5By%2B10%5D%29%3B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20LCD_Charact%28tabGPS%5By%2B11%5D%29%3B%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%0D%0A%20%20%20%20%20%20%20%20%20%20%20%20%7D%20%0D%0A%20%20%20%20%7D%0D%0A%7D%20%0D%0A]&lt;/p&gt;</description></item><item><title>RE: PIC18F452 with GPS NEO6M UART</title><link>https://community.element14.com/thread/217564?ContentTypeID=1</link><pubDate>Mon, 11 Dec 2023 08:47:31 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:19a1e87e-c180-497d-b19b-5ec288ef8c1a</guid><dc:creator>ArthurHEL</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/217564?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/54103/pic18f452-with-gps-neo6m-uart/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;Your reply made me think a lot and after a few tests, I found out what was wrong and it&amp;#39;s quit simple ahah.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;When I come out of my first loop, I have to disable communication (probably to avoid reading unwanted data) and re-enable it when I&amp;#39;ve finished displaying my various data! &lt;br /&gt;I&amp;#39;ve displayed the time and one of the two GPS coordinates and it&amp;#39;s working perfectly!&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Thanks for your help, have a nice day!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PIC18F452 with GPS NEO6M UART</title><link>https://community.element14.com/thread/217543?ContentTypeID=1</link><pubDate>Sun, 10 Dec 2023 19:50:16 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:fac23e12-3018-444d-81ee-2bcdeff139c5</guid><dc:creator>JWx</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/217543?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/54103/pic18f452-with-gps-neo6m-uart/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;it seems that it generates buffer overflow - what happens when (inside second loop) y &amp;gt; 95? Loop reads data beyond tabGPS end... Question is if it can hang the code? Maybe you can put some debug (cycle some led or print on uart console) inside while loop to check if it iterates or stops?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wrong operation when using internally generated negative voltage reference for A/D converter on PIC16F18877</title><link>https://community.element14.com/thread/217074?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2023 16:42:54 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a744d88e-ab90-4477-974b-ba6ca5070fc1</guid><dc:creator>scottiebabe</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/217074?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/54031/wrong-operation-when-using-internally-generated-negative-voltage-reference-for-a-d-converter-on-pic16f18877/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;You may consider doing the operation digitally. Your increasing the sensitivity 8% or 0.1 bits changing the FSR from 5V to 4.6V. You could subtract 416 mV in software. Sounds like a neat project, best of luck.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wrong operation when using internally generated negative voltage reference for A/D converter on PIC16F18877</title><link>https://community.element14.com/thread/217073?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2023 16:36:29 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:6e6f09d0-e4b5-4222-beb5-8c4df721cc65</guid><dc:creator>shabaz</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/217073?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/54031/wrong-operation-when-using-internally-generated-negative-voltage-reference-for-a-d-converter-on-pic16f18877/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;You explicitly mention in your workaround attempts:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Workaround attempts:&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;- 0.416 V output from DAC to RB7, directly conneted to RA2 via a wire, works just as badly as above.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m merely explaining the pointlessness of doing that, since the datasheet makes it clear that would not be possible.&lt;/p&gt;
&lt;p&gt;You have a solution, which is a buffer.&lt;/p&gt;
&lt;p&gt;If you are unwilling to accept a workaround, then&amp;nbsp;I&amp;#39;m no expert here but it&amp;#39;s clear from the datasheet that what you&amp;#39;re suggesting is not possible.&lt;/p&gt;
&lt;p&gt;Check the diagram below. The negative reference input to the ADC comes from either a pin, or from ground. You can see it in red.&lt;/p&gt;
&lt;p&gt;The DAC output (described as a DAC reference output in the datasheet) in usable &lt;strong&gt;internally&lt;/strong&gt;&amp;nbsp;, as an &lt;strong&gt;input&lt;/strong&gt; to the channel (shown in blue below), &lt;strong&gt;not as a input to the ADC negative reference&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/23/adc1.png" /&gt;&lt;/p&gt;
&lt;p&gt;If you provided more information about your actual use-case (what you&amp;#39;re measuring for instance) then maybe there are other solutions, but trying to make an internal connection that doesn&amp;#39;t exist won&amp;#39;t work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wrong operation when using internally generated negative voltage reference for A/D converter on PIC16F18877</title><link>https://community.element14.com/thread/217057?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2023 12:49:27 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:ca7820cd-8c2a-4472-8eff-ed49e2e96338</guid><dc:creator>Mila_G</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/217057?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/54031/wrong-operation-when-using-internally-generated-negative-voltage-reference-for-a-d-converter-on-pic16f18877/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I have read the PIC specs carefully: &amp;quot;A buffer must be used on the DAC reference output for &lt;strong&gt;external connections&lt;/strong&gt; to the DAC1OUT1/2 pins.&amp;quot;, see above. But I would like to use &lt;strong&gt;internal connection&lt;/strong&gt;! No user external circuitry conneted to the RA2 pin, no wiring, but only internal connection from RA2 to the ADC ref. input &lt;strong&gt;inside the MCU&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Many thanks. Mila.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Wrong operation when using internally generated negative voltage reference for A/D converter on PIC16F18877</title><link>https://community.element14.com/thread/217041?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2023 01:50:21 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:f46da0e4-32e3-45ce-8a66-18e61044d44c</guid><dc:creator>shabaz</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/217041?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/54031/wrong-operation-when-using-internally-generated-negative-voltage-reference-for-a-d-converter-on-pic16f18877/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I didn&amp;#39;t read it all, and I&amp;nbsp;have not used a PIC for many years, but looking here:&lt;/p&gt;
&lt;p&gt;&lt;img alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/23/dac1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/23/dac2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/23/dac3.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img loading="lazy" alt="image" style="max-height:360px;max-width:640px;"  src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/23/adc.png" /&gt;&lt;/p&gt;
&lt;p&gt;If I&amp;#39;ve understood your requirement right (I might not have -&amp;nbsp;I&amp;#39;m not used to these registers and other detail you mention) it&amp;#39;s not a surprise if wiring the DAC to anything requires a buffer. The DAC appears to be composed of a ladder of resistors with no buffer from what I can tell, so yes, you&amp;#39;d need to add your own buffer (e.g. op-amp) when realistically connecting that externally to anything.&lt;/p&gt;
&lt;p&gt;If you mention your actual end requirement (including what you&amp;#39;re actually trying to connect the ADC to), and why the external buffer is not usable, then perhaps a different or better solution could be provided.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: And the PIC Fans go wild - PIC18 in Tesla Roadster BMS</title><link>https://community.element14.com/thread/216860?ContentTypeID=1</link><pubDate>Thu, 23 Nov 2023 08:43:06 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:229858c4-c8f1-469e-8869-6099fbfc0f31</guid><dc:creator>michaelkellett</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/216860?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/53999/and-the-pic-fans-go-wild---pic18-in-tesla-roadster-bms/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Kudos to Elon and Tesla for actually open sourcing this kind of stuff.&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t think of any other major car maker to do so.&lt;/p&gt;
&lt;p&gt;Just a pity Elon can&amp;#39;t be more consistently admirable &lt;span class="emoticon" data-url="https://community.element14.com/cfs-file/__key/system/emoji/1f641.svg" title="Slight frown"&gt;&amp;#x1f641;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;MK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>And the PIC Fans go wild - PIC18 in Tesla Roadster BMS</title><link>https://community.element14.com/thread/53999?ContentTypeID=0</link><pubDate>Wed, 22 Nov 2023 19:33:48 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:2b97dc0d-fb65-419a-90b0-6da78df83144</guid><dc:creator>scottiebabe</dc:creator><slash:comments>4</slash:comments><comments>https://community.element14.com/thread/53999?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/53999/and-the-pic-fans-go-wild---pic18-in-tesla-roadster-bms/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;img style="max-height:360px;max-width:640px;" src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/23/pastedimage1700681538897v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:360px;max-width:640px;" src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/23/pastedimage1700681567224v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://service.tesla.com/roadster" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;https://service.tesla.com/roadster&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:360px;max-width:640px;" src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/23/pastedimage1700681595637v3.png" alt=" " /&gt;&lt;/p&gt;</description></item><item><title>RE: And the PIC Fans go wild - PIC18 in Tesla Roadster BMS</title><link>https://community.element14.com/thread/216859?ContentTypeID=1</link><pubDate>Thu, 23 Nov 2023 08:27:05 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d48b861c-fdc0-4e1f-a181-6f8827838089</guid><dc:creator>Fred27</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/216859?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/53999/and-the-pic-fans-go-wild---pic18-in-tesla-roadster-bms/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;*Starts rummaging through parts bin looking for a PIC18 and a Lotus Elise*&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: And the PIC Fans go wild - PIC18 in Tesla Roadster BMS</title><link>https://community.element14.com/thread/216849?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2023 20:09:10 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:e6105364-9bdb-429d-b2bd-df9272f705de</guid><dc:creator>scottiebabe</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/216849?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/53999/and-the-pic-fans-go-wild---pic18-in-tesla-roadster-bms/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;LOL&amp;nbsp;&lt;span class="emoticon" data-url="https://community.element14.com/cfs-file/__key/system/emoji/1f62d.svg" title="Sob"&gt;&amp;#x1f62d;&lt;/span&gt; That;s too funny! Lots of standby legends BAT54, 1n4148, LP2985&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: And the PIC Fans go wild - PIC18 in Tesla Roadster BMS</title><link>https://community.element14.com/thread/216848?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2023 20:05:04 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:42bf2d41-ae56-4d1a-8d61-fbde831ee7cc</guid><dc:creator>Jan Cumps</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/216848?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/53999/and-the-pic-fans-go-wild---pic18-in-tesla-roadster-bms/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;checking for a 555 timer ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>PIC10F microcontroller output pin tolerance to overriding voltages</title><link>https://community.element14.com/thread/53923?ContentTypeID=0</link><pubDate>Mon, 06 Nov 2023 09:44:42 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:70233cfb-9929-469f-bce0-c50676eb14c9</guid><dc:creator>davebullockmbe</dc:creator><slash:comments>8</slash:comments><comments>https://community.element14.com/thread/53923?ContentTypeID=0</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/53923/pic10f-microcontroller-output-pin-tolerance-to-overriding-voltages/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;I am using PIC10F microcontrollers in a wireless project that has evolved into needing to use an &amp;#39;in circuit&amp;#39; programmable radio IC.&lt;/p&gt;
&lt;p&gt;The problem is that the GP2 pin of the PIC would be connected to the DATA input (and programming) pin3 of the radio IC. &lt;br /&gt;The whole circuit is running off 3v7 lipo battery. &lt;br /&gt;My question is will the PIC GP2 output be destroyed when programming the radio IC. ?&lt;/p&gt;
&lt;p&gt;Thanks in anticipation....&lt;/p&gt;
&lt;p&gt;Dave&lt;img style="max-height:360px;max-width:640px;" src="https://community.element14.com/resized-image/__size/1280x720/__key/communityserver-discussions-components-files/23/circuit.jpg" alt=" " /&gt;&lt;/p&gt;</description></item><item><title>RE: PIC10F microcontroller output pin tolerance to overriding voltages</title><link>https://community.element14.com/thread/216250?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2023 09:17:26 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:46fb7e84-ffb2-40ee-a208-8d20a9564f82</guid><dc:creator>michaelkellett</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/216250?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/53923/pic10f-microcontroller-output-pin-tolerance-to-overriding-voltages/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;You can set GP2 as an input to prevent it from loading the radio pin during programming:&lt;/p&gt;
&lt;p&gt;From the Microchip data sheet.&lt;/p&gt;
&lt;p&gt;5.2 TRIS Registers&lt;br /&gt;The Output Driver Control register is loaded with the&lt;br /&gt;contents of the W register by executing the TRIS f&lt;br /&gt;instruction. A &amp;lsquo;1&amp;rsquo; from a TRIS register bit puts the corresponding&lt;br /&gt;output driver in a High-impedance mode. A&lt;br /&gt;&amp;lsquo;0&amp;rsquo; puts the contents of the output data latch on the&lt;br /&gt;selected pins, enabling the output buffer. The exceptions&lt;br /&gt;are GP3, which is input only and the GP2/T0CKI/&lt;br /&gt;COUT/FOSC4 pin, which may be controlled by various&lt;br /&gt;registers. See Table 5-1&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;MK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PIC10F microcontroller output pin tolerance to overriding voltages</title><link>https://community.element14.com/thread/216235?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 20:58:41 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:e45cd2d0-8f37-419f-94cb-c904d7ad6778</guid><dc:creator>davebullockmbe</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/216235?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/53923/pic10f-microcontroller-output-pin-tolerance-to-overriding-voltages/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Yes the problem with adding a diode in series with the data line is as you say the data pin of the radio chip will float and so need a resistor to pull it down. Unlike Microchip datasheets I cannot find any information about the internal structure of these radio IC&amp;#39;s ie. whether they have internal pull-ups/downs. I have just about run out of board space and am struggling to add even one more component. &lt;br /&gt;However putting the PIC10F202 into reset would be a great idea but doesn&amp;#39;t this need extra PIC code to force the o/p pins into tristate. I don&amp;#39;t think toggling MCLR does this on it&amp;#39;s own?&lt;br /&gt;Dave&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PIC10F microcontroller output pin tolerance to overriding voltages</title><link>https://community.element14.com/thread/216229?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 17:35:39 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:d017069e-c328-41c3-90d3-76b3325c4529</guid><dc:creator>scottiebabe</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/216229?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/53923/pic10f-microcontroller-output-pin-tolerance-to-overriding-voltages/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;If you could hold the processor in reset, GP2 would be tri-stated...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PIC10F microcontroller output pin tolerance to overriding voltages</title><link>https://community.element14.com/thread/216228?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 17:29:24 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9b7106cc-a25d-4a97-88c4-fec16af394fd</guid><dc:creator>dougw</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/216228?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/53923/pic10f-microcontroller-output-pin-tolerance-to-overriding-voltages/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Actually, you could replace R6 with&amp;nbsp;a diode and D2 with a resistor. Then you would just need a jumper to the data pin (and a cut to the original path).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PIC10F microcontroller output pin tolerance to overriding voltages</title><link>https://community.element14.com/thread/216227?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 17:22:46 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:72dfde02-0e1d-4ead-8c1d-b0f1a68bf048</guid><dc:creator>dougw</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/216227?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/53923/pic10f-microcontroller-output-pin-tolerance-to-overriding-voltages/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;You might also need a pull down resistor unless you can just short out D2.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PIC10F microcontroller output pin tolerance to overriding voltages</title><link>https://community.element14.com/thread/216219?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 15:24:49 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:6f6c345d-a179-4354-973f-0daf1d77740a</guid><dc:creator>davebullockmbe</dc:creator><slash:comments>2</slash:comments><comments>https://community.element14.com/thread/216219?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/53923/pic10f-microcontroller-output-pin-tolerance-to-overriding-voltages/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;HI thanks for your considered replies. I had thought about a jumper but board space is&amp;nbsp;too tight.&amp;nbsp; Maybe I can&amp;nbsp;make room for a 0402 schottky diode though. I was hoping I would get away without reworking the board but you have confirmed my doubts. Thanks Dave&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PIC10F microcontroller output pin tolerance to overriding voltages</title><link>https://community.element14.com/thread/216214?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 14:30:31 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:e8c357a6-a092-4980-9674-c7a510c66733</guid><dc:creator>dougw</dc:creator><slash:comments>1</slash:comments><comments>https://community.element14.com/thread/216214?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/53923/pic10f-microcontroller-output-pin-tolerance-to-overriding-voltages/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;Could you use a Schottky diode in series to protect the PIC?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PIC10F microcontroller output pin tolerance to overriding voltages</title><link>https://community.element14.com/thread/216204?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2023 13:53:12 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0291cefe-a606-4a4a-aa6d-9faf21657d3a</guid><dc:creator>JWx</dc:creator><slash:comments>0</slash:comments><comments>https://community.element14.com/thread/216204?ContentTypeID=1</comments><wfw:commentRss>https://community.element14.com/technologies/embedded/f/pic-micro-forum/53923/pic10f-microcontroller-output-pin-tolerance-to-overriding-voltages/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;maybe some OR gate could be placed between if external programming is needed? Or even removable jumper - even if GP2 will not be destroyed by forcing it into opposite state, it could interfere with programming signal...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>