2014-06-02 02:32 AM
Hello!
I'm working actually on a new project on the STM32F103C6 (i'm learning how to program on this �C)My problem is on the SPI. I have a component (temperature sensor), which send by SPI Data and I read the data on the USART, but the data are not correct.This sensor send two frames: the first always starts by 4C, is composed of 5 blocks of 8bits end finish by 0D (4C 14 2A 8A 0D for example)The second always starts by 66, is composed of 5 blocks of 8bits end finish by 0D (66 12 C3 3B 0D for example).Moreover the sensor sends the clock, and this clock is a 2Khz.You can find in the attached documents my project, could you please look, and help me to find a the solution?Kind regards #stm32 #spi2014-06-02 05:28 AM
I would like to previse, if you want some informations on my sensor, you can find the datasheet here: