cancel
Showing results for 
Search instead for 
Did you mean: 

Using Nucleo 429ZI and implanting a simple SPI code , There are no signals on the SCK Mosi pins when sending data on SPI1

RKore.1
Associate II

I am using SPI1 as a Master full duplex , and checking in the Nucleo 429 zi  

 PA5   ------> SPI1_SCK

There is no clock , I using a scope and testing PA5 pin on the Nucleo 429 zi

I attach the code , its very short code

Here is the link to the pin description

https://os.mbed.com/platforms/ST-Nucleo-F429ZI/

8 REPLIES 8

Pull the schematic, CAD Resources Tab of product page.

Trace the wire from IC pin to header(s)

Watch for solder bridges and zero-ohm resistor options

Check GPIO clocks, Check GPIO register settings.

Check AF mux mapping. Check GPIO toggles manually

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
RKore.1
Associate II

Thanks Tesla

I can see the SPI1_SCK , the clk amplitude is about 0.5 volt , that is the reason i didn't see on the scope

Now i have to figure out why i don't see the MOSI

Do you have any suggestions

> Do you have any suggestions

Yes, he had suggestions. Read his post again. Start with the first sentence, do what it suggests, and then proceed to next one.

JW

RKore.1
Associate II

Thanks ,

I will do what you suggest

I test the program on some new Nucleo 429 zi   that i bought from digikey ,

and in all of them it is the same result

I test the program it on SDI 1,2 and it is the same GPIO signals has 3 volt amplitude

Raz

RKore.1
Associate II

Hi Tesla ,waclawek.jan

I did your recommended suggestions and they were OK , it was by multimeter and scope

  • Watch for solder bridges and zero-ohm resistor options --- OK as in the file attached
  • I did toggle one of the GPIO using software and it was working fine when measuring the pin - 0v --> 3.3 volt --> 0v

---Still have a problem ----

Is it OK that SDI SCK amplitude is 0.5Volt ?

Still do not see using a scope any signals on the MOSI pin

Mention that the pins are not connected to another board and i only measure by a scope each SDI pin

Regards

Raz

RKore.1
Associate II

Hi Tesla

After searching , I found this link in the internet

https://github.com/stm32duino/Arduino_Core_STM32/issues/1112

I think it will help me

What is your suggestions ?

Regards

Raz

RKore.1
Associate II

Hi Tesla

I think i found the Mosi signal , Its not PA_5 it is in in PB_5

Why it is written in the figure (Pin description) above PA_5 ad PB_5 are SPI1_MOSI

What is the difference ?

Regards

Raz

RKore.1
Associate II

Thanks for your help Tesla

the problem is solved