GenericSPI: No inherited component assigned

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

GenericSPI: No inherited component assigned

跳至解决方案
596 次查看
asfarley
Contributor IV

I'm trying to configure the SPI1 bus using the FRDM-K22F. The PE component GenericSPI gives an error when added to the design: No Inherited Component Assigned. The SPI Channel dropdown does not contain any values. 

Configuring the SPIMaster_LDD component seems to work fine. I've already configured the SPI1 pins in the PinSettings component. 

Why can't I configure the GenericSPI component? Is there something I need to do first? 

0 项奖励
回复
1 解答
486 次查看
BlackNight
NXP Employee
NXP Employee

Hi Alexander,

The 'GenericSPI' component is for legacy HCS08 and ColdFire devices, and the 'SPI channel' points to their Init_SPIxxx component. So it is not applicable for Kinetis (as the API is different). The documentation for the component was not clear abou this (I appologize!), so I have updated it.

If you want to use a software (bit banging) SPI implementation, you could use the GenericSWSPI too:

pastedImage_1.png

Erich

在原帖中查看解决方案

1 回复
487 次查看
BlackNight
NXP Employee
NXP Employee

Hi Alexander,

The 'GenericSPI' component is for legacy HCS08 and ColdFire devices, and the 'SPI channel' points to their Init_SPIxxx component. So it is not applicable for Kinetis (as the API is different). The documentation for the component was not clear abou this (I appologize!), so I have updated it.

If you want to use a software (bit banging) SPI implementation, you could use the GenericSWSPI too:

pastedImage_1.png

Erich