problems with spi

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

problems with spi

Jump to solution
1,380 Views
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 Kudos
Reply
1 Solution
1,336 Views
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

 

View solution in original post

3 Replies
1,352 Views
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,349 Views
Nadia
Contributor III

@Omar_Anguiano 

Thank you very much for your reply.

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

0 Kudos
Reply
1,337 Views
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