fix SerialPIO and update flyboard2040 board pin definition #950

Merged
flyrainning merged 3 commits from master into master 2022-11-03 18:35:40 +03:00
flyrainning commented 2022-11-02 12:44:11 +03:00 (Migrated from github.com)

fix SerialPIO receive large data error at 115200
update board flyboard2040core pin definition

fix SerialPIO receive large data error at 115200 update board flyboard2040core pin definition
earlephilhower (Migrated from github.com) reviewed 2022-11-02 17:01:24 +03:00
earlephilhower (Migrated from github.com) commented 2022-11-02 17:01:24 +03:00

Can you explain how you got the 2.025 factor, please?

Can you explain how you got the 2.025 factor, please?
flyrainning (Migrated from github.com) reviewed 2022-11-02 19:41:09 +03:00
flyrainning (Migrated from github.com) commented 2022-11-02 19:41:09 +03:00

I just try may times, (_baud * 2.025) can work normally both 9600 and 115200.
(_baud * 2) - 5 NOT work at 115200, but (_baud * 2) - 7 is ok, so I think is either (_baud * 2.025) or (_baud * 2) - 7

I just try may times, (_baud * 2.025) can work normally both 9600 and 115200. (_baud * 2) - 5 NOT work at 115200, but (_baud * 2) - 7 is ok, so I think is either (_baud * 2.025) or (_baud * 2) - 7
earlephilhower (Migrated from github.com) reviewed 2022-11-03 01:28:38 +03:00
earlephilhower (Migrated from github.com) commented 2022-11-03 01:28:38 +03:00

Could you please go with the - 7 instead of the multiplication? Physically, the PIO is running the same clock for all bauds and the same number of instructions, so I can kind of understand a fixed offset like -7 vs -5, but I can't justify a variable one.

Could you please go with the `- 7` instead of the multiplication? Physically, the PIO is running the same clock for all bauds and the same number of instructions, so I can kind of understand a fixed offset like `-7` vs `-5`, but I can't justify a variable one.
flyrainning (Migrated from github.com) reviewed 2022-11-03 10:25:44 +03:00
flyrainning (Migrated from github.com) commented 2022-11-03 10:25:44 +03:00

Already done

Already done
earlephilhower (Migrated from github.com) approved these changes 2022-11-03 18:35:07 +03:00
Sign in to join this conversation.