Exact match. Not showing close matches.
'[PIC] Thoughts on Peripheral Pin Select'
Randy Glenn wrote:
> I'm also falling in love with Peripheral Pin Select on the PIC24Fs.
> UART, SPI, timer capture / compare can be routed to most any pin on
> the device, VASTLY simplifying the board layout. That the 28-pin
> device I'm using (PIC24FJ64GA002) has 2 I2C ports, 2 SPI Ports, 2
> UARTs, 5 16-bit PWMs, a built-in Real-Time Clock and Calendar, and a
> 500 ksps ADC is very impressive for a device that small, I think.
I like the PPS feature as well, but you have to be careful not to abuse it.
For instance, if you use the same firmware in several different devices, it
makes sense to pick a pinout, and stick with it. Then you don't have to
worry about maintaining different versions of the same code, just because
the pin definitions are different. Having different pinouts also adds to the
burden of documenting them.
If you use a bootloader, you want it to use the same pins for UART/CAN or
whatever you use to upgrade the firmware. So at the very least, those pins
should stay put (the app can then configure the rest, because normally it
should know what device it is running on).
> Randy Glenn wrote:
>> I'm also falling in love with Peripheral Pin Select on the PIC24Fs.
Also available on many newer PIC18 devices...
More... (looser matching)
- Last day of these posts
- In 2009
, 2010 only
- New search...