Other Parts Discussed in Thread: MOTORWARE
Hi,
a customer is trying to get to the bottom of why in their case the Flash2806x_ToggleTest does not produce the desired 10kHz toggle rate. In fact the customer reports in the order of 1.35MHz, so >100x the speed.
Here are the assumptions:
[] The Flash2806x_ToggleTest ROM entry point is 0x003FFE7 (is this correct)
[] Device_cal is being called at 0x003D7C80
[] CPU_RATE is 12.500L
[] The SCALE_FACTOR is being generated using the unmodified header Flash2806x_API_Config.h
[] Flash_CPUScaleFactor@0xD02 and Flash_CallbackPtr@0xD04 are being set within an EALLOW/EDIS frame.
[] The PLL is tuned to align with the frequency specified in this header (80MHz with PLLCR=16 and DIVSEL=2).
[] The indication that the PLL is correct is: The CAN bus is able to operate off the specified frequency (BRPREG = 4, TSEG1REG=4, TSEG2REG=1, SJWREG=0) indicating it’s at the expected rate.
Are we missing any other parameters for the 10kHz desired speed?
Are the entry points potentially wrong?
Here are the entry points in use
abs 003d7c80 _Device_cal
abs 003ffe7 _Flash2806x_ToggleTest
abs 003ffef3 _Flash2806x_APIVersionHex
Is there anything else to consider to achieve 10kHz toggling rate?
Thanks,
--Gunter