Hi engineers,
I want to use I2S or USB interrupt, but don't know how to configure.
Best regards,
Sean
Hi engineers,
I want to use I2S or USB interrupt, but don't know how to configure.
Best regards,
Sean
Strongly recommend to use the nRF5 SDK drivers to access the peripheral instead of configuring it directly. Using drivers will also help you understand their usage and give you more confidence to configure then directly in future (if you need to)
Hi Susheel,
Yes, I know this document "nRF5 SDK", but don't know how to configure it, such as interrupt entrance address, or just register a callback function.
Best regards,
Sean
I am also cannot see any example configuration about interrupt from the SDK driver.
The driver for I2S for example have init function you have nrfx_i2s_config where you can set the interrupt priority.the second argument will plugin your handler when the interrupt handler is called and When stopped, release all buffers, including these scheduled for the next transfer.
Thank you! I have another question. What's the difference of "I2S driver" and "I2S HAL" while using?