Skip to content

Commit

Permalink
fix(PeriphDrivers,CMSIS): SBISYS-216: Fix typos in SPI Rx Request Sel…
Browse files Browse the repository at this point in the history
…ect, new SVD file for MAX32690 (#775)

Co-authored-by: sihyung-maxim <[email protected]>
  • Loading branch information
Vitorbnc and sihyung-maxim authored Oct 24, 2023
1 parent 8a22a5b commit f1fa7ff
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 5 deletions.
26 changes: 24 additions & 2 deletions Libraries/CMSIS/Device/Maxim/MAX32690/Include/max32690.svd
Original file line number Diff line number Diff line change
Expand Up @@ -16256,7 +16256,7 @@ signal(s) on transition(s) from low to high or high to low when PM.USBWKEN is se
<peripheral derivedFrom="SPI0">
<name>SPI1</name>
<description>SPI peripheral. 1</description>
<baseAddress>0x400BE000</baseAddress>
<baseAddress>0x40047000</baseAddress>
<interrupt>
<name>SPI1</name>
<description>SPI1 IRQ</description>
Expand All @@ -16267,14 +16267,36 @@ signal(s) on transition(s) from low to high or high to low when PM.USBWKEN is se
<peripheral derivedFrom="SPI0">
<name>SPI2</name>
<description>SPI peripheral. 2</description>
<baseAddress>0x400BE400</baseAddress>
<baseAddress>0x40048000</baseAddress>
<interrupt>
<name>SPI2</name>
<description>SPI2 IRQ</description>
<value>18</value>
</interrupt>
</peripheral>
<!--SPI2 SPI peripheral. 2-->
<peripheral derivedFrom="SPI0">
<name>SPI3</name>
<description>SPI peripheral. 3</description>
<baseAddress>0x400BE000</baseAddress>
<interrupt>
<name>SPI3</name>
<description>SPI3 IRQ</description>
<value>56</value>
</interrupt>
</peripheral>
<!--SPI3 SPI peripheral. 3-->
<peripheral derivedFrom="SPI0">
<name>SPI4</name>
<description>SPI peripheral. 4</description>
<baseAddress>0x400BE400</baseAddress>
<interrupt>
<name>SPI4</name>
<description>SPI4 IRQ</description>
<value>105</value>
</interrupt>
</peripheral>
<!--SPI4 SPI peripheral. 4-->
<peripheral>
<name>SPIXR</name>
<description>SPIXR peripheral.</description>
Expand Down
6 changes: 3 additions & 3 deletions Libraries/PeriphDrivers/Source/SPI/spi_me18.c
Original file line number Diff line number Diff line change
Expand Up @@ -427,13 +427,13 @@ int MXC_SPI_MasterTransactionDMA(mxc_spi_req_t *req)
reqselRx = MXC_DMA_REQUEST_SPI1RX;
break;
case 2:
reqselTx = MXC_DMA_REQUEST_SPI2RX;
reqselRx = MXC_DMA_REQUEST_SPI2RX;
break;
case 3:
reqselTx = MXC_DMA_REQUEST_SPI3RX;
reqselRx = MXC_DMA_REQUEST_SPI3RX;
break;
case 4:
reqselTx = MXC_DMA_REQUEST_SPI4RX;
reqselRx = MXC_DMA_REQUEST_SPI4RX;
break;
default:
return E_BAD_PARAM;
Expand Down

0 comments on commit f1fa7ff

Please sign in to comment.