djougue
Newbie level 5
good morning,
please i have a problem when trying to interface sim900 by a microcontroller(pic24F256GB106) in a given board. Indeed, SIM900 and pic24F256GB106 are related as follows:
RF1 pin with TX
RF0 pin with RX
since that the pin corresponding to RF1 is not RPORT, how can i define RF1 as the transmission pin of UART2 module? such that i will be able to send AT command to sim900 by this port.
I only know to define TX,RX pin in UART2 using RPOR Or RPIN as follow:
RPINR19bits.U2RXR = 24; // Assign RD1/RP24 to U2RX (input)
RPOR11bits.RP22R = 5; // Assign RD3/RP22 to U2TX (output)
in other word how can i use other pins as TX and RX pin in UART2 module?
please i have a problem when trying to interface sim900 by a microcontroller(pic24F256GB106) in a given board. Indeed, SIM900 and pic24F256GB106 are related as follows:
RF1 pin with TX
RF0 pin with RX
since that the pin corresponding to RF1 is not RPORT, how can i define RF1 as the transmission pin of UART2 module? such that i will be able to send AT command to sim900 by this port.
I only know to define TX,RX pin in UART2 using RPOR Or RPIN as follow:
RPINR19bits.U2RXR = 24; // Assign RD1/RP24 to U2RX (input)
RPOR11bits.RP22R = 5; // Assign RD3/RP22 to U2TX (output)
in other word how can i use other pins as TX and RX pin in UART2 module?