Enabling other interfaces in CS47L63 driver

I was going through the driver files for CS47L63 and apparently I2C is not supported for some reason. Here is the code block I'm talking about

static uint32_t cs47l63_comm_i2c_reset(uint32_t bsp_dev_id, bool *was_i2c_busy)
{
	LOG_ERR("Tried to reset I2C, not supported");
	return BSP_STATUS_FAIL;
}

static uint32_t cs47l63_comm_i2c_read_repeated_start(uint32_t bsp_dev_id, uint8_t *write_buffer,
						     uint32_t write_length, uint8_t *read_buffer,
						     uint32_t read_length, bsp_callback_t cb,
						     void *cb_arg)
{
	LOG_ERR("Tried to read repeated start I2C, not supported");
	return BSP_STATUS_FAIL;
}

static uint32_t cs47l63_comm_i2c_write(uint32_t bsp_dev_id, uint8_t *write_buffer,
				       uint32_t write_length, bsp_callback_t cb, void *cb_arg)
{
	LOG_ERR("Tried writing to I2C, not supported");
	return BSP_STATUS_FAIL;
}

static uint32_t cs47l63_comm_i2c_db_write(uint32_t bsp_dev_id, uint8_t *write_buffer_0,
					  uint32_t write_length_0, uint8_t *write_buffer_1,
					  uint32_t write_length_1, bsp_callback_t cb, void *cb_arg)
{
	LOG_ERR("Tried to write double buffered I2C, not supported");
	return BSP_STATUS_FAIL;
}

Is there any explicit reason as to why these functions are disabled and not supported?

If I wanted to use I2C along with SPI for transfer between the codec and SoC, is that possible?

  •  Hi  

    I completely understand your frustration. We've encountered several bugs as well, especially when using the Nordic with the CS47L63. We're currently working on a similar interface, and I'm curious—would you mind sharing which vendor you switched to? It could be valuable insight for us as we evaluate our options.

    Thanks in advance, and I appreciate your input!

  • Hi,

    akhil said:
    We've encountered several bugs as well, especially when using the Nordic with the CS47L63.

    I am very sorry to hear that you encountered several bugs, and I am aware that this could cause some frustration. However, as we are dedicated to assist customers in their development activities, and constantly improve our products and offerings, I strongly recommend that you report such bugs by opening new tickets and we will try to assist you. 

    ace.johnny said:
    I grew weary enough of constantly debugging Nordic's code instead of writing my own that I eventually shelved my Audio DK as a lost investment and simply switched vendors.

    I am very sorry to hear that you shelved your audio DK and switched vendors. Are there any specific points with which you were particularly unsatisfied which led you to change vendor? 
    I hope that in the future we can improve and would once again be your preferred vendor.

    Best regards,
    Dejan

  • Hi  ,

    Thank you for your valuable feedback. We will consider your points and try to improve, better meet your expectations and have you as a satisfied customer once again in the future.

    Best regards,
    Dejan

Related