diff --git a/os/arch/arm/src/amebasmart/amebasmart_i2s.c b/os/arch/arm/src/amebasmart/amebasmart_i2s.c index 66d0898951..356ff3a79a 100644 --- a/os/arch/arm/src/amebasmart/amebasmart_i2s.c +++ b/os/arch/arm/src/amebasmart/amebasmart_i2s.c @@ -120,7 +120,7 @@ #define OVER_SAMPLE_RATE (384U) #define I2S_DMA_PAGE_SIZE 4096 /* 4 ~ 16384, set to a factor of APB size */ -#define I2S_DMA_PAGE_NUM 4 /* Vaild number is 2~4 */ +#define I2S_DMA_PAGE_NUM 8 /* Vaild number is 2~8 */ #ifdef CONFIG_PM static volatile bool i2s_lock_state = 0; diff --git a/os/board/rtl8730e/src/component/mbed/targets/hal/rtl8730e/i2s_api.c b/os/board/rtl8730e/src/component/mbed/targets/hal/rtl8730e/i2s_api.c index 7253db97e7..52ab23d4c7 100755 --- a/os/board/rtl8730e/src/component/mbed/targets/hal/rtl8730e/i2s_api.c +++ b/os/board/rtl8730e/src/component/mbed/targets/hal/rtl8730e/i2s_api.c @@ -20,7 +20,7 @@ #include "ameba_audio_clock.h" #include "amebasmart_i2s.h" -#define SP_MAX_DMA_PAGE_NUM 8 +#define SP_MAX_DMA_PAGE_NUM 9 /** @addtogroup Ameba_Mbed_API * @{