- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear sirs,
I am having trouble with the attached schematic design. The fitter fails due to the following errors:
Error: mpr.M0142: Invalid connection for output "\SSI_SPI:SCB\:spi_clk" connected to "\SSI_Reset:TCPWM\:reload". (App=cydsfit)
Error: mpr.M0142: Invalid connection for output "\SSI_SPI:SCB\:spi_clk" connected to "\SSI_Reset:TCPWM\:start". (App=cydsfit)
The problem occurs on the "Output Emulation" Schematic page, and relates to the SPI Slave named SSI_SPI and its related hardware connections. The error messages are especially concerning, because the SPI is configured as a slave and as such, the PSI_CLK should be an input, not an output. I have similar problems when I try to connect anything other than a logic "0" (for example a D flip-flop) to the SS input of the SPI block, I get
Error: ddb.M2006: Signal "Net_5900" driven more than once. (App=psoc_creator)
Error: ddb.M2006: Signal "Net_5900" driven more than once. (App=psoc_creator)
If anyone can help me see what I am doing wrong, it would be greatly appreciated.
(Note: The software compile will not finish as I have omitted most of the C files according to company policy).
Thanks,
Eric
Solved! Go to Solution.
- Labels:
-
PSoC 6 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Eric-san,
I tried your project.
And it seems that PSoC Creator is having hard time to find a signal path from Ebdat_sclk to both SSI_SPI->s_sclk and
SSI_Reset->Start, SSI_Reset_reload.
So I modified your schematic as below then I could let PSoC Creator generate application.
(This works only if you can allow to have an extra input pin and short Endat_sclk and Pin_1 externally though.
I'm assuming that this part is only for testing/emulating an external device.)
Best Regards,
15-Jan-2021
Motoo Tanaka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Eric-san,
I tried your project.
And it seems that PSoC Creator is having hard time to find a signal path from Ebdat_sclk to both SSI_SPI->s_sclk and
SSI_Reset->Start, SSI_Reset_reload.
So I modified your schematic as below then I could let PSoC Creator generate application.
(This works only if you can allow to have an extra input pin and short Endat_sclk and Pin_1 externally though.
I'm assuming that this part is only for testing/emulating an external device.)
Best Regards,
15-Jan-2021
Motoo Tanaka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Motoo-san,
I thought it might be something like that. Using a spare pin is a good suggestion, I will update the hardware layout to do it that way.
-=Eric Schumann