MCF52232 QSPI 24-bit transfers

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

MCF52232 QSPI 24-bit transfers

1,285件の閲覧回数
miodragsm
Contributor I
Hi All!

I'm trying to interface ADE7758 (Energy Metering IC from Analog Devices) with MCF52232. The IC has 24-bit long registers and SPI interface. After reading referance manual for MCF52232 (MCF52235RM) and searching trough forums, I didn't find out if it is possibile to initiate 24-bit data transfers with QSPI?! The manual specifies that data transfers are 8-16 bit long with 1 bit increment. Does this mean that i can not transfer 24-bit long data with QSPI?

Regards
Miodrag

ラベル(1)
0 件の賞賛
2 返答(返信)

297件の閲覧回数
miodragsm
Contributor I
Thanks for reply.
Problem was solved by frescale tech support (very quick & proffesional, great service! ).
Long transfers  (longer than 16-bit) are managed by QCR[CONT] bit.
0 件の賞賛

297件の閲覧回数
admin
Specialist II
In case of QSPI inMCF52235RM is the same as QSPI in mcf5270, you can split the desired 24-bit word to two QSPI transfers. Possibly, ADE7758 demands to keep CS active between the first and the second transfer. The split can be either 16+8 or 12+12 or 8+16 bits.
0 件の賞賛