PINs do not want to go HIGH on the PCB STM32 board - stm32

I just designed my first STM32 PCB board for STM32L476RG flashed it and tried to test it with togglePin. However multimeter doesn't show anything.
Here is the design for the STM32
I use nucleo board as a programator by unplagging jumpers and connecting jumper cables to debugger on the PCB board (so that computer can see the stm board)
I use LDO 5V to 3.3V for a power supply to stm32
Here is my settings for stm32 debug:
Although I designed a PCB for JTAG, for flashing microcontroller I use SWD just with JTMS and JTCK
-Here is my clock configuration (i am not using any additional crystal):
I assigned gpio pins as Output in CubeMX but non of them are not going HIGH.
Any thoughts on that? Or what can I possibly do?

Related

Can STM32F303 on-chip I2C be used, to connect to STM32F3DISCOVERY on-board gyroscope (I3G4250D or L3GD20)?

The STM32F3DISCOVERY board has an STM32F303VC microcontroller, which has built-in SPI and I2C support, and a gyroscope which supports both SPI and I2C.
Per the board's user manual and schematic, the gyroscope is connected to the microcontroller's PA5/6/7/PE3, which (under 'alternate function 5') are connected to its SPI1 bus (per the STM32F303VC datasheet).
So that makes it possible to use the on-chip SPI support to connect to this gyroscope.
But by keeping PE3 = CS_I2C/SPI high, the device (I3G4250D or L3GD20) runs in I2C mode, and the same PA5/7 pins can be used for I2C SCL+SDA.
My question: Is it possible to use the STM32's on-chip I2C support, to drive these PA5/7 pins and connect to this on-board gyroscope via I2C?
(I cannot find anything in the microcontroller's datasheet or reference manual, that would enable this. So the only alternatives seem to use SPI, or to do I2C by 'bitbanging' on PA5/7.)
There is no I2C on pins PA5 or PA7.
What you can do is put PA5 and PA7 into high impedance mode (input or analog mode) and then connect jumper wires from them to PB6 and PB7 respectively where the I2C function is available and pull-up resistors are already fitted.

Do I need a level converter for Raspberry Pi and STM32 to communicate via GPIO(UART) port?

I want to connect an STM32F407 Discovery board with a Raspberry Pi 4 Model B.
And I want to use UART as communication so I plan to use PD5&6 on STM32 and Pin8&10 on RPi. But after looking up online it says that the voltage of a STM32 port is 5V and RPi is 3.3V, so it seems that I need a level converter between them?
And there are also some articles says that not all the STM32 port are 5V, some are 3.3V. But I cannot find any of that information in the datasheet. Can anyone tell me where can I find these information?
Thank you very much ~ ~
The STM32 uses 3.3V as well. But it's 5V tolerant.
Just go ahead and connect them. There is no voltage difference.
You should have a look at the reference manual for that discovery board. It is here: STM32F407 Reference Manual.
There should be no issue connecting UARTs between those boards. Just remember to connect the TX from one to the RX of the other and vice versa. You can also use the CTS/RTS for flow control, but that isn't necessary as long as you are using baud rates of 115200 or slower.
Something else that I would recommended is to power the Raspberry Pi from the Discovery board. There should be pins for suitable power on the discovery. This is important because it gets both boards using the same power and ground so that the UART logic levels are consistent between the two. This may not be necessary, but I have had issues trying to connect two Nucleo boards SPI busses together if I didn't power one board from the other.

How to transmit value of adc stm32 Bluetooth low energy x-nucleo?

I use the "Nucleo idb04a1 bluetooth low energy" extention. I downloaded the CubeMX from ST website. I ran the example project and it works fine.
Now I want to transmit through UART the value of ADC pin of the board STM32 f401RE and read the value of my weight and flex sensors for my project and see the result on my smartphone.
Which libraries, functions and pins I need to use for my project ?
I use CubeMX to configure pins of my board.
Great regards

Connecting RFID Scanner, Display, weigh sensor and wifi shield to raspberry pi

I'm trying to connect multiple devices to my Raspberry Pi 3 B+. The components are RFID RC522, RPi LCD display, Load Sensor (strain gauge), and WiFi shield. All those are needed for my project. However GPIO pins overlap almost in every case. I do know that we can parallel the Voltage pin, however I'm super confused how to connect all of it on 1 board. If there's a channel splitter hardware solution or an extended version of RPi or in few words - what's the best way to do it - if possible. Thanks!
I couldn't find the right pictures for weigh sensor with HX711 and wifi shield, but all those need pins.
I think you should look into the MCP3008 ADC (analog to digital converter) as the raspberry pi has no analog gpio pins and it will allow you up to 8 analog sensors to be attached via 4 wires to the Rpi using SPI, For powering things use a breadboard rail to power your sensors from the Rpi but other gpio pins output 3.3v, to get more gpio pins use an MCP23008 chip through I2C. if you're using a Rpi 3 it has built in wifi or you can get a usb wifi antenna.

Coding Raspberry Pi with an ADC - SPI

I am trying to connect an analogue to digital converter to the raspberry pi. As far as I am able to understand, the RPi doesn't support Bi-directional SPI mode. The adc I am using says it is SPI compatible but only has the inputs SCLK, CNV and outputs CLKOUT+ and CLKOUT- and SD0+ and SD0-. This leads me to understand that it will only work with bi-directional SPI as there is only the serial data out. I am thinking of using a PWM for CNV (which I think CE), GPIO clock for SCLK and then an interrupt on the falling edge of the GPIO clock to just digitally read each bit from the adc. I don't understand SPI in detail but from what I've read quite often it requires sending data in order to receive it. Do you know if the setup I mentioned (without using SPI) will work? Or am I missing something about SPI and the adc will work with that while not in bi-directional mode?
We are using the Raspberry Pi 3 b
adc - http://cds.linear.com/docs/en/datasheet/232316fa.pdf
Thanks for any help you can provide.
Read the data sheet carefully, in particular pages 8 and 9. I suggest that you tie CMOS/LVDS pin to ground to enable CMOS mode. Then use only the "+"-pins. Use the SCK for SPI clock, SD01+ for SPI data input to the Rpi. Connect a GPIO pin to CNV.
Also observe that the RPi runs at 3.3V, and the ADC's max rating is also 3v3, that is running the IC right to the edge.