This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF52 spi_master_with_slave

currently i am using nrf52 as spi master with an imu as spi slave. based on the sdk code spi_master_with_slave, I write a sample test code to read the register value from the slave. however what i read is always FF no matter what i write to the register. 1.i comment out the buf check and int buff function 2.i set pin0.30 as ss pin and set it low when data are ready to transfer. the code is posted as follow test1.txt image description

Parents Reply Children
No Data
Related