How do I read the Extended MAC from JN5168 EEPROM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How do I read the Extended MAC from JN5168 EEPROM

跳至解决方案
1,323 次查看
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 解答
917 次查看
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.

在原帖中查看解决方案

3 回复数
918 次查看
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.

917 次查看
aonbasi
Contributor II

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

0 项奖励
917 次查看
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 项奖励