Thanks for your response.
Yes, I paid attention pinmux settings. When I selected the sci_rx and sci_tx, there was no conflict in N2het1[6] and n2het[13] pins.
The card that I used is not hdk, it is TMS570LS31USB and I must use the n2het pin as sci…
Hi Aravind,
First start with "N2HET Chapter" in TRM
Basically, we can create HET project in two ways, one is directly from HALCoGen and other way is using HET IDE.
To understand directly from HALCoGen, you can just refer below example in HALCoGen…
Hello Jerome,
For the 2nd NHET, please use the command line to assemble the code. Depends where your assebler is installed it will be something like below.
c:/ti/Hercules/Texas Instruments/Hercules/HET/bin/hetp.exe" -n1 -hc32 -v2 <filename>.het. …
Hi Nick,
The NHET instruction list and the instruction description are in TRM. In the description, the parameters in [] are optional.
remote: determines the 8-bit address of the remote address for the instruction
hr_data: defines the HR delay for…
Hello Remony,
The primary difference between the ePWM module and the N2HET module is that the ePWM is dedicated to providing PWMs and is a traditional approach to this type of feature. The N2HET module is a programmable timer module that can be used…
Part Number: TMS570LC4357 Other Parts Discussed in Thread: HALCOGEN Hello,
I'm having problems using the N2HET module. I want to throw an INT with a RISING edge on the pin NHET[31]. When I use the HALCOGEN autogenerate micro-code it works but when I…
Sean,
I don't want to sidetrack this good discussion - but just noticed you said you don't have the SUB instruction. If you are using TMS570LS1227 then you have N2HET which does have SUB. If you are getting errors trying to assemble with SUB the please…
Hello Fabrice,
The number of clock cycles to execute your program must be less than one loop resolution period (LRP). I don't know your NHETPFR register setting. If you configure the NHETPFR with 0x700 then it means there are 128 VCLK2 in one LRP. This…
Rahul Joshi said:
Hello Anthony....First i would thanks for your continued support.
Let me again put all things in simple & categorized way. I have attached my code which does following things:
1. Generated PWM of 1KHz with 50% duty-cycle (HR_Resolution…