From: Marcin on
I have to add something. It behaves weird. When I try to up-sample the output, it behaves like there where 4 10-long samples. But when I try to down-sample, it treats it as a 40-long sample (see below). Any ideas why?

sample time set: 40, up-sample factor: 4, down-sample factor: 4

up-sample:

3,7,1,5,9,2,0,8,6 -> 3,0,0,0,3,0,0,0,3,0,0,0,3,0,0,0,7,0,0,0,7,0,0,0,7,0,0,0,7,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,...

down-sample:

3,7,1,5,9,2,0,8,6 ->
3,3,3,3,9,9,9,9,....

?
From: Marcin on
Question closed. I had simply used a signal of different sampling rate somewhere in the bus, what made the signal in question to be sampled with this "hidden" sampling rate. Terrible mistake;)