Hey Thorsten.
Thanks for your effort.
32 levels is nice :smile:
I have changed the files accordingly but still get an error here:
Creating object file for mbng_matrix.c
src/mbng_matrix.c: In function 'MBNG_MATRIX_DOUT_PinSet':
src/mbng_matrix.c:524:3: error: #error "Please adapt this code according to the different NUM_MATRIX_DIM_LEVELS"
make: *** [project_build/src/mbng_matrix.o] Error 1
i guess its because of this :
#if NUM_MATRIX_DIM_LEVELS != (MIOS32_SRIO_NUM_DOUT_PAGES/2)
but when i change
MIOS32_SRIO_NUM_DOUT_PAGES
to 64 i will run into the same problem you described when using 64 levels.
...also don´t i have to change mbng_dout.c too ?
#define NUM_DIM_LEVELS 16
/////////////////////////////////////////////////////////////////////////////
//! local variables
/////////////////////////////////////////////////////////////////////////////
static const u32 dim_pattern[NUM_DIM_LEVELS] = {
0x00000000, // 0
0x00000001, // 1
0x00010001, // 2
0x01010101, // 3
0x01010103, // 4
0x01030103, // 5
0x03030303, // 6
0x03130313, // 7
0x13131313, // 8
0x33333333, // 9
0x33373337, // 10
0x37373737, // 11
0x77777777, // 12
0x777f777f, // 13
0x7f7f7f7f, // 14
0xffffffff, // 15
if so, how does the dim_pattern change ?
thank you very much for your time .
ps. my coding skills are very low .
best regards