eTPU function selector doesn't contain SPI function for slave mode. Where can I download eTPU SPI slave mode example?

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

eTPU function selector doesn't contain SPI function for slave mode. Where can I download eTPU SPI slave mode example?

1,084 次查看
alexey_bezgodko
Contributor I

1) eTPU function selector https://www.nxp.com/webapp/etpu/ contains example only for eTPU SPI master mode function. Example code for mpc5777c contains only binary etpu micro-program in the etpu_code array variable and I have no ideas how to change it to adopt eTPU SPI to slave mode. (no pseudo-code or another logic that can be translated to binary code) But it is required etpu spi slave mode api/example. Can you provide me the slave mode etpu SPI api/example?

2)  Also etpu-c spi example for mpc5777c doesn't contain some files mentioned in the readme.txt (fetched form downloaded zip-archive) - util\init_template\etpu_gct.c, util\init_template\etpu_gct.h

3) Document related with eTPU SPI - AN2847 contains the references to the some source code files (spi_ppc_example.h, spi_ppc_example.c, spi_mcf_example.h, spi_mcf_example.c, spi_mcf_example_global_etpu_gct.h, spi_mcf_example_global_etpu_gct.c) that are absent in target zip-files.

标签 (1)
标记 (1)
0 项奖励
回复
2 回复数

945 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, eTPU SPI function offers only master mode.

pastedImage_1.png

0 项奖励
回复

945 次查看
johndiener
Contributor IV

An enhanced SPI eTPU driver that supports both master and slave configurations can be found at GitHub - jddiener/SPI-eTPU: This project is a SPI eTPU driver that includes many enhancements beyond... .

John Diener
0 项奖励
回复