3 posts / 0 new
Last post
CoreyWilliamson
Offline
Last seen:4 years 11 months ago
加入:2014-10-10 06:29
Pinout Confusion

Hello,

I have been looking at the Data sheet for the pinout of the DA14583. The device has I2C (as well as some other functions I'd like to use) but it does not say which pin the SCL and SDA lines can be muxed to (just mentions Px) or how to select which pin the I2C bus will be used on. I was wondering if there is another reference/mapping I could look at to make sure there is not a limitation to what protocols I could use simultaneously. Can the I2C bus as well as UART lines be put on any of the Px pins?

Thanks,
Andy

Device:
MT_dialog
Offline
Last seen:2个月4天前
工作人员
加入:2015-06-08 11:34
Hi CoreyWilliamson,

Hi CoreyWilliamson,

All the pins have alternative functions please check the datasheet DA14583_DS_V1.1.PDF p117 table 207........

You can configure your driver pins by using the API, check GPIO_SetPinFunction in UM-B-004 document.

e.x. GPIO_ConfigurePin( GPIO_PORT_1, GPIO_PIN_2, OUTPUT, PID_UART2_TX, false );

Thanks MT_dialog

CoreyWilliamson
Offline
Last seen:4 years 11 months ago
加入:2014-10-10 06:29
Thanks for the help!

Thanks for the help!

Topic locked