Re: ADXL372_test (SPI Configuration issue)

2020-12-03 Thread Alan Carvalho de Assis
Please read the thread: "adxl372_test SPI Configuration" it could help you! On 12/3/20, Marlar Chan wrote: > Dear Nuttx, > > Currently I am testing with STM32F429_waveshare. It is same with > STM32F429_disco, so I add the new board into Nuttx. > Now, I'm trying to test with adxl372 sensor with

Re: adxl372_test SPI Configuration

2020-12-02 Thread Alan Carvalho de Assis
Hi Thiha, First you need to create a stm32_adxl345.c to call the SPIn that you want to initialize/use and initialize the adxl372 driver passing this spi interface. Please look at boards/arm/kl/freedom-kl25z/src/kl_adxl345.c to see how it is done for other board. Note that ADXL345 also uses an in