2024-07-25 02:09 PM - last edited on 2024-08-20 03:00 AM by Sarra.S
I use stm32h563 project with netxduo and need to set 1ms timer for rtos time base.
After changing TX_TIMER_TICKS_PER_SECOND to 1000 and NX_IP_PERIODIC_RATE to 1000 and generating new files from ioc i see following:
problem # 1
TX_TIMER_TICKS_PER_SECOND updated in tx_user.h (correct)
but NX_IP_PERIODIC_RATE is still 100, is seem like a bug, I defined it as 1000 at beginning of nx_user.h.
I would expect the generator to update the value here but that does not happen and it says commented
/*
#ifdef TX_TIMER_TICKS_PER_SECOND
#define NX_IP_PERIODIC_RATE TX_TIMER_TICKS_PER_SECOND
#else
#define NX_IP_PERIODIC_RATE 100
#endif
*/
problem # 2 is NX_SECURE_DTLS_MAXIMUM_RETRANSMIT_TIMEOUT 6000
before the rate change it was:
/* This option defines the maximum DTLS retransmit rate. The default value is
60 * NX_IP_PERIODIC_RATE. */
which make sense and it should stay the same to or be defined as 60000. 6000 seems like wrong value and I don't know how to fix that.
can someone confirm if these are bugs or what am I missing in the configuration gui for ioc for this to work correctly?
2024-08-20 03:29 AM
Hello @PR.10
In order to reproduce the issue, could you please provide more details on your setting project option if possible, attach your .ioc file/configuration?
2024-08-21 02:25 AM
Hello @PR.10, which CubeMX version are you using?
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-08-21 03:10 AM
cube IDE version 1.15.1
2024-08-21 03:29 AM
2024-08-21 03:41 AM
Thank you @PR.10
I escalated this issue to the dedicated teams for further investigation ( ticket 188973)
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.