Hi ,
We are planning to use the DA14531 module for sensor display unit , the display we are using is a spi display with 6 pins BUSY(input), RES(out), DC(out), CS(out), SCK(out), SDI(out), an i2c sensor with 3 pins (SCL,SDA,interrupt) and a buzzer (1 pin ) and as per our requirement we donot need to use the display , sensor and buzzer simultaneously . so total we need 10 pins to communicate . However the module has only 9 GPIO , of which 4 gpios(P0_0,P0_2,P0_5,P0_10) are shared and have predefined functions (SWCLK,SWDIO,RST,RXTX) . Is it possible to connect a spi display , i2c sensor and buzzer to the module by sharing some pins and managing at the software end ?
If it is possible could you kindly help with the schematic of the connections . I just wanted to clarify it before i buy the development kit .
Thanks a lot for your time and patience .
Hi sripathi
Thanks for your question online and for you interest in our BLE solutions. Let me check it and I’ll get back to you as soon as possible.
Let me also change the device selection in your initial post, as the question is related to the DA14531 Module and not to the DA14580.
Thanks, PM_Dialog
Hi sripathi,
My apologies for the delay. Which is the sensor display that you are planning to use? Are all the 6 pins needed and should be connected with the module’s GPIOs? Are you planning to use JTAG for the programming?
In the SW side, yes you can configure the same GPIO either as SPI or I2C. Since the GPIO will be shared with 2 interfaces, you should make sure that when interacting with one of them, the other is not affected. For example, suppose that the application starts toggling the I2C clock and the same GPIO is connected with SPI CS.
Can you please share a block diagram showing how you are considering to connect the interfaces with the module?
Thanks, PM_Dialog
Hi ,
我计划使用门限调试和the display is a spi display , it seems the busy pin is optional and on the software side it can be handled . thanks for your response , i have made a custom board for trying out various options with gpios , I will try it and post back in case of any problems .Thanks
Hi sripathi,
Thanks for let us know. If you need any further help for the evaluation, please create a new forum thread.
Thanks, PM_Dialog