2016-08-29 05:02 AM
Hi! I am new to STM32 microcontrollers and SPI. I'm currently working on STM32F334R8T6 (Nucleo board 64-pin package) and need to configure it as spi full duplex master without crc for operating MAX31865 temperature sensor. I'm also confused about NSS. The chip select is high in idle state. Using the STM32Cube for configuring
Can I plz get an SPI sample code for this microcontroller either in polling or interrupt mode?? #stm32f334 #hal #spi #!stm322016-08-29 06:15 AM
Hi,
You can find a full set of running examples within the firmware package that can help you in SPI configuration.This example shows how to ensure SPI Data buffer transmission and reception using Interrupt mode: STM32Cube_FW_F3_V1.6.0\Projects\STM32F334R8-Nucleo\Examples_LL\SPI\SPI_TwoBoards_FullDuplex_ITYou can also get inspiration from this example which shows how to ensure SPI data buffer transmission/reception in Polling mode between two boards:\STM32Cube_FW_F3_V1.6.0\Projects\STM32F303RE-Nucleo\Examples\SPI\SPI_FullDuplex_ComPollingRegards2016-08-29 10:30 PM
2016-12-17 07:30 AM
I'm also trying to get SPI working with a MAX31865. Did you get this working? Can you share your code?
2016-12-17 11:37 AM
@Brian Beardmore -
I have interfaced MAX31865 with STM32F334 in polling method. My code is in Github. Here is the link to the repo -
/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FVishi100%2FSTM32F334_MAX31865
2017-03-17 02:56 AM
Bonjour from France,
I'm also trying to get SPI working with a MAX31865 with STM34F407 Discovery card with the STM standard libraries or HAL .Does anyone get this working?
I use COOCOX and ECLIPSE
I just begin in a project to reed temperature with a PT100 probe, I try to use this example
/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FVishi100%2FSTM32F334_MAX31865
but not working in F407 cpuThanks for your help
Manuel
2017-07-13 09:47 AM
Hi b_u.vishal,
I followed your instructions using cubemx but when I build the code or the empty one from cubemx, I get the message that the type is unknown for:
SPI_HandleTypeDef hspi1;
UART_HandleTypeDef huart2;
unknown type name 'SPI_HandleTypeDef' main.cunknown type name 'UART_HandleTypeDef' main.cThis causes one error after the other...
Do you have an idea what I can do?
The program has access to the libraries.Thank you for your help!