Studio Bluetooth Forum Discussions
Please can you explain the Hardwaruser-guide code
BSC-i2c
/*code*/
include wiced_hal_i2c.h.
#define I2C_SLAVE_ADDRESS (0x76)
#define I2C_SLAVE_OPERATION_READ 0
#define I2C_SLAVE_OPERATION_WRITE 1
void test_i2c_driver( void )
{
/*What does it mean ="123456" ¿number bytes?*/
uint8_t data_array[] = "123456";
wiced_hal_i2c_init(WICED_I2C_SDA_P35_SCL_P37);
wiced_hal_i2c_get_speed( );
wiced_hal_i2c_set_speed( I2CM_SPEED_100KHZ );
wiced_hal_i2c_write( data_array, sizeof( data_array ), I2C_SLAVE_ADDRESS);
wiced_hal_i2c_read( data_array, sizeof( data_array ), I2C_SLAVE_ADDRESS);
WICED_BT_TRACE( "Read bytes %s\n\r", data_array );
it does not work
Please Help.
Thanks you team
Show LessAs a follow on to this closed thread: CYW20719 - I2S Driver / APIs
I was hoping that perhaps somebody could supply some information on how to access the I2S interface. Specifically, i am programming a CYW920719. My application requires a DAC/CODEC but the sink data does NOT come from a BT Peer, but rather the application itself. Do I need the entire A2DP and an BT Peer simply to stream application produced data to a DAC/CODEC?
Show LessHi,
I want use 20706 to connect one master and more slavers.
And when I connected the third peripheral, directly return the connection down error. The disconn reason is 0x04.
I tried a variety of connection parameters ,but all of them didn't work.
Hi
Could you tell me the state of the following pins during reset?((Hi-Z state?)
16pin UART_TXD
17pin UART_CTS
18pin UART_RTS
20pin UART_RXD
Thanks
Yang
Show LessHello,
Is it possible for the application to some how signal from the wiced_transport_data_handler_t [1] callback to the caller that the data can not be consumed at the moment? In which case the caller would stop reading data from the UART HW which would cause the RTS to rise?
br, Pekka Ervasti
[1]
/** Wiced transport data handler
* Call back registered by the application to recieve data. Application has to free the
* buffer in which data is received. Use the API wiced_transport_free_buffer to free
* the rx buffer
*
* @param[in] p_data : Pointer to the received data buffer.
* @param[in] data_len : length of the data pointed to by p_data in bytes.
*
* @Return the status in case of UART in HCI mode
*/
typedef uint32_t (*wiced_tranport_data_handler_t)( uint8_t* p_data, uint32_t data_len )
Show Lesshelp please
I have cyw920706 and i need check HFP profile. I use hci_audio_gateway example code and generate sine via MCU and route via I2S to module. Аs far as I know parametrs of PCM auto-sync with PCM_CLK and PCM_FRAME_SYNC, but when i connected bluetooth headset, i'm not hear sound. I was configuring module to I2S slave mode. Have module another parametrs which i can configuring?
Show Less