I am trying to use stm32l4 MCU (stm32l476 spi3 to be exact) to control dwm1000. Had some problems to read and write from/to dwm1000 reliably. Wonder if anybody has used stm32l4 MCU to communicate with dwm1000 or dw1000. Any
advises or better still, any example code? I have used raspberry pi and other sbc to control dmw1000. Thanks in advance.
I’ve used a STM32L432KC. I had problems with the SPI select pin. If you manages manually the NSS pin, you should use the same pin that ni the case of automaticaly managed. The four pins are the consecutive
I’m using an STMF103. Yes, it is an SPI wrapper. I’m using Mbed as an OS on the STM, which has wrappers for most (all) peripherals on an ARM chip. Makes it so you don’t have to touch registers for most things.
As for your statement to dpeinado. I never had an issue using any pin I wanted as a cs pin, and just controlling it via software.