I2S Interrupt in STM32F407
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2017-03-02 5:17 AM
Posted on March 02, 2017 at 14:17
Hi.
I would like to use I2S interrupt, So I wrote following code, But none of the call back fanction not excuted!
could you please guide me where is my problem ?
note: I can get data in a pooling way with HAL_I2SEx_TransmitReceive(&hi2s2,Txbuff,Rxbuff,2,10);
//***********************************************************
uint8_t St=HAL_I2SEx_TransmitReceive_IT(&hi2s2,Txbuff,Rxbuff,2);
void HAL_I2S_RxCpltCallback (I2S_HandleTypeDef* hi2s)
{ Debugger_Send_Data('\n***RX***\n');}void HAL_I2S_TxCpltCallback(I2S_HandleTypeDef *hi2s)
{ Debugger_Send_Data('\n***TX***\n');}//***********************************************************
#i2s #stm32f407
Labels:
- Labels:
-
I2S
-
STM32F4 Series
0 REPLIES 0
