mikrobus board definitions for 28 or 20 pins PIC

Discussion on projects that are created by users and posted on mikroElektronika website.
Post Reply
Author
Message
TimCruise
Posts: 45
Joined: 04 Feb 2019 09:41

mikrobus board definitions for 28 or 20 pins PIC

#1 Post by TimCruise » 25 May 2023 08:04

Hello,
I am using EasyPIC v7a and mikroC Pro for PIC 8 bit MCUs.

As you know, there is no mikrobus board definitions for lower pin count PIC. So I made a mpkg file containing mikrobus board definitions for 28 or 20 pins PIC.

I altered the default generic gpio file and did the following replacements. I tested these board definitions on simulation only. So it may contain errors. Please correct them and upload here again.
mikroBUS BDF PIC.zip
mikroBUS Board Definitions for 28, 20 Pins DIP PIC MCUs
(8.56 KiB) Downloaded 30 times
mikroBUS Board Definitions for 28, 20 Pins DIP PIC MCUs.

For 28 Pins MCUs,
E0 to B4
E1 to B5
E2 to B6
ANSELE to ANSELB

For 20 Pins MCUs, in addition to the above mentioned replacement, set
B0 to B7
B1 to B7
A3 to A0
As the pin counts decrease, you may not use both mikrobus sockets at the same time. Please check carefully when you replace pins by another.
For my replacement scheme, you cannot use B0 and B1 at the same time on 20 pins PIC. :D

Post Reply

Return to “User Projects”