problems with spi

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

problems with spi

跳至解决方案
1,455 次查看
Nadia
Contributor III

Hi all, I'm having problems with SPI, I'm not able to get it to go fast and the signal doesn't look staggered, I'm using the SPI_MasterTransferBlocking function and the LPC54628 test board.

I am using the SPI_MasterTransferBlocking function and the LPC54628 test board. If anyone knows how to make the signal go at a frequency of 100 Hz and not be staggered.

Thank you very much.
Best regards.

0 项奖励
回复
1 解答
1,411 次查看
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello

You may use Config Tools to enable that clock:

Omar_Anguiano_0-1622490826436.png

Omar_Anguiano_1-1622490875603.png

Let me know if this is helpful, if you have more questions do not hesitate to ask me.
Best regards,
Omar

 

在原帖中查看解决方案

3 回复数
1,427 次查看
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello Nadia.

Hope you are well. The 100Hz baud rate is not reachable when the flexcomm has attached the 12Mhz clock. I suggest you use a lower flexcomm source so you can reach 100Hz.
I used the FRO_HF clock and divided the frequency to reach 1Mhz.

Omar_Anguiano_0-1622157196034.png

Let me know if this is helpful, if you have more questions do not hesitate to ask me.
Best regards,
Omar

1,424 次查看
Nadia
Contributor III

@Omar_Anguiano 

Thank you very much for your reply.

Could you tell me how I can enable that clock please?

0 项奖励
回复
1,412 次查看
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello

You may use Config Tools to enable that clock:

Omar_Anguiano_0-1622490826436.png

Omar_Anguiano_1-1622490875603.png

Let me know if this is helpful, if you have more questions do not hesitate to ask me.
Best regards,
Omar