Hi,
I have integrated SPIM interface using the default QSPI pins and have received 16MHz speed.
I would like to evaluate the high speed SPIM that runs at 32MHz for my application. Can you please provide a sample code for the same ?
regards,
Vinu
Hi,
I have integrated SPIM interface using the default QSPI pins and have received 16MHz speed.
I would like to evaluate the high speed SPIM that runs at 32MHz for my application. Can you please provide a sample code for the same ?
regards,
Vinu
H Vinu,
This is the SPIM sample available in NCS: https://github.com/too1/ncs-spi-master-slave-example/tree/master
You can set 32mbps in hardware while running at 128 MHZ.

Adding the following code in main() function can turn on the 128 MHz clock on CPU app
/* Use this to turn on 128 MHz clock for cpu_app */
nrfx_clock_divider_set(NRF_CLOCK_DOMAIN_HFCLK,
NRF_CLOCK_HFCLK_DIV_1);
H Vinu,
This is the SPIM sample available in NCS: https://github.com/too1/ncs-spi-master-slave-example/tree/master
You can set 32mbps in hardware while running at 128 MHZ.

Adding the following code in main() function can turn on the 128 MHz clock on CPU app
/* Use this to turn on 128 MHz clock for cpu_app */
nrfx_clock_divider_set(NRF_CLOCK_DOMAIN_HFCLK,
NRF_CLOCK_HFCLK_DIV_1);