SPI TX FiFo is not sending data out

cancel
Showing results for 
Search instead for 
Did you mean: 

SPI TX FiFo is not sending data out

229 Views
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 Kudos
1 Reply

113 Views
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 Kudos