This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problem Configuring P0.09 pin as SCL TWI

Hello,

I am trying to configure Pin P0.09 as SCL pin for TWI. But I am not getting any results with this pin while I get data when any other GPIO pins are configured as SCL pin. I am using PCA10028 Evaluation board. Please help me solve this problem.

Regards

Muhammad Nabeel Tahir

Parents
  • Hi Muhammad

    Yes you can, although it will be easier just using another pin for the SCL pin.

    To set P0.09 as a regular GPIO, do as the user guide says and cut SB23, then configure P0.09 as a regular GPIO in your software.

    If you need the UART you could always revert these changes, as this would be easiest. You can also connect another pin to the side of SB23 that is connected to the interface MCU and configure that pin as the TXD pin if you want a permanent change.

    Best regards,

    Simon

Reply
  • Hi Muhammad

    Yes you can, although it will be easier just using another pin for the SCL pin.

    To set P0.09 as a regular GPIO, do as the user guide says and cut SB23, then configure P0.09 as a regular GPIO in your software.

    If you need the UART you could always revert these changes, as this would be easiest. You can also connect another pin to the side of SB23 that is connected to the interface MCU and configure that pin as the TXD pin if you want a permanent change.

    Best regards,

    Simon

Children
Related