MCF52232 QSPI 24-bit transfers

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

MCF52232 QSPI 24-bit transfers

1,742 次查看
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 回复数

754 次查看
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 项奖励
回复

754 次查看
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 项奖励
回复