博文

Jieli Bluetooth Smart Speaker Development: Common Issues with AC696N SoCs

图片
During the development of Bluetooth smart speakers using Jieli's AC696N series SoCs, developers may encounter several common issues. This article summarizes these problems and provides corresponding solutions to help streamline the development process. 1. AC696N V1.7.0: Unable to Display SDK Version Number via Test Box When TWS is Enabled Problem Description: After enabling TWS (True Wireless Stereo) in AC696N V1.7.0 SDK, the test box cannot display the SDK version number. Solution: Register a new callback function to handle the SDK version information request. // Re-register a callback function bt_testbox_ex_info_get_handle_register(TESTBOX_INFO_SDK_VERSION, user_bt_get_sdk_ver_info); // Callback function example: u8 user_bt_get_sdk_ver_info(u8 len) { y_printf("Getting version number\n"); const char *p = sdk_version_info_get(); if (len) { *len = strlen(p); } log_info("sdk_ver:%s %x\n", p, *len); return (u8 *)p; } After Modification: The SDK version numb...

Jieli Bluetooth Smart Speaker Development: Key Considerations for AC696N SoCs

图片
When developing Bluetooth smart speakers based on Jieli's AC696N series of SoCs, paying attention to certain hardware and software details can significantly improve development efficiency and system stability. This article summarizes several key points, including RTC power supply, register debugging, AAC format support, and DAC fade-in settings. 1. Developing with RTC Functionality Note: The RTCVDD pin must be powered by an external power source , such as a button cell battery or IOVDD. Do not leave it floating or connect it to an inappropriate voltage rail. 2. Chip-Related Register Printing ADDA Register Value Printing The following functions can be used to dump the current state of the Audio DAC/ADC registers, which is invaluable for debugging audio issues. · Print all DAC and ADC registers: void audio_adda_dump(void) { printf("DAC_VL0:%x", JL_AUDIO->DAC_VL0); printf("DAC_TM0:%x", JL_AUDIO->DAC_TM0); printf("DAC_DTB:%x", JL_AUDIO-...