본문으로 건너뛰기

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​