Other Parts Discussed in Thread: HALCOGEN
I recently got a RM57Lx LaunchPad, and have gotten the GIOA and GIOB outputs to work, but right now I'm struggling to the the N2HET to work as a GIO. As of right now, I can't use the HalCoGen software to help me with creating the code, so I'm going the register manipulation and all of that myself (using the Project 1 project from the Wiki). So far I've tried setting the HET Pin ENA in the GCR register, then set the direction to output, then set the output (I've also tried setting the appropriate bit in the PINDIS register but that didn't change anything). Then in the main loop I'm toggling the output of the pin. The result is a square wave about 40mV peak to peak on the pin. I've tried making sure that the output mux is correctly set, as well as making sure that there is power going to that domain (domain 3), and making sure that the peripherals are enabled in the PCR section. Any help to solve this would be greatly appreciated.