问题配置p1_6达14681-01

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
4 posts / 0 new
Last post
Anonymous (not verified)
问题配置p1_6达14681-01

Hi,

I am trying to setup a i2c bus on P1_6 and P1_7 for 14681-01.
There is a problem I can't seem to configure p1_6 as either SDA nor SCL. Is this pin reserved somehow?
I am using the freertos-retarget template for this. Every other pin i've tried works fine.

Thanks,
Mutahir

Device:
MT_dialog
Offline
Last seen:1 month 3 weeks ago
Staff
加入:2015-06-08 11:34
Hi mutahir,

Hi mutahir,

What do you mean that you can't configure p1_6 as an I2C pin ? What is that you are experiencing, can you please clarify ?

Thanks MT_dialog

mutahir (not verified)
Hi MT_dialog,

Hi MT_dialog,

So i want to configure p1_6 as either SDA or SCL. But when i do, I get write error to the i2C device. If I try the same program without using p1_6 It runs fine. I've checked the pin configuration through out the solution and p1_6 isnt assigned.

MT_dialog
Offline
Last seen:1 month 3 weeks ago
Staff
加入:2015-06-08 11:34
Hi mutahir,

Hi mutahir,

As far as i can tell there is no limitation in using the P1_6 on the 681, are you able to check with an analyser what goes wrong because from the description i am not able to tell or assume any reason why your program fails, as far as i can tell i can see the data properly on the bus with the P1_6 set as SCL when writting, and reading back an EEPROM memory returns proper data.

Thanks MT_dialog