This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] MSP432E401Y:定制电路板配置

Guru**** 2502205 points
Other Parts Discussed in Thread: MSP432E401Y, UNIFLASH

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1390828/msp432e401y-custom-board-configurations

器件型号:MSP432E401Y
主题中讨论的其他器件: UNIFLASH

工具与软件:

团队成员、您好!

我们使用 MSP432E401Y 制作了定制电路板。 由于不会对 MAC 地址进行预编程、因此我们使用了 MAC id EEPROM 芯片。

是否确实需要将 MAC 地址存储在用户寄存器0和1中?

我尝试存储 Mac 地址如下。

 ui32User0 =(MacID_arr[0]和0xff)|((MacID_arr[1]和0xff)<< 8)|((MacID_arr[2]和0xff)<< 16);
   ui32User1 =(MacID_arr[3]和0xff)|((MacID_arr[4]和0xff)<< 8)|((MacID_arr[5]和0xff)<< 16);

 pui8MACArray[0]=((ui32User0 >> 0)和0xff);
   pui8MACArray[1]=((ui32User0 >> 8)和0xff);
   pui8MACArray[2]=((ui32User0 >> 16)和0xff);
   pui8MACArray[3]=((ui32User1 >> 0)和0xff);
   pui8MACArray[4]=((ui32User1 >> 8)和0xff);
   pui8MACArray[5]=((ui32User1 >> 16)和0xff);

当我使用 LaunchPad 对此进行测试时、帧从我填充到上述阵列中的 Mac 地址发送(在 Wireshark 中看到)、但从 uniflash 读取时、帧会显示预编程的 MAC 地址。 解决此问题的方法是执行解锁序列并将控制器擦除为出厂复位状态、就像 之后中所述

但对于定制电路板、如何将定制 MAC 地址编程到用户寄存器中?