Remappable pin selection for PIC18F66J94

OP (Firma: Kynix Semiconductor HongKong L) #4812399
Lesenswert?
• ▲
▼
Hi all,
I am new to this series of controller but earlier i had worked with 
PIC24FJ256GB406.
In PIC24FJ256GB406 controller(see datasheet at 
http://www.kynix.com/Parts/158737/PIC24FJ256GB406-I%2FPT.html), any 
remappable pin can be configured for any type of peripheral feature for 
example we can map uart3RX on any of the remappable pin. There is no 
restriction to which remappable pin uart3rx has been connected. Based on 
this only i had designed my new design for PIC18F66J94 controller and 
got PCB fabricated also but i think i have done blunder in configuring 
the remappable pins.
For PIC18F66J94 controller, remappable pins have been grouped together 
and divided into different groups i.e. for using U3RX any one of these 
remappable pins can only be used i.e. 
RP0,RP4,RP8,RP12,RP16,RP20RP24,RP28,RP32,RP36,RP40 and RP44.
I didn't care for this grouping while designing the schematic.
Now i need to configure 3 uart lines through remappable pins as follows
RP3->RX,RP2->TX,RP1->RX,RP0->TX,RP18->TX,RP19->RX. I can't change the RX 
and TX lines on the slave device as they are non-remappable.
Out of these 3 i can configure only one set of uart line i.e. RP3 as 
U1RX and RP2 as U1TX. I want to know if there is any other possibility 
without changing the hardware connection?
Regards
#4813213
Lesenswert?
• ▲
▼
There is no way to get around the limitation caused by that mapping 
scheme.

The reason why Microchip calls it "PPS-Lite" is the restriction to only 
4 bits to select a distinct remappable pin (in contrast to PIC24).

As a result you can only choose from 16 different pins out of a total 
amount of 45 remappable pins available on that controller.
Splitting these 45 pins into 4 groups will cut the number down to less 
than 16 per group.

Antwort schreiben

Hinweis: der ursprüngliche Beitrag ist mehr als 6 Monate alt. Bitte hier nur auf die ursprüngliche Frage antworten, für neue Fragen einen neuen Beitrag erstellen.

Formatierung
  • [c]C-Code[/c]
  • [code]Code in anderen Sprachen, ASCII-Zeichnungen[/code]
  • [math]Formel in LaTeX-Syntax[/math]
  • [[Titel]] – Link zu einem Artikel
  • Verweis auf einen anderen Beitrag: Rechtsklick auf dessen Beitrags-ID (#8078628), „Adresse kopieren“, in den Text einfügen

Mehr zur Formatierung

Längeren Sourcecode als Anhang, nicht in den Text. JPG nur für Fotos und Scans; Zeichnungen und Screenshots als PNG oder GIF. Siehe Bildformate.

Schon registriert? Anmelden

Wird nicht angezeigt. Wir schicken dir einen Link; sobald du damit bestätigst, erscheint dein Beitrag.

Mit dem Abschicken legst du einen kostenlosen Account an und erkennst die Nutzungsbedingungen und die Datenschutzerklärung an.