SPI register for MPC8315E

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

SPI register for MPC8315E

665 次查看
xiaosaihu
Contributor I

I want to link a LCD with SPI interface in PPC8315erdb, but there is no SPI driver device.

I want to use the SPI interface by setting the SPI register value, however, I cannot find the  names of SPI registers

in the relevant header files. 

For example, I know that "Configure SPMODE to enable normal operation (not loopback), master mode, SPI enabled,
character length, and the fastest speed possible" and know the right address and value, but how I set in source code, is there a definited SPI register struct?

 

0 项奖励
回复
1 回复

575 次查看
alexander_yakov
NXP Employee
NXP Employee

Which Linux BSP you are using? If you are using our Linux BSP, than I see "SPI driver support" in readme.bsp file.
We do not offer driver for LCD connected via SPI, but standard SPI connumications like SPI read or SPI write should be supported in our BSP. Any higher-level driver is expected to be supplied by your LCD module vendor.

0 项奖励
回复