Hi,
I am using the Sitara AM2634 on the Evaluation Kit desribed in SPRUJ09. I am trying to test the FSI performance. I did copy from the SDK 8.2.0.28 the example "fsi_loopback_polling_am263x-cc_r5fss0-0_nortos_ti-arm-clang" and did change to the FSI channel 2 in order to be able to measure the signals on J6 of the evaluation kit. Additionally I did disable the internal loopback. Running the program returns success after 100 messages or so.
However when I measure the clock on J6 of the Evalukation Kit (AM263x Control Card HW) I do get 3 MHz(!) instead of the the 50 MHz it should be according to the comments in this example. Actually I may make something wrong, however I did not touch the clock settings of the SoC. In the console window of CCS it does state:
CS_DAP_0: GEL Output: *********************************************************
CS_DAP_0: GEL Output: **********All R5F Cores Released for program load********
CS_DAP_0: GEL Output: *********************************************************
CS_DAP_0: GEL Output: SYS_CLK DIVBY2
CS_DAP_0: GEL Output: DPLL_CORE_HSDIV0_CLKOUT0 selected as CLK source for R5FSS & SYS CLKs
CS_DAP_0: GEL Output:
CLK Programmed R5F=400MHz and SYS_CLK=200MHz
Therefore I do assume that the system clock of the SoC is 200 MHz. Dividing this by four thats what the code of the example does would give 50 MHz. I do measure 3 MHz on J6 ... When I try to display the contents of the FSI 2 Tx Clock Control Register within CCS I do get: "00000012" at the address 0x502A0004. According to the TRM and registers documentation this makes sense. Clock is enabled and the 'PRESCALE_VAL' is 4 which is needed to get the 50MHz clock. I do run the sample code on CPU3 instead of CPU0. However I do assume this does not matter.
Any idea of what I could check next would be appreciated? As always we are a little bit on pressure with design decisions for this type of SoC for our project...
br
Markus
