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

What is second final product of nrf52840?

Hi,

By taking a look at the source code in https://github.com/NordicSemiconductor/pc-nrfconnect-rssi.git, I found the following patch file under fw/src/usbd.patch. It mentions second final product:

--- sdk/components/drivers_nrf/usbd/nrf_drv_usbd_errata.h 2018-03-22 15:25:08.000000000 +0100
+++ sdk/components/drivers_nrf/usbd/nrf_drv_usbd_errata-fixed.h 2018-05-22 10:28:46.995420800 +0200
@@ -99,6 +99,19 @@
}
/**
+ * @brief Internal auxiliary function to check if the program is running on second final product of
+ * NRF52840 chip
+ * @retval true It is NRF52480 chip and it is second final product
+ * @retval false It is other chip
+ */
+static inline bool nrf_drv_usbd_errata_type_52840_fp2(void)
+{
+ return ( nrf_drv_usbd_errata_type_52840() &&
+ ( ((*(uint32_t *)0xF0000FE8) & 0xF0) == 0x20 ) &&
+ ( ((*(uint32_t *)0xF0000FEC) & 0xF0) == 0x00 ) );
+}
+
+/**
* @brief Function to check if chip requires errata 104
*
* Errata: USBD: EPDATA event is not always generated.
@@ -160,7 +173,8 @@
*/
static inline bool nrf_drv_usbd_errata_187(void)
{
- return NRF_DRV_USBD_ERRATA_ENABLE && nrf_drv_usbd_errata_type_52840_fp1();
+ return NRF_DRV_USBD_ERRATA_ENABLE &&
+ (nrf_drv_usbd_errata_type_52840_fp1() || nrf_drv_usbd_errata_type_52840_fp2());
}
/**
May I ask, what is second final product of nrf52840? And when it will be released?
Thanks,
Vincent
Parents Reply Children
No Data
Related