가장 많이 본 글

이 블로그 검색

2018년 4월 26일 목요일

PIC Peripheral Pin Select

PIC Peripheral Pin Select(PPS: 주변장치 Pin선택기능)

  PIC24 또는 32 Series 중에는 주변장치 pin을 program에서 select 할 수 있는 기능이 있는 chip들이 있습니다. HW design시 routing이 꼬이지 않도록 하거나 최단거리 배선을 할때 상당히 유용하게 사용할 수 있습니다. 하지만 어느 Pin이나 마음대로 선택, 지정 할 수 는 없고 일정범위 내에서 가능 합니다. 또한 I2C 같은 장치는 고정핀 으로 되어 있으므로 유의 해야 합니다.

  Some processors of PIC24 or PIC32 series has Peripheral Pin Select(PPS) feature and they are very useful when designing Hardware to make routing untwisted or shortest path. But they can not be selected or specified for any pins on the chip and have range of flexibility. Moreover, there are peripherals having fixed pins like I2C, so care must be taken to use this feature.

  다음은 정리한 PIC24FJ128 사용예 입니다. 다른 chip들도 이런 방식으로 정리하고 사용하면 매번 datasheet를 들춰보는 수고를 줄여도 됩니다.


  다음은 PIC32MX350 사용예 입니다.
Click here to download PPS selection example

댓글 없음:

댓글 쓰기