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

Standard Drive,Low Frequency I/O P1.07 & P1.05 can not configure as input output in BLE blinky example

Hi,

Greetings!

I want to use GPIO P1.07 & P1.05, which are specific Standard Drive,Low Frequency pins. 

I used these same gpio pins in SPI peripheral example and it running well but when I was going to integrate this code in BLE_peipheral_blinky example, the error fault occurs. I can not configure this two pins as input or output. The code is running well when I changed these IO pins and set as GPIO P0.30 & P0.31. 

Why I can't configure these specific pins in BLE_peripheral_blinky example? Is there any setting require to do in sdk_config file? I just don't get where is the exactly problem?

 I used BMD340 module and BMD340 evaluation board.  Can you please help me out?

Thanks in advance.

Regards,

Pooja Uchagaonkar

  • Hi Karl,

    I solved the issue. I changed the sdk_config file as per the ble_blinky project & further done changes as per peripheral requirements and it works. But I didn't get where is the exactly problem was happened. Might be I configured something wrong in that file.

    Actually I want two use two I2C peripherals and one SPI peripheral. I aware about the shared resources base address. So I am going to plan use TWI0 & TWI1 instance for two I2C sensors and SPIM2 instance for SPI peripheral respectively. Will you please confirm me for this?

    Thank you so much for your guidance. 

    Thanks,

    Pooja Uchagaonkar

  • Hello Pooja Uchagaonkar,

    Pooja Uchagaonkar said:
    Thank you so much for your guidance. 

    No problem at all, I am happy to help!

    Pooja Uchagaonkar said:
    I solved the issue. I changed the sdk_config file as per the ble_blinky project & further done changes as per peripheral requirements and it works.

    I am glad to hear that you were able to resolve your issue!
    It sounds reasonable that a configuration error was the cause of your issue.

    Pooja Uchagaonkar said:
    Actually I want two use two I2C peripherals and one SPI peripheral. I aware about the shared resources base address. So I am going to plan use TWI0 & TWI1 instance for two I2C sensors and SPIM2 instance for SPI peripheral respectively. Will you please confirm me for this?

    Yes, according to the shared resources ID table there is no conflict here, so this configuration will be fine.
    As a side note, you may also have multiple SPI / TWI slaves connected to the same bus, if you should want to add more peripheral slave devices later, but it is also fine to use one TWIM instance per peripheral device.

    Please do not hesitate to open a new ticket if you should encounter any other issues or questions.

    Good luck with your development!

    Best regards,
    Karl

Related