How do I read the Extended MAC from JN5168 EEPROM

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I read the Extended MAC from JN5168 EEPROM

Jump to solution
595 Views
dpilcher
Contributor II

Having an odd issue.  Mac address is showing all 0's in the MAC PIB.

I.e. 64bit extended address read like this

MAC_psPibGetHandle(s_pvMac)->sCoordExAddr.xxxx is all 0.

The unit has an address because when doing associations, it sets it in the response. 

I see hints of a function in a newer version of the API than I am using of a MMAC_GetAddress, but that isn't in my build.

So, any hints on reading it?  Perhaps a direct read from EEPROM?

(I tried doing a PIB reset first but still 0...)

Thanks!

1 Solution
189 Views
dpilcher
Contributor II

ok, found the address.  JN-AN-1003 v 1.9 shows the MAC is in address 0x1001580.

Took some finding!

Feedback to NXP: The NXP website is the worst to find application notes for a product.  Use many MCUs and your website sucks.

View solution in original post

3 Replies
190 Views
dpilcher
Contributor II

ok, found the address.  JN-AN-1003 v 1.9 shows the MAC is in address 0x1001580.

Took some finding!

Feedback to NXP: The NXP website is the worst to find application notes for a product.  Use many MCUs and your website sucks.

View solution in original post

189 Views
aonbasi
Contributor II

Hi David. Thank you for the solution. By the way I agree your complaint.

0 Kudos
189 Views
jurijhuebner
Contributor I

I need to read MAC Address and Custom MAC Address in my application. 

  • MAC Address :                    0x01001580 – 0x01001588
  • Custom MAC Address:     0x01001570 – 0x01001578

How could  I read them out?

0 Kudos