Hi, I've been trying for some time to get the PmodMTDS to work with the EMSK board, and i have not been successful so far. I believe that the part I'm not getting right is the initialization of the board. I have only modified the MtdsHal.h and MtdsHal.cpp .
The board is attached to the J5 PMOD on the EMSK board. The defines are as follows:
During the initialization phase, the display is reset just fine, but in the sync stage, when MtdsHalPutSpiByte(chnCmdSync) is called, it returns chnStaIdle for the first time, then all subsequent calls are chnStaStartup, until it resets again.
So that's why I'm suspecting that I am not initializing the board properly. But I have no idea how to. Any help is appreciated.
Question
sgiurgiu
Hi, I've been trying for some time to get the PmodMTDS to work with the EMSK board, and i have not been successful so far. I believe that the part I'm not getting right is the initialization of the board. I have only modified the MtdsHal.h and MtdsHal.cpp .
The board is attached to the J5 PMOD on the EMSK board. The defines are as follows:
In MtdsHal.cpp I have (important bits):
During the initialization phase, the display is reset just fine, but in the sync stage, when MtdsHalPutSpiByte(chnCmdSync) is called, it returns chnStaIdle for the first time, then all subsequent calls are chnStaStartup, until it resets again.
So that's why I'm suspecting that I am not initializing the board properly. But I have no idea how to. Any help is appreciated.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.