Menu

MPLAB Xpress Evaluation Board PIC16F18345

Help
viscomjim
2017-11-04
2017-11-04
  • viscomjim

    viscomjim - 2017-11-04

    Will GCB work with this Xpress board, or does something special have to be written to be able to program this particular board?

    http://www.microchip.com/Developmenttools/ProductDetails.aspx?PartNO=DM164141

    I am using the Xpress board with the 16F18855 and GCB and it works great. Just want to try this board as the pic is very simular to the 16F18326 that I want to use in a couple of projects.

     
    • Anobium

      Anobium - 2017-11-04

      No reason why not. Give it a go and let us know how you get on.

       
  • viscomjim

    viscomjim - 2017-11-04

    OK. Just ordered 2 of them. Will post back when they arrive. Thanks Evan.

     
  • viscomjim

    viscomjim - 2017-11-11

    Well hell's bells. Received the xpress boards with the 16f18345 and can not for the life of me find a schematic to see what pins are used for the rx/tx to the usb, so I could set up the pps. JEEEEEZ Louise. Guess I need to get a couple of needles and chase the traces somehow. WTF....

     
  • viscomjim

    viscomjim - 2017-11-11

    A little digging finds RX on RA0 and TX on RA1. So did a quick test and all is well...

    #chip 16f18345,32
    
    'Generated by PIC PPS Tool for Great Cow Basic
    'PPS Tool version: 0.0.5.11
    'PinManager data: v1.55
    '
    'Template comment at the start of the config file
    '
    #startup InitPPS, 85
    
    Sub InitPPS
        UNLOCKPPS
    
            'Module: EUSART
            RXPPS = 0x0000    'RA0 > RX
            RA1PPS = 0x0014    'TX > RA1
            TXPPS = 0x0001    'RA1 > TX (bi-directional)
    
        LOCKPPS
    End Sub
    'Template comment at the end of the config file
    #define USART_BAUD_RATE 19200
    #define USART_TX_BLOCKING
    
    do
        HSerPrint "Pic16f18345 Xpress board test "
        HSerPrintCRLF 2
        wait 400 ms
    loop
    
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.