LPSPI SEND question.

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

LPSPI SEND question.

Jump to solution
891 Views
mswd
Contributor I

hi.

i would like to use the send function of LPSPI0.

(LPSPI_DRV_MasterTransferBlocking)

but now there is no signal.(oscilloscope)

 

Attachment 1. H/W circuit diagram.

Attachment 2. config setting.

Attachment 3. code init.

 

i have a question here.

Is transmisson possible even with only LPSPI0_OUT?

Or should I connect another pin? (ex. LPSPI0_PCS1)

 

only the send function is needed.

what are the requirements for that feature?

 

(i using 32K146)

 

thank you.

0 Kudos
Reply
1 Solution
870 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi 

As the Master, you should at least initialize the Serial Clock pin.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
1 Reply
871 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi 

As the Master, you should at least initialize the Serial Clock pin.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1864911%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ELPSPI%20SEND%20question.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1864911%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CFONT%3E%3CFONT%3Ehi.%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3Ei%20would%20like%20to%20use%20the%20send%20function%20of%20LPSPI0.%3C%2FP%3E%3CP%3E%3CFONT%3E(LPSPI_DRV_MasterTransferBlocking)%3C%2FFONT%3E%3C%2FP%3E%3CP%3Ebut%20now%20there%20is%20no%20signal.(oscilloscope)%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EAttachment%201.%20H%2FW%20circuit%20diagram.%3C%2FP%3E%3CP%3EAttachment%202.%20config%20setting.%3C%2FP%3E%3CP%3EAttachment%203.%20code%20init.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3Ei%20have%20a%20question%20here.%3C%2FP%3E%3CP%3EIs%20transmisson%20possible%20even%20with%20only%20LPSPI0_OUT%3F%3C%2FP%3E%3CP%3EOr%20should%20I%20connect%20another%20pin%3F%20(ex.%20LPSPI0_PCS1)%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CFONT%3E%3CFONT%3Eonly%20the%20send%20function%20is%20needed.%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%3E%3CFONT%3Ewhat%20are%20the%20requirements%20for%20that%20feature%3F%3C%2FFONT%3E%3C%2FFONT%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E(i%20using%2032K146)%3C%2FP%3E%3CBR%20%2F%3E%3CP%3Ethank%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1865865%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20LPSPI%20SEND%20question.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1865865%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20the%20Master%2C%20you%20should%20at%20least%20initialize%20the%20Serial%20Clock%20pin.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3ERobin%3CBR%20%2F%3E-------------------------------------------------------------------------------%3CBR%20%2F%3ENote%3A%3CBR%20%2F%3E-%20If%20this%20post%20answers%20your%20question%2C%20please%20click%20the%20%22Mark%20Correct%22%20button.%20Thank%20you!%3C%2FP%3E%0A%3CP%3E-%20We%20are%20following%20threads%20for%207%20weeks%20after%20the%20last%20post%2C%20later%20replies%20are%20ignored%3CBR%20%2F%3EPlease%20open%20a%20new%20thread%20and%20refer%20to%20the%20closed%20one%2C%20if%20you%20have%20a%20related%20question%20at%20a%20later%20point%20in%20time.%3CBR%20%2F%3E-------------------------------------------------------------------------------%3C%2FP%3E%3C%2FLINGO-BODY%3E