Hi , I want to change some rpinrxx and rpor registers with pps+ but the contents of these registers just don't change :
pps+ \ unlock the pps matrix $3f0d rpinr20 ! \ miso on rp13 is input on spi1 (rp13 = RB13) $0807 rpor7 ! \ mosi =function 7 , sck is function 8 pps- \ relock the matrix
this piece of code (and more is inside a colon defenition What am I doing wrong here ?
Regards, Ronny
Do you have this config bit OFF? It was ON in git.
#pragma config IOL1WAY = OFF
Hi Mikael , Thanks for the info. It was indeed on , programmed it to off , and now it works. Thanks ! Regards, Ronny
Log in to post a comment.
Hi ,
I want to change some rpinrxx and rpor registers with pps+ but the contents of these registers just don't change :
pps+ \ unlock the pps matrix
$3f0d rpinr20 ! \ miso on rp13 is input on spi1 (rp13 = RB13)
$0807 rpor7 ! \ mosi =function 7 , sck is function 8
pps- \ relock the matrix
this piece of code (and more is inside a colon defenition
What am I doing wrong here ?
Regards,
Ronny
Do you have this config bit OFF? It was ON in git.
Hi Mikael ,
Thanks for the info.
It was indeed on , programmed it to off , and now it works.
Thanks !
Regards,
Ronny