JieLi Bluetooth Smart Speakers Developing: Getting Started with AC696N Speaker SoCs(2)
Continuing from our previous guide on debug output configuration, this post covers two more practical aspects of AC696N development: utilizing the USB DP/DM pins for serial printing and locating the compiled firmware files for programming. Getting Started with AC696N Speaker SoCs (Part 2) 2. Using USB DP/DM for Printing 2.1 Setting the Print Pins to DP/DM #define TCFG_UART0_TX_PORT IO_PORT_DP // IO_PORT_DM // Serial port transmit pin configuration 2.2 Turning Off Other Functions Related to DP/DM To avoid conflicts, other functions that use the DP/DM pins must be disabled: 2.2.1 Turn off PC mode #define TCFG_APP_PC_EN 0 2.2.2 Turn off USB function #define TCFG_UDISK_ENABLE DISABLE_THIS_MOUDLE // USB drive module enable 2.2.3 Turn off USB pin multiplexing #define TCFG_USB_DM_MULTIPLEX_WITH_SD_DAT0 DISABLE 2.2.4 If online audio effect tuning uses USB DP/DM, turn off the online tuning function #define TCFG_TOOL_TX_PORT ...