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.

[参考译文] DLP-7970ABP:TRF7970ABP_RFID_Reader_Demo - Launchpad 端口

Guru**** 2446590 points
Other Parts Discussed in Thread: MSP430F5529

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

https://e2e.ti.com/support/wireless-connectivity/other-wireless-group/other-wireless/f/other-wireless-technologies-forum/1164752/dlp-7970abp-trf7970abp_rfid_reader_demo---port-to-launchpad

器件型号:DLP-7970ABP
主题中讨论的其他器件:MSP430F5529

大家好、

是否有人成功地将 TRF7970ABP_RFID_Reader_Demo 移植到 MSP430F5529的 LaunchPad 上(https://www.ti.com/tool/MSP-EXP430F5529LP)

当我将 Code Composer 中的这个演示项目重新定位到  MSP430F5529时、 我开始在 mcu.c、spi.c 和 uart.c 中遇到错误

我可以删除 UART.c、因为我不需要该功能、但不确定 SPI 功能、因为它们与 trf7970.h /.c 主文件紧密耦合。

在 spi.c 中、我会遇到这些错误

第139行

while (!(IFG2 & UCB0TXIFG));

第295行

P1SEL2 |= BIT5 + BIT6 + BIT7;// P1.5、1.6、1.7 UCBOCLK、UCB0SIMO、UCB0SOMI、选项选择

在 mcu.c 中

在 MCU_initClock 中获取错误。  

如果我纠正错误、IO 引脚是否仍会映射、例如 LaunchPad 上的芯片选择是否会正确映射到 DLP 7970-ABP?