To use the FreeMODBUS demo on an AT91SAM3S Cortex M3 controller with the SAM3S-EK evaluation kit, you must hardware-modify the board to enable RS485 data transmission:
- Jumper Configuration: Place jumpers on JP11, JP10, and JP12.
- Solder Modification: Place a solder drop across resistor R25.
- Pin State Requirement: Because RS485 shares data lines with USART1, you must set pin PA23 to a high level.
Note on RS485 Biasing: If communication fails, ensure the RS485 line is biased correctly. The SAM3S-EK does not populate bias resistors by default. If your RS485 master also lacks biasing, you must populate R24 and R30 on the bottom side of the evaluation kit PCB to avoid receiving incorrect characters.