Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Modbus packets not working on the nucleo stm32h743zg #2746

Unanswered
thechordmaster asked this question in Q&A
Discussion options

I am trying to port the ardustim code https://gitlab.com/sampokong/ardu-stim to a nucleo board. a python based GUI will send cam/crank wheel definitions to the nucleo (connected to a w5500 module) over modbus tcp and suitable signals will be generated on the nucleo pins. while the modbus commands are being sent successfully, the board is not able to receive the packets to execute the signals. attaching the arduino code and the gui code. Any help is appreciated.
gui copy.txt
knockfinalcode_v3 copy.txt

You must be logged in to vote

Replies: 1 comment

Comment options

Hi @thechordmaster
Hard to help on this. Looking at your code, I would simply advise to add extern "C" before each HAL callback/handler.
ex:
extern "C" void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef *hadc) {

Else maybe ask on the forum, maybe someone already worked on this.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.