Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN
Dear All,
I am working on TMS32057lc43x launchpad.
I am able to
generate gio code in halcogen
include code in ccs(ccsV8.0)
But I am not able to toggle the GIO7 Port B,
this is my code:
{
/* USER CODE BEGIN (3) */
gioInit();
gioSetDirection(gioPORTB,0x000000FF);
gioPORTB->DOUT |= 0x00000007; /* Bit 6 */
gioToggleBit(gioPORTB,0x000000FF);
Step2:
commented GPIO direction in gioInit(),image is below
and changed program to below
int main(void)
{
/* USER CODE BEGIN (3) */
gioInit();
gioSetDirection(gioPORTB,0x000000FF);
in this situation not able to set and direction of gpio, image is below
also attaching halcogen image.
please give me direction to how to toggle the GIOB_7. thanks advance