• AVR Freaks

Hot!Never mind: Unable to output on pin RA8 on PIC32MK

Author
realexander
Super Member
  • Total Posts : 235
  • Reward points : 0
  • Joined: 2006/04/08 09:50:42
  • Location: 0
  • Status: offline
2020/07/02 12:17:15 (permalink)
5 (1)

Never mind: Unable to output on pin RA8 on PIC32MK

Never mind. I had old code enabling DAC3 which grabbed the A8 pin. My bad. Sorry.
 
- Bob
 
Hi,
 
Has anyone had trouble outputting a signal on RA8 on a PIC32MK? I have a PIC32MK1024MCF064. I have the attached demo project. TRISA has bit 8 as zero, ANSELA has bit 8 zero, LATA has bit 8 set to one, but PORTA has bit 8 zero! Testing with a 'scope, I can confirm that the pin is low.
 
This happens on two different boards I've tried (completely different designs). On one of them pin RA8 has no connection. On neither board is the pin shorted to ground.
 
Pin RA8 is also the JTAG TDI, but I have #pragma config JTAGEN = OFF.
 
The errata says the ADC on this pin, AN26, is non-functional. But I'm using it as a digital pin, and there's nothing about that in the errata.
 
Any thoughts?
 
Thank you,
   Bob
 
post edited by realexander - 2020/07/05 07:51:13
#1

1 Reply Related Threads

    oldhickory
    New Member
    • Total Posts : 10
    • Reward points : 0
    • Joined: 2017/05/14 12:59:29
    • Location: 0
    • Status: offline
    Re: Help: Unable to output on pin RA8 on PIC32MK 2020/07/04 10:24:06 (permalink)
    0
    I would suggest making a simple single file test with just the pin test code to confirm the operation of that pin.  It is kind of hard for me at least to try and find all initialization happening through the harmony framework.
    #2
    Jump to:
    © 2020 APG vNext Commercial Version 4.5