arduino / arduino/ArduinoCore-megaavr
TWI in slave mode using port PF2 and PF3
Open
- Dominant language
- C++
- Stars
- 111
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
I need to use the ATmega4809 with I2C configured in slave mode using pins PF2 and PF3.
The only way to obtain that is to add:
`PORTMUX.TWISPIROUTEA |= TWI_MUX;`
`TWI0.DUALCTRL = TWI_ENABLE_bm;`
after the `Wire.begin(4);`
Probably the instruction: `PORTMUX.TWISPIROUTEA |= TWI_MUX` is missing inside the function TWI_SlaveInit() in file twi.c
Those who have more experience than me can check.
Livio
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.