Not sure if this is the proper venue for a bug report:
In nrf_nvmc.h
(from SDK v12.2.0)
/**
* @brief Write consecutive words to flash.
*
* @param address Address to write to.
* @param src Pointer to data to copy from.
* @param num_words Number of bytes in src to write.
*/
void nrf_nvmc_write_words(uint32_t address, const uint32_t * src, uint32_t num_words);
Note that documentation for num_words
indicates "Number of bytes in src to write"