LPC845: Wrong value in SPI | TXDATCTL | EOT flag

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

LPC845: Wrong value in SPI | TXDATCTL | EOT flag

1,262 次查看
1234567890
Contributor IV

Hi,

the spelling name of the flag is mixed up with the opposite:

pastedImage_1.png

pastedImage_2.png

The tooltip for 'SSEL_not_deasserted' is correct, but the text itself is wrong: The flag is set so the text must be 'SSEL_deasserted'.

MCUXpresso 11.0, SDK 2.6.0 for LPC845.

By the way: The macro 'SPI_TXDATCTL_LEN(7)' is ab bit tricky, because this definition is for SPI 8 bit data length. I expected 'SPI_TXDATCTL_LEN(8)' for 8 bit data length and needed a logic analyzer to find out that the LEN field in TXDATCTL is +1 encoded. More precisely: That the macro is +1 encoded as well.

标签 (1)
0 项奖励
回复
1 回复

1,177 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

Thanks for your sharing.

BR

Alice

0 项奖励
回复