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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

710 Views
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.

Labels (1)
Tags (1)
0 Kudos
2 Replies

571 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, eTPU SPI function offers only master mode.

pastedImage_1.png

0 Kudos

571 Views
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 Kudos