I2C - alternative pin

Post Reply
Bobes
Posts: 36
Joined: Wed Nov 25, 2009 11:27 am
Location: Brno, CZE
Contact:

I2C - alternative pin

Post by Bobes » Tue Jan 19, 2010 1:52 pm

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

LubinKerhuel
Site Admin - Expert
Posts: 616
Joined: Wed Mar 07, 2007 11:23 pm
Location: Bayonne- France
Contact:

Re: I2C - alternative pin

Post by LubinKerhuel » Tue Jan 19, 2010 2:03 pm

This option has not been implemented yet.

I may have a look at it as it sound pretty easy to do.

Lubin

Bobes
Posts: 36
Joined: Wed Nov 25, 2009 11:27 am
Location: Brno, CZE
Contact:

Re: I2C - alternative pin

Post by Bobes » Tue Jan 19, 2010 2:07 pm

ok, would be great.
as for PIC I am using - Register Settings: BitField: ALTI2C, Register: FPOR, 1 = SDA1/SCL1, 0 = ASDA1/ASCL1

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests