-
-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Labels
topic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
SPI.cpp sets MOSI idle state to low.
This is an error and it makes it incompatible with accepted convention and incompatible with many peripheral chips.
Please comment out the following lines.
ArduinoCore-renesas/libraries/SPI/SPI.cpp
Lines 435 to 437 in 5748045
/* set MOSI idle value to low */ | |
sppcr |= R_SPI0_SPPCR_MOIFE_Msk; | |
_spi_ctrl.p_regs->SPPCR = (uint8_t) sppcr; |
If you insist on leaving it like that then at least provide an API so it can be corrected by users.
Metadata
Metadata
Assignees
Labels
topic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project