This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2431: Tamagawa module not working on PRG1_PRU0

Part Number: AM2431
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hi, 

I am working on AM2431 ALV and trying to implement tamagawa encoder based on motro control sdk v9.2.0.09, with example tamagawa_diagnostic_signle_channel_am243x-evm.

Based on the experience on https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1417560/am2431-bissc-module-not-working-on-prg1_pru0?keyMatch=bissc&tisearch=universal_search

I have built the tamagawa firmware for PRU0, and have done the following changes,

For sysconfig, PRU is changed to ICSSG1 PRU0.

For tamagawa_diagnostic.c,

1. include "tamagawa_master_single_channel_bin.h", which is changed to use PRU0

2. in tamagawa_main, 

/* Initialize the priv structure according to the PRUx slice selected */
priv = tamagawa_init((struct tamagawa_xchg *)(
(PRUICSS_HwAttrs *)(gPruIcssXHandle->hwAttrs))->pru1DramBase, pruicss_cfg,pruicss_iep,slice_value);

pru1DramBase is changed to pru0DramBase.

 

It looks like I can't upload any file now.