Skip to content

Support "RX BCLK" when transmitting audio data #8226

Open
@jepler

Description

@jepler

It's possible to use a pin designated "RX BCLK" when transmitting audio data. This can be done, but circuitpython lacks the necessary code. This may be necessary for some boards such as the micromod.

Here's a snippet from micropython:

    } else if ((self->mode == TX) && (i2s_gpio_map[sck_index].mode == RX)) {                 
        saiConfig.syncMode = kSAI_ModeAsync;                                                 
        SAI_RxSetConfig(self->i2s_inst, &saiConfig);                                         
        saiConfig.bitClock.bclkSrcSwap = true;                                               
        saiConfig.syncMode = kSAI_ModeSync;                                                  
        SAI_TxSetConfig(self->i2s_inst, &saiConfig);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions