FORUM TOPIC · READ ONLY
I2C - alternative pin
I2C - alternative pin
Forum : dsPIC Peripherals
3 message(s) · archive en lecture seule
Hello,
I am using dsPIC33FJ128MC804. I was wandering if there is setting on I2C block, that would allow me to switch to alternative pin-out (It is not re-mappable, but you have two pairs of pins to select from.. at least that is how I understand it)
I would rather use ASDA1 and ASCL1 (pin 42 and 43), than SDA1 and SCL1 (pin 44 and 1).
Is there some easy (tick box) way, or should I do that via c-function?
Thanks
Kind regards
Josef
I am using dsPIC33FJ128MC804. I was wandering if there is setting on I2C block, that would allow me to switch to alternative pin-out (It is not re-mappable, but you have two pairs of pins to select from.. at least that is how I understand it)
I would rather use ASDA1 and ASCL1 (pin 42 and 43), than SDA1 and SCL1 (pin 44 and 1).
Is there some easy (tick box) way, or should I do that via c-function?
Thanks
Kind regards
Josef
Re: I2C - alternative pin
This option has not been implemented yet.
I may have a look at it as it sound pretty easy to do.
Lubin
I may have a look at it as it sound pretty easy to do.
Lubin
Re: I2C - alternative pin
ok, would be great.
as for PIC I am using - Register Settings: BitField: ALTI2C, Register: FPOR, 1 = SDA1/SCL1, 0 = ASDA1/ASCL1
as for PIC I am using - Register Settings: BitField: ALTI2C, Register: FPOR, 1 = SDA1/SCL1, 0 = ASDA1/ASCL1