SPI3 for thermocouple works ONE time on stm32f4 discovery!?!

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

ljfischer
Posts: 19
Joined: Sat Jan 04, 2014 5:03 am

Re: SPI3 for thermocouple works ONE time on stm32f4 discover

Post by ljfischer »

Problem solved. Bought the Zero Plus logic analyzer - that was the key. I was programming SPI3 CS as PAL_MODE_ALTERNATE(6). I thought this was necessary. It wasnt. I think it was only working before due to noise - it was sensitive. Bottom line is - CS wasnt dropping with the PAL_MODE_ALTERNATE(6). Removed that, CS dropped appropriately - everything worked as it was supposed to.

Thanks for the LA recommendation. Im glad to have it.
Post Reply