Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 months, 2 weeks ago.
SPI ports P0_4, P0_5, P0_6, P0_7 wrong?
According to the MAX32625PICO MBED page, the SPIM0 is located at P0_4 for CLK, P0_5 for MOSI, P0_6 for MISO and P0_7 for SSEL. But in the MAX32625PICO datasheet on page 4/5 is given in table 3: P0_6 = SSEL, P0_5 = MISO, P0_4 = MOSI and P0_7 = SCLK. What is now correct? The same pin assignment as in the datasheet is also on the MAX2771EVKIT, for which I want to program the MAX32625PICO (which is placed on the evaluation kit). I found, that if I take the assignment according to datasheet from Maxim, the board will blink red because the assignment is considered to be invalid. In the file PeripheralPins.c (in TARGET_Maxim/TARGET_MAX32625), this assignemnt is listed in lines 109 following and after changing it there, I was able to operate without the red led blinking (which shows a runtime error according to Mbed doc). Now I would like to know which is the correct assignment and if there are other places in Mbed/target source code where I have to change the pin assignment, because I cannot see any output for the SCLK or SDATA in both pin assignment cases with an osi. Thank you!
Question relating to:
10 months, 1 week ago.
If my understanding is not correct, please let me know. You are building MAX32625 image and run it on MAX2771EVKIT. I checked their datasheet, they are using different chip so I don't think the image will work properly.