Skip to main content

L511C-Y6 Peripheral Mapping

Applies to L511C-Y6E (SDK target L511C_Y6E). Check pin multiplexing against the module specification and board schematic.

GPIOโ€‹

Tuya PinDefault functionGPIO/PADNotes
16NET_STATUSGPIO14Network indicator; network-light control unsupported in versions 0.0.4 and earlier, per reference
19MAIN_DTRPAD0Reserved for low-power module wakeup; not general GPIO
20MAIN_RIGPIO11 / PAD4MCU wakeup
21MAIN_DCDGPIO18
22MAIN_CTSGPIO19I2C1 multiplexing pin in the reference
23MAIN_RTSGPIO20I2C1 multiplexing pin in the reference
25STATUSGPIO12 / PAD5Multiplexed with PWM2

ADCโ€‹

ADC ports 0 and 1 support tkl_adc_read_voltage(), which reads voltage in millivolts. tkl_adc_read_data() and tkl_adc_read_single_channel() are not supported.

PWMโ€‹

Tuya PWMTuya PinPWM channel
028PWM0
129PWM1
225PWM2
320PWM3
416PWM4

The SDK supports basic channel control; multi-channel, polarity, and capture interfaces are unsupported.

I2Cโ€‹

The current SDK does not support I2C master transfers; the relevant APIs return OPRT_NOT_SUPPORTED.

SPIโ€‹

The current SDK does not support SPI.

UARTโ€‹

The UART interface pin mapping is not provided.

I2Sโ€‹

I2S wiring information is not provided.

Referencesโ€‹