SPI for NBP8

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

SPI for NBP8

Jump to solution
1,090 Views
CaoRq
Contributor II

Hi,NXP

   I need to use pressure sensor NBP8,  but when I try to operate it by spi, I meet some problems

   when I need external host  waking up the NBP8 ,should I pull up  CS_B/WAKE_UP pin then pull down it again after READY/INT pin pull up? if I do it , the response for NBP8 is always 0x1002.

   if I don't pull up and pull down CS_B/WAKE_UP pin ,when I try to operate register by spi , the response is always 0x2002.

   can you tell me how to solve it ?

   Thank you in advance

0 Kudos
Reply
1 Solution
1,063 Views
CaoRq
Contributor II

Thank you for you support .

    I find a solution ,before I transfer a command(2 bytes) , I need to pull up and pull down the CS_B pin, then I can get the correct response.  I follow the sequence shown in the image below

 

RunqiangCao_0-1694508252476.png

    I wonder whether I can transfer many commands without pulling up and pulling down the CS_B pin? 

View solution in original post

3 Replies
649 Views
Mason2
Contributor I

Mason2_0-1705485274021.png

Mason2_0-1705486306444.png

 

0 Kudos
Reply
1,072 Views
JozefKozon
NXP TechSupport
NXP TechSupport

Hi Cao,

please share a scope of the SPI signal when you try communicate with the NBP8. The CS_B pin must be low, when you want to wake up the NBP8 or you want to communicate with. 

JozefKozon_0-1694507096672.png

With Best Regards,

Jozef

1,064 Views
CaoRq
Contributor II

Thank you for you support .

    I find a solution ,before I transfer a command(2 bytes) , I need to pull up and pull down the CS_B pin, then I can get the correct response.  I follow the sequence shown in the image below

 

RunqiangCao_0-1694508252476.png

    I wonder whether I can transfer many commands without pulling up and pulling down the CS_B pin?