Using SSP with interrupts and FIFO

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Using SSP with interrupts and FIFO

1,362件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by JGold on Tue Jul 24 09:45:00 MST 2012
I have been trying to use the LCP1767 SSP port in SPI mode.  I can get it to work if I set the FIFO to 1 byte.  If I set it to more, it mostly works, but sometimes I don't get all my read bytes back.  Example, I'll send 20 bytes, and receive back only 19.

I am using linear buffers for the transmissions.

Does anyone have good working code using the FIFO and interrupts?
ラベル(1)
0 件の賞賛
返信
3 返答(返信)

1,278件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Lien.Nguyen on Mon Oct 08 18:56:15 MST 2012
Hi Tuhsar,
The example is got from lpc175x_6x repo at http://sw.lpcware.com/?p=lpc175x_6x.git&a=summary. IAR example is also available here.

Best Regards,
Lien
0 件の賞賛
返信

1,278件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tushar on Mon Oct 08 08:51:55 MST 2012
Hi,

I saw your post it was very helpful,
i went through the file u had uploaded but was unable to find EWARM folder as mentioned in the abstract of it.
I am using iar workbench for lpc1766 so i was unable to open it.

Please if you can help me out with it

Best regards
Tuhsar
0 件の賞賛
返信

1,278件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Lien.Nguyen on Fri Jul 27 03:23:36 MST 2012
Hi,
Did you get it work?
I attach an example for you. Hope that it's useful. :)

Best Regards,
Lien
0 件の賞賛
返信