Error: mpr.M0022

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lma
Level 3
Level 3
50 sign-ins 10 replies posted 5 questions asked

during build, I got the following in output tab

HDL Generation...
Synthesis...
Tech Mapping...
Error: mpr.M0022: "Net_232" is not a top level pin. Not expecting internal three-state signals. (App=cydsfit)
ADD: mpr.M0037: information: Unused pieces of the design have been optimized out. See the Tech mapping section of the report file for details.
* C:\Users\Larry\Documents\PSoC Creator\LMA Amp Rack APNA Simulation\crosspoint switch test.cydsn\codegentemp\crosspoint switch test.rpt (Tech mapping)
Dependency Generation...
Cleanup...
Error: fit.M0050: The fitter aborted due to errors, please address all errors and rebuild. (App=cydsfit)
--------------- Build Failed: 08/11/2022 10:13:49 ---------------

 

and the only error in the report file:

Error: mpr.M0022: "Net_232" is not a top level pin. Not expecting internal three-state signals. (App=cydsfit)
Converted constant MacroCell: \SPIM:BSPIM:so_send_reg\ from registered to combinatorial
Converted constant MacroCell: \SPIM:BSPIM:mosi_pre_reg\ from registered to combinatorial
<CYPRESSTAG name="Global Clock Selection" icon="FILE_RPT_TECHM">
Digital Clock 0: Automatic-assigning clock 'SPIM_IntClock'. Fanout=1, Signal=\SPIM:Net_276\
Digital Clock 1: Automatic-assigning clock 'Clock_1'. Fanout=1, Signal=Net_30
</CYPRESSTAG>

questions:
1) what is mpr.M0022 ?
2) how do i find "Net 232" ?
3) what is the actual problem that needs fixing ?

archived files attached

0 Likes
1 Solution

Larry,

You've assigned your SPI master to be Data Lines: Bidirectional.

 

Len_CONSULTRON_1-1660301987778.png

However you attached the sdat terminal on the SPIM component to a Digital output pin

Len_CONSULTRON_2-1660302102152.png

 

not a Digital Bidirectional pin.

If you change your xp_data to a Bidirectional pin,

Len_CONSULTRON_3-1660302186981.png

The error goes away.

 

Len
"Engineering is an Art. The Art of Compromise."

View solution in original post

0 Likes
3 Replies
lock attach
Attachments are accessible only for community members.
lma
Level 3
Level 3
50 sign-ins 10 replies posted 5 questions asked

now the files are attached

0 Likes

Larry,

You've assigned your SPI master to be Data Lines: Bidirectional.

 

Len_CONSULTRON_1-1660301987778.png

However you attached the sdat terminal on the SPIM component to a Digital output pin

Len_CONSULTRON_2-1660302102152.png

 

not a Digital Bidirectional pin.

If you change your xp_data to a Bidirectional pin,

Len_CONSULTRON_3-1660302186981.png

The error goes away.

 

Len
"Engineering is an Art. The Art of Compromise."
0 Likes
lma
Level 3
Level 3
50 sign-ins 10 replies posted 5 questions asked

thank you

and the first question: 1) what is mpr.M0022 ? (are error codes expounded upon somewhere?) 

ultimately:   are error codes expounded upon somewhere?

0 Likes