博文

目前显示的是标签为“BluetoothModule”的博文

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...

JL JieLi AC696N Development Board Tutorial – Low Power Basics: Reset and Wake-up Source Configuration for the AC6966B Chip

图片
  Introduction In battery-powered products, poor low-power performance renders all other features useless. The JL JieLi AC696N chip is widely used in Bluetooth headphone and speaker solutions—its power control fundamentals are solid. However, if you can't clearly identify the reset cause or configure the wake-up I/O correctly, you'll still encounter unexplained reboots or devices that won't wake up from sleep. When I was debugging low power on the AC696N development board, I found that while reset source printing and I/O wake-up configuration aren't complicated, the details are easy to miss. Here's a consolidated guide to the common configurations, so you can reference them directly when troubleshooting. I. How to Check the Reset Cause? Call the power_reset_source_dump() function, and the serial port will print the last reset cause, for example: • VDDIO POR: Power-on reset • WDT: Watchdog timer reset • SOFT RESET: Software reset This is extremely useful fo...