博文

目前显示的是 五月, 2026的博文

Engineer’s Work Log: Implementing Button-Triggered Pairing for TWS Paired Speakers on Jieli AC696N

图片
  Issue A customer is developing TWS paired speakers using the Jieli AC696N development board. They need to implement a “button-triggered pairing” function, but are unsure which IO pin to connect the button to and how to configure it in the code. Analysis & Reproduction When reviewing the Jieli AC696N TWS paired speaker example project, we found that pairing is typically triggered by an AD key or a regular GPIO key. The example project reserves the pairing button logic, but does not explicitly state the hardware connection or software configuration mapping. The correct setup requires cross-referencing the schematic diagram and the key scan module in the code. Solution Open the TWS paired speaker example project and locate the key configuration section: Hardware connection : It is recommended to connect the pairing button to PB4 (which is defined as an AD key channel in the Jieli AC696N factory firmware). Different buttons are distinguished by their AD sampling values. Code conf...

JL JieLi AC696N Series Development GPIO Control Encyclopedia: Modes, APIs, and Special Pins

图片
Introduction GPIO configuration seems simple, but there are plenty of cases where things go wrong. If the drive strength isn't set correctly, an LED might be too dim or not light at all. Without proper pull-up/pull-down configuration, button detection can be erratic. The most troublesome is the USB pin—it might default to a regular GPIO, and if you forget to switch its function, your PC won't recognize the device. The JL JieLi AC696N's GPIOs are quite versatile, with three drive strength levels (normal, strong, super strong) and various APIs. However, these functions are scattered throughout the documentation, and you often have to search for a while when using them. I've gone through the common GPIO configurations on the AC696N development board and organized them into a table, so you can quickly look them up when writing drivers. I. GPIO Operating Modes Input Mode: Can be configured as floating, pull-up, pull-down, or analog (for ADC). In input mode, output is disab...