SPI TX FiFo is not sending data out

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SPI TX FiFo is not sending data out

437 次查看
christophosterl
Contributor I

Hi,

I have a problem with the SPI communication concerning the TX FIFO. I try to send 3 words through fifo without waiting active on the TCF flag afterwards, but handle in incoming data when the RX FIFO countains 3 words. So what I have done is to enable the FIFO and write three bytes with push. I have enabled the Interrupt Request Selects for TCF but the ISR is not called. When I have a look with in the registers from Debugger I see that data is not send out, but the Fifo counter is still 3. So is there anything I'm missing why data is kept in fifo in and not sent?

Thanks and best regards!

0 项奖励
1 回复

321 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi christophosterloh,

Sorry for my late reply!

Not sure about your MCU part number.(Seem that you are using K27)
Have you try to test the SPI example in latest MCUXPresso SDK_2.4.1_MK27FN2M0Axxx15?

(...\SDK_2.4.1_MK27FN2M0Axxx15\boards\frdmk28fa\driver_examples\dspi)

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励