Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModbusIP Atmega168 7,32Mhz #46

Open
Edxx-xx opened this issue Nov 10, 2019 · 1 comment
Open

ModbusIP Atmega168 7,32Mhz #46

Edxx-xx opened this issue Nov 10, 2019 · 1 comment

Comments

@Edxx-xx
Copy link

Edxx-xx commented Nov 10, 2019

Hi,

I use the Modbus library with board UNO and was working perfect.
The same program I compile to ATmega168 with clock 7,32Mhz (MiniCore boards) and looks that is stack. The program use 99% of the memory.
The test values are send to outputs of MCP23017 only if I disable line mb.task();

The problem is the memory or clock?

@Edxx-xx
Copy link
Author

Edxx-xx commented Nov 11, 2019

I change clock to 11.59 and with ATmega 168 no any change - program is stack.
When I replace ATmega168 with ATmega328P and leave clock 11,059 everything is working perfect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant